Function at 0x439a40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d081d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push esi
push edi
mov eax, dword [0x514080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.00402770
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
mov ecx, dword [edi + 4]
sub ecx, 0x10
call fcn.00402770
mov dword [ebp - 0x1c], eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
call fcn.00404710
mov dword [ebp - 0x18], eax
test eax, eax
je 0x439cd6
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x18]
call edi
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
push 0x5c
push esi
call fcn.004a222b
add esp, 8
test eax, eax
je 0x439b26
sub eax, esi
sar eax, 1
test eax, eax
jle 0x439b26
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040af90
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
push eax
call fcn.00409970
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x439b23
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x10]
call fcn.004808b0
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xc], 0
je 0x439c1a
cmp dword [ebp - 0x2c], 0
jne 0x439c1a
call fcn.00404710
mov dword [ebp - 0x20], eax
test eax, eax
je 0x439ce0
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x20]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
add eax, 0x10
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push str.__s___s
push eax
call fcn.00408b70
push 0x44
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.004a2c10
add esp, 0x1c
mov esi, dword [ebp - 0x18]
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
cmp dword [edi - 0xc], ecx
mov eax, edi
cmove eax, ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push eax
push 0
push 0
push 0
push 0
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov byte [ebp - 4], 8
lea ecx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x439c1d
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x20]
call esi
or esi, 0xffffffff
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x439c38
push eax
call fcn.004aaaa1
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
lea ecx, [edi - 0x10]
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x439c70
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
or esi, 0xffffffff
mov byte [ebp - 4], 1
mov eax, esi
mov ecx, dword [ebp - 0x1c]
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x439c9a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x439cc5
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402740
push 0x80004005
call fcn.00402740
int3