Function at 0x405720
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x6552e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x68], str._s_n_nOptions:_n
mov dword [ebp - 0x70], str._____s_t_s_n
mov dword [ebp - 0x74], 0x599564
push 0
mov eax, dword [0x598f7c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x68]
push edx
call fcn.00513540
add esp, 4
mov esi, eax
push 0x560b5c
call fcn.00513540
add esp, 4
add esi, eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], 0
jmp 0x405788
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp + 0x10]
jae 0x4057fa
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.0040ac50
add esp, 4
test eax, eax
je 0x4057d0
mov edx, dword [ebp - 0x70]
push edx
call fcn.00513540
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00513540
add esp, 4
add eax, dword [ebp - 0x5c]
add eax, esi
mov dword [ebp - 0x5c], eax
jmp 0x4057f8
mov eax, dword [ebp - 0x74]
push eax
call fcn.00513540
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.00513540
add esp, 4
add eax, dword [ebp - 0x5c]
add eax, esi
mov dword [ebp - 0x5c], eax
jmp 0x40577f
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0051f100
add esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x405911
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x60], edx
push 0x560b5c
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.0040ad40
add esp, 0xc
mov dword [ebp - 0x58], 0
jmp 0x405840
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp + 0x10]
jae 0x4058f9
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00513540
add esp, 4
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.0040ac50
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4058da
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.005135d0
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0x50
jae 0x4058a1
jmp 0x4058a6
call fcn.0050cf90
mov edx, dword [ebp - 0x6c]
mov byte [ebp + edx - 0x54], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
add edx, dword [ebp - 0x5c]
push edx
call fcn.00427bc0
add esp, 4
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x60]
push edx
call fcn.0040ad40
add esp, 0x10
jmp 0x4058f4
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.0040ad40
add esp, 0xc
jmp 0x405837
mov edx, dword [ebp - 0x64]
push edx
call fcn.00407060
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
call fcn.0051f0d0
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ce40
mov esp, ebp
pop ebp
ret