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

Disassembly:
push 0xffffffffffffffff
push 0x40a98c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x40e0b0]
push ebx
mov ebx, dword [esp + 0x134]
push ebp
push esi
push edi
mov dword [esp + 0x12c], eax
mov eax, dword [ebx]
push ebx
push eax
xor ebp, ebp
xor esi, esi
call fcn.004053d0
add esp, 8
push 0x40b289
push 0x40b29c
mov ecx, ebx
call fcn.004017e0
mov eax, dword [0x40e624]
mov ecx, 0x40e624
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x138], ebp
mov dword [esp + 0x14], ebp
test esi, esi
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
jl 0x402550
cmp esi, ecx
jg 0x402550
add eax, esi
push 0x40b298
push eax
call fcn.00406034
add esp, 8
test eax, eax
je 0x402550
sub eax, dword [ebx]
cmp eax, 0xffffffff
je 0x402550
lea esi, [eax + 1]
inc ebp
jmp 0x402522
xor eax, eax
cmp ebp, eax
mov dword [esp + 0x14], ebp
je 0x40271b
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
jle 0x40271b
lea esp, [esp]
lea eax, [esp + 0x28]
push eax
push 0x40b298
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.004019e0
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
mov byte [esp + 0x138], 1
je 0x4025e8
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x4025d6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4025d6
push eax
call fcn.00401400
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4025c9
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea edi, [ebp + 0x10]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
jmp 0x4025e8
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00401670
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x138], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40260e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x40b289
push edi
call fcn.00406207
add esp, 8
test eax, eax
jne 0x402629
inc dword [esp + 0x18]
jmp 0x402711
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401ec0
push 0xa
push str.System32_
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 2
call fcn.00401d90
push 0x2f
push edi
call fcn.004060c3
add esp, 8
test eax, eax
jne 0x402673
or eax, 0xffffffff
jmp 0x402675
sub eax, edi
inc eax
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
call fcn.00401ab0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 3
call fcn.00401d90
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x138], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4026c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
push eax
push edi
call fcn.00404fe0
add esp, 8
test eax, eax
je 0x4026e2
mov ecx, dword [esp + 0x10]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc esi
add eax, 0xfffffff0
mov dword [esp + 0x18], esi
mov byte [esp + 0x138], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402711
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x18], ebp
jl 0x402570
lea eax, [edi - 0x10]
mov dword [esp + 0x138], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402740
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x120]
mov eax, 1
pop ebx
call fcn.00405b4e
add esp, 0x12c
ret