Function at 0x4057e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x659780]
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], 0x59d68c
push 0
mov eax, dword [0x59cfec]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x68]
push edx
call fcn.005139f0
add esp, 4
mov esi, eax
push 0x564b00
call fcn.005139f0
add esp, 4
add esi, eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], 0
jmp 0x405848
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp + 0x10]
jae 0x4058ba
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.0040add0
add esp, 4
test eax, eax
je 0x405890
mov edx, dword [ebp - 0x70]
push edx
call fcn.005139f0
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.005139f0
add esp, 4
add eax, dword [ebp - 0x5c]
add eax, esi
mov dword [ebp - 0x5c], eax
jmp 0x4058b8
mov eax, dword [ebp - 0x74]
push eax
call fcn.005139f0
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.005139f0
add esp, 4
add eax, dword [ebp - 0x5c]
add eax, esi
mov dword [ebp - 0x5c], eax
jmp 0x40583f
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0051f5d0
add esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4059d1
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x60], edx
push 0x564b00
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.0040aec0
add esp, 0xc
mov dword [ebp - 0x58], 0
jmp 0x405900
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp + 0x10]
jae 0x4059b9
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.005139f0
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.0040add0
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x40599a
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.00513a80
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0x50
jae 0x405961
jmp 0x405966
call fcn.0050d360
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.00427dc0
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.0040aec0
add esp, 0x10
jmp 0x4059b4
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.0040aec0
add esp, 0xc
jmp 0x4058f7
mov edx, dword [ebp - 0x64]
push edx
call fcn.004071b0
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
call fcn.0051f5a0
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050d210
mov esp, ebp
pop ebp
ret