Function at 0x403a10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
jmp 0x403a32
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
cmp dword [edx + ecx*4], 0
je 0x403a7d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00407ff2
add esp, 4
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 1]
mov dword [ebp - 4], edx
push 0x20
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00408363
add esp, 8
test eax, eax
je 0x403a7b
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
jmp 0x403a29
mov ecx, dword [ebp - 4]
lea edx, [ecx + ecx + 2]
push edx
call fcn.0040790f
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0
jmp 0x403aa8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
cmp dword [eax + edx*4], 0
je 0x403b44
push 0x20
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
push eax
call fcn.00408363
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x403ae6
mov ecx, dword [ebp - 0x30]
mov word [ecx], 0x22
mov edx, dword [ebp - 0x30]
add edx, 2
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.00407f40
add esp, 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
push eax
call fcn.00407ff2
add esp, 4
mov ecx, dword [ebp - 0x30]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 8], 0
je 0x403b2e
mov eax, dword [ebp - 0x30]
mov word [eax], 0x22
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov word [edx], 0x20
mov eax, dword [ebp - 0x30]
add eax, 2
mov dword [ebp - 0x30], eax
jmp 0x403a9f
mov ecx, dword [ebp - 0x30]
mov word [ecx], 0
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
mov edx, dword [ebp - 0x2c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403b93
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x40]
mov dword [0x4241c8], ecx
mov edx, dword [ebp - 0x38]
mov dword [0x4241cc], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00407832
add esp, 4
cmp dword [0x4241c8], 0xffffffff
jne 0x403bca
call fcn.0040a5a6
mov ecx, dword [eax]
mov dword [0x4241d4], ecx
mov dword [0x4241c8], 0
jmp 0x403c2b
push 0x403d30
mov edx, dword [0x42296c]
push edx
mov eax, dword [0x422970]
push eax
mov ecx, dword [0x4241c4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x4241c8], 0
je 0x403c18
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x403be9
mov edx, dword [0x422970]
push edx
mov eax, dword [0x4241c4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x4241d4]
mov esp, ebp
pop ebp
ret