Function at 0x416a04
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push edi
xor edi, edi
cmp dword [0x4829a0], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edi
jle 0x416e54
push ebx
push esi
mov ebx, 0x482408
push dword [ebp - 0x14]
mov ecx, 0x482994
call fcn.00421fff
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [esi + 0x28], eax
jne 0x416e40
push dword [esi + 0x40]
call fcn.00414cd2
test al, al
pop ecx
je 0x416e40
cmp dword [esi + 0x2c], edi
je 0x416e40
lea eax, [esi + 4]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041f009
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041f009
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041f009
cmp dword [esi], 9
je 0x416a92
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.00418e4f
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00418e4f
mov eax, dword [esi]
cmp eax, 7
je 0x416ab4
cmp eax, 8
je 0x416ab4
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00418e4f
cmp dword [esi], 9
je 0x416ac4
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0041d6f6
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0041d6f6
mov eax, dword [esi]
cmp eax, 7
je 0x416ae6
cmp eax, 8
je 0x416ae6
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.0041d6f6
cmp dword [esi], 9
je 0x416afb
lea eax, [ebp - 0x10]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041e39b
lea eax, [ebp - 0x20]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041e39b
mov eax, dword [esi]
cmp eax, 7
je 0x416b27
cmp eax, 8
je 0x416b27
lea eax, [ebp - 0x2c]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041e39b
mov eax, dword [esi]
cmp eax, 4
je 0x416d45
cmp eax, 7
je 0x416d45
cmp eax, 5
jne 0x416b71
test byte [esi + 0x30], 1
je 0x416b63
cmp dword [ebp + 8], 0xd
je 0x416b63
mov ecx, dword [ebp - 4]
push 0xd
mov dword [esi + 0x2c], edi
call fcn.00416a04
mov ecx, dword [ebp - 4]
push 0xd
call fcn.00412fd9
push 1
mov ecx, ebx
call fcn.0041cffe
jmp 0x416e1c
cmp eax, 6
jne 0x416c2c
cmp dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
jne 0x416baa
push 1
push edi
push 0x42fb94
lea ecx, [ebp - 0x10]
call fcn.0041f9a1
cmp eax, 0xffffffff
je 0x416bb5
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.0041fe73
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f146
lea ecx, [ebp - 0x2c]
call fcn.0041ff07
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x3c]
call fcn.0041ef35
lea ecx, [ebp - 0x20]
call fcn.0041ff07
push eax
lea ecx, [ebp - 0x10]
call fcn.0041ff07
push eax
lea eax, [ebp - 0x3c]
push str.__s___s
push eax
call fcn.0041f62d
add esp, 0x10
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
dec eax
push eax
call fcn.0041f1a9
cmp al, 0x20
jne 0x416c02
mov eax, dword [ebp - 0x3c]
push 1
dec eax
lea ecx, [ebp - 0x3c]
push eax
call fcn.0041f56f
jmp 0x416be0
lea ecx, [esi + 0x34]
call fcn.0041ff07
push eax
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x30]
call fcn.0041ff07
mov ecx, dword [ebp - 4]
push eax
call fcn.00413209
lea ecx, [ebp - 0x3c]
call fcn.0041f06b
jmp 0x416e1c
cmp eax, 8
jne 0x416cc1
lea ecx, [ebp - 0x8c]
call fcn.00416e5c
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x7c]
push eax
call fcn.0041f146
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x88]
push eax
call fcn.0041f146
lea ecx, [ebp - 0x2c]
call fcn.0041ff07
push eax
call fcn.00420778
push eax
lea ecx, [ebp - 0x70]
call fcn.0041f0d8
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
push 0x405866
push dword [eax + 8]
push 0x9a
push dword [0x4825fc]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x416cb1
lea ecx, [ebp - 0x70]
call fcn.0041ff07
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041ff07
push eax
call fcn.00420400
lea ecx, [ebp - 0x8c]
call fcn.00416e83
jmp 0x416e1c
cmp eax, 9
jne 0x416ce2
lea ecx, [ebp - 0x20]
call fcn.0041ff07
push eax
lea ecx, [ebp - 0x10]
call fcn.0041ff07
push eax
call fcn.00420400
jmp 0x416e1c
cmp eax, edi
je 0x416cec
mov eax, dword [ebp - 4]
mov dword [eax + 8], edi
push str.open
lea ecx, [ebp - 0x48]
call fcn.0041efa5
cmp dword [esi], 3
jne 0x416d0b
push str.explore
lea ecx, [ebp - 0x48]
call fcn.0041f0d8
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041ff07
push eax
lea ecx, [ebp - 0x20]
call fcn.0041ff07
push eax
lea ecx, [ebp - 0x10]
call fcn.0041ff07
push eax
lea ecx, [ebp - 0x48]
call fcn.0041ff07
push eax
mov eax, dword [ebp - 4]
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x48]
jmp 0x416c22
push 1
push edi
push edi
push 0x430320
push str.__t_
lea ecx, [ebp - 0x10]
call fcn.0041fdd7
push 1
push edi
push edi
push 0x42fc44
push str.__r_
lea ecx, [ebp - 0x10]
call fcn.0041fdd7
push 1
push edi
push edi
push 0x42fc38
push 0x42fa74
lea ecx, [ebp - 0x10]
call fcn.0041fdd7
push 1
push edi
push edi
push 0x430320
push str.__t_
lea ecx, [ebp - 0x20]
call fcn.0041fdd7
push 1
push edi
push edi
push 0x42fc44
push str.__r_
lea ecx, [ebp - 0x20]
call fcn.0041fdd7
push 1
push edi
push edi
push 0x42fc38
push 0x42fa74
lea ecx, [ebp - 0x20]
call fcn.0041fdd7
cmp dword [esi], 4
lea ecx, [ebp - 0x20]
jne 0x416deb
call fcn.0041ff07
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.0041ff07
push eax
push edi
mov ecx, ebx
call fcn.0041e217
jmp 0x416e1c
call fcn.0041ff07
push 4
push eax
lea ecx, [ebp - 0x10]
call fcn.0041ff07
push eax
push edi
mov ecx, ebx
call fcn.0041e217
xor ecx, ecx
cmp eax, 6
setne cl
inc ecx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041ff07
push eax
call fcn.00420a71
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je 0x416e28
dec eax
mov dword [esi + 0x2c], eax
lea ecx, [ebp - 0x2c]
call fcn.0041f06b
lea ecx, [ebp - 0x20]
call fcn.0041f06b
lea ecx, [ebp - 0x10]
call fcn.0041f06b
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x4829a0]
jl 0x416a29
pop esi
pop ebx
push 1
pop eax
pop edi
leave
ret 4