Function at 0x4043a0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x54f229
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov esi, dword [esp + 0xcc]
xor ebp, ebp
xor edi, edi
cmp esi, ebp
jne 0x4043f5
push ebp
push ebp
call fcn.004aee30
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x4043f3
or eax, 0xffffffff
jmp 0x4045c3
mov esi, edi
push esi
push ebp
lea ecx, [esp + 0x54]
call fcn.00404290
mov dword [esp + 0xc4], ebp
mov eax, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
cmp esi, ebp
jne 0x404437
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [esp + 0x14]
push ecx
push 1
push 0xa
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x404444
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x404444
push ebp
push eax
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
push 0x44
lea eax, [esp + 0x7c]
push ebp
push eax
mov byte [esp + 0xd0], 1
call fcn.00519500
xor eax, eax
add esp, 0xc
push 0x104
lea ecx, [esp + 0x20]
mov dword [esp + 0x7c], 0x44
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.0049f020
mov dword [esp + 0x1c], vtable.cWCStr.0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push ecx
push edx
push ebp
mov byte [esp + 0xd0], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x44]
call fcn.0049eff0
mov dword [esp + 0x3c], vtable.cWCSF.0
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push str.__s__ClearIEHistory
push ecx
mov byte [esp + 0xd0], 3
call fcn.00403e80
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x7c]
push eax
push ebp
push ecx
push 0x1400
push ebp
push ebp
push ebp
push edx
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, eax
test edi, edi
je 0x40450c
push edi
call esi
test ebp, ebp
jne 0x40451a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x40456f
mov eax, dword [esp + 0x2c]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40453b
mov dword [esp + 0x18], 0xfffffffd
jmp 0x40455d
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x40455d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], 0xfffffffe
mov eax, dword [esp + 0x2c]
push eax
call esi
mov ecx, dword [esp + 0x30]
push ecx
call esi
mov ebp, dword [esp + 0x18]
mov edi, vtable.cWCS.0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc4], 2
mov dword [esp + 0x3c], edi
call fcn.0049ee80
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc4], 1
mov dword [esp + 0x1c], edi
call fcn.0049ee80
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4045a9
push eax
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4045b8
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
lea ecx, [esp + 0x4c]
call fcn.00403ff0
mov eax, ebp
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xb8
ret