Function at 0x1003a5d0
Capabilities:
Create process on windows
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090f98
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0xe78
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0xe88], 0x44
push 0x40
push 0
lea eax, [ebp - 0xe84]
push eax
call fcn.10055aa0
add esp, 0xc
mov dword [ebp - 0xe44], 0
xor eax, eax
mov dword [ebp - 0xe40], eax
mov dword [ebp - 0xe3c], eax
mov dword [ebp - 0xe38], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], 1
cmp word [0x100e2840], ax
jne 0x1003a66f
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
jmp 0x1003a8c5
push 0x100e2840
push str.mbae_setup__s.exe
lea eax, [ebp - 0x42c]
push eax
call fcn.10004ed0
lea eax, [ebp - 0x42c]
push eax
push str._v2_mbae_consumer_data
push str.data_cdn.mbamupdates.com
push str._s_s__s
lea eax, [ebp - 0xe34]
push eax
call fcn.1003b030
add esp, 0x20
lea eax, [ebp - 0x634]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x634]
push eax
push 0x10086350
lea eax, [ebp - 0x224]
push eax
call fcn.10004ed0
push 0
lea edx, [ebp - 0x224]
lea ecx, [ebp - 0xe34]
call fcn.1003a8f0
add esp, 0x14
mov esi, eax
test esi, esi
je 0x1003a711
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, esi
jmp 0x1003a8c7
lea ecx, [ebp - 0x224]
call fcn.10039ad0
test eax, eax
jne 0x1003a7d7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x1003a760
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1003a7bc
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x1003a79b
mov byte [esi + 0xffff], 0
push esi
push str.UpgradeInstall
push 1
mov edx, 0x165
mov ecx, str...StandAloneSvcUpgrade.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1003a7b3
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [ebx + 0x1e]
jmp 0x1003a8c7
lea eax, [ebp - 0xe44]
push eax
lea eax, [ebp - 0xe88]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push str._SP___VERYSILENT__SUPRESSMSGBOXES
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1003a86f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x1003a746
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x1003a79b
mov byte [esi + 0xffff], 0
push esi
push str.UpgradeInstall
push 1
mov edx, 0x168
mov ecx, str...StandAloneSvcUpgrade.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1003a7b3
mov dword [ebp - 4], 0
call fcn.1003a87d
jmp 0x1003a8be
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret