Function at 0x406be0
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 0x406c02
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 0x406c4d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00409db0
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.0040ae80
add esp, 8
test eax, eax
je 0x406c4b
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
jmp 0x406bf9
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
call fcn.0040790f
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0xc], 0
jmp 0x406c77
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 0x406d0a
push 0x20
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
push edx
call fcn.0040ae80
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x406cb3
mov eax, dword [ebp - 0x30]
mov byte [eax], 0x22
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00409cb0
add esp, 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00409db0
add esp, 4
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 8], 0
je 0x406cf6
mov eax, dword [ebp - 0x30]
mov byte [eax], 0x22
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov byte [edx], 0x20
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x406c6e
mov ecx, dword [ebp - 0x30]
mov byte [ecx], 0
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
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_CreateProcessA]
test eax, eax
je 0x406d57
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x40]
mov dword [0x424278], ecx
mov edx, dword [ebp - 0x38]
mov dword [0x42427c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00407832
add esp, 4
cmp dword [0x424278], 0xffffffff
jne 0x406d8e
call fcn.0040a5a6
mov ecx, dword [eax]
mov dword [0x424284], ecx
mov dword [0x424278], 0
jmp 0x406def
push 0x406ef0
mov edx, dword [str.dcXYd]
push edx
mov eax, dword [0x42305c]
push eax
mov ecx, dword [0x424274]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x424278], 0
je 0x406ddc
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
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_DispatchMessageA]
jmp 0x406dad
mov edx, dword [0x42305c]
push edx
mov eax, dword [0x424274]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x424284]
mov esp, ebp
pop ebp
ret