Function at 0x405770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1fc
push ebx
push esi
push edi
jmp 0x405784
mov al, byte [0x421e7c]
xor bl, bl
cmp al, 1
jne 0x4057be
push 0x416244
push 0x423ee8
call fcn.0040a0b1
add esp, 8
test eax, eax
jne 0x4057ac
push 0x416ca8
jmp 0x4057c3
push eax
mov bl, 1
call fcn.00409fe4
add esp, 4
push 0x416ca8
jmp 0x4057c3
push 0x416ca4
push 0x423ee8
call fcn.0040a0b1
mov edi, eax
add esp, 8
test edi, edi
jne 0x405809
push 0x423ee8
lea eax, [esp + 0x14]
push 0x416c74
push eax
call fcn.00409efc
mov edx, dword [ebp + 8]
add esp, 0xc
lea ecx, [esp + 0x10]
push edi
push 0x416c54
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, bl
jne 0x4058a9
push 0x416c1c
push edi
call fcn.0040a846
add esp, 8
mov ebx, 0x41c004
xor esi, esi
mov cl, byte [esi + 0x41ae70]
lea eax, [esi + 0x41ae70]
test cl, cl
je 0x405882
lea ecx, [esi + 0x41d4b0]
lea edx, [esi + 0x41bf08]
push ecx
push edx
push eax
push str._s___s___s_
push edi
call fcn.0040a846
mov eax, dword [ebx]
add esp, 0x14
cmp eax, 0xbf800000
jne 0x40586c
push str.N_A_n
push edi
call fcn.0040a846
add esp, 8
jmp 0x405882
fld dword [ebx]
sub esp, 8
fstp qword [esp]
push str._0.2f_n
push edi
call fcn.0040a846
add esp, 0x10
add ebx, 4
add esi, 0x32
cmp ebx, 0x41c014
jl 0x405826
push 0x416bf8
push edi
call fcn.0040a846
push 0x416bb8
push edi
call fcn.0040a846
add esp, 0x10
mov al, byte [0x4223cc]
mov dword [esp + 0xc], 0
test al, al
mov eax, dword [0x41c098]
je 0x405979
lea ebx, [eax - 1]
cmp dword [ebx*4 + 0x41d578], 0xffffffff
je 0x405a4b
mov esi, ebx
xor ecx, ecx
shl esi, 4
xor edx, edx
xor eax, eax
mov cx, word [esi + 0x41e546]
mov dx, word [esi + 0x41e542]
mov ax, word [esi + 0x41e540]
push ecx
push edx
push eax
push str._04d__02d__02d_
push edi
call fcn.0040a846
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 0x41e54c]
mov dx, word [esi + 0x41e54a]
xor eax, eax
push ecx
mov ax, word [esi + 0x41e548]
push edx
push eax
push str._02d:_02d:_02d_
push edi
call fcn.0040a846
mov ecx, dword [ebx*4 + 0x41d578]
push ecx
push str._d___
push edi
call fcn.0040a846
fld dword [ebx*4 + 0x41c0e0]
add esp, 0x2c
fstp qword [esp]
push str._0.2f_
push edi
call fcn.0040a846
mov edx, dword [ebx*4 + 0x41af48]
push edx
push 0x416b7c
push edi
call fcn.0040a846
add esp, 0x1c
mov dword [esp + 0xc], 1
jmp 0x405a4b
lea ebx, [eax + 1]
cmp ebx, eax
je 0x405a4b
cmp dword [ebx*4 + 0x41d578], 0xffffffff
je 0x405a38
mov esi, ebx
xor eax, eax
shl esi, 4
xor ecx, ecx
xor edx, edx
mov ax, word [esi + 0x41e546]
mov cx, word [esi + 0x41e542]
mov dx, word [esi + 0x41e540]
push eax
push ecx
push edx
push str._04d__02d__02d_
push edi
call fcn.0040a846
xor eax, eax
xor ecx, ecx
mov ax, word [esi + 0x41e54c]
mov cx, word [esi + 0x41e54a]
xor edx, edx
push eax
mov dx, word [esi + 0x41e548]
push ecx
push edx
push str._02d:_02d:_02d_
push edi
call fcn.0040a846
mov eax, dword [ebx*4 + 0x41d578]
push eax
push str._d___
push edi
call fcn.0040a846
fld dword [ebx*4 + 0x41c0e0]
add esp, 0x2c
fstp qword [esp]
push str._0.2f_
push edi
call fcn.0040a846
mov ecx, dword [ebx*4 + 0x41af48]
push ecx
push 0x416b7c
push edi
call fcn.0040a846
mov eax, dword [esp + 0x28]
add esp, 0x1c
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [0x41c098]
inc ebx
cmp ebx, 0x3e8
jl 0x405a43
xor ebx, ebx
cmp ebx, eax
jne 0x405984
push edi
call fcn.00409fe4
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
jne 0x405ab9
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x405a80
mov edx, dword [ebp + 8]
push 0x40
push 0x416b6c
push 0x416b10
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push 1
push 0
push 0
push 0x423ee8
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x405ab9
push 0x30
push 0x416124
push 0x416a68
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp 0x405abe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret