Function at 0x41664c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push esi
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x4166ac
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x6c]
push dword [ebp - 0xcc]
push dword [ebp - 0x54]
push 1
push 0
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x5c]
call fcn.0042d563
add esp, 0x1c
jmp 0x416a33
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x44]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc4], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x4169d3
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x416960
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4168a0
push 1
mov ecx, dword [ebp - 8]
call fcn.0043454e
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
push 1
mov ecx, dword [ebp - 8]
call fcn.0043454e
push 0
mov ecx, dword [ebp - 8]
call fcn.0043454e
push 2
pop eax
test eax, eax
je 0x416803
push 1
mov ecx, dword [ebp - 8]
call fcn.0043454e
cmp dword [eax], 0
je 0x416803
mov dword [ebp - 0x30], 1
jmp 0x416807
and dword [ebp - 0x30], 0
imul eax, dword [ebp - 0x30], 0
test eax, eax
je 0x416820
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x416820
mov dword [ebp - 0x20], 1
jmp 0x416824
and dword [ebp - 0x20], 0
imul esi, dword [ebp - 0x20], 0xa143
push 1
mov ecx, dword [ebp - 8]
call fcn.0043454e
cmp esi, dword [eax]
jle 0x416842
mov dword [ebp - 0x40], 1
jmp 0x416846
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
neg eax
cmp eax, 0x4a41637c
jl 0x41685e
mov dword [ebp - 0x88], 1
jmp 0x416865
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xd0], eax
push 1
mov ecx, dword [ebp - 8]
call fcn.0043454e
cmp dword [eax], 0
jne 0x416889
xor eax, eax
jne 0x416889
and dword [ebp - 0x14], 0
jmp 0x416890
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
jne 0x4168a0
and dword [ebp - 0x38], 0
jmp 0x4168a7
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [eax]
jne 0x4168c0
mov eax, 0xd015b01d
test eax, eax
jne 0x4168c0
and dword [ebp - 0x18], 0
jmp 0x4168c7
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jle 0x4168df
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x4168df
and dword [ebp - 0x1c], 0
jmp 0x4168e6
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jg 0x4168f9
mov dword [ebp - 0x24], 1
jmp 0x4168fd
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
add eax, 0xea88
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jle 0x416916
push 0
mov ecx, dword [ebp - 8]
call fcn.0043454e
push 1
mov ecx, dword [ebp - 8]
call fcn.0043454e
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 9
ja 0x416938
mov dword [ebp - 0x3c], 1
jmp 0x41693c
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jg 0x41694f
mov dword [ebp - 0x44], 1
jmp 0x416953
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
jmp 0x4169d1
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x4169a3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 2
jge 0x4169d1
push 0
push 0xac0
push 1
push 0x2dae
push dword [ebp - 0xb8]
push dword [ebp - 0x10]
push 0x252d
call fcn.0040dc9b
add esp, 0x1c
jmp 0x416998
jmp 0x416a33
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
movzx eax, byte [eax]
test eax, eax
je 0x416a2d
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x416a2b
push 0x3a2f
push 1
push 0x47b6
push 0x45ca
push 1
push 0x5f74
push 0
push 0x6bb2
push 0x19d8
push 0
push 0x1ce9
call fcn.0040f815
add esp, 0x2c
jmp 0x416a33
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
pop esi
mov esp, ebp
pop ebp
ret