Function at 0x410000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a51f8
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4d28a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4e8260], eax
push 2
mov eax, dword [0x4e8260]
push eax
call fcn.00469850
add esp, 8
mov dword [0x4e84d0], 0
mov ecx, dword [ebp + 8]
mov dword [0x4e84e0], ecx
mov edx, dword [ebp + 0xc]
mov dword [0x4e84e4], edx
mov eax, dword [ebp + 0x10]
mov dword [0x4e84e8], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4e84d8], eax
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x14]
jle 0x410188
push 6
push 0x4d40b4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
call fcn.0047a6ab
add esp, 0xc
test eax, eax
jne 0x410188
mov byte [0x4e8268], 1
mov dword [0x4d163c], 0x3c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
call fcn.0047a530
add esp, 4
cmp eax, 6
jbe 0x41017f
push 0x4d40b0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
add ecx, 6
push ecx
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x4100f8
mov dword [0x4d163c], 0xffffffff
jmp 0x41017f
push 0x4d40a8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
add eax, 6
push eax
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x41011f
mov dword [0x4d163c], 0xfffffffe
jmp 0x41017f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
add edx, 6
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
movsx ecx, byte [eax]
test ecx, ecx
je 0x410155
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx]
push eax
call fcn.00479fb9
add esp, 4
test eax, eax
jne 0x41014a
jmp 0x410155
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x41012b
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx]
test eax, eax
jne 0x410178
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
add edx, 6
push edx
call fcn.00410980
add esp, 4
mov dword [0x4d163c], eax
jmp 0x41017f
mov byte [0x4e8268], 0
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 8]
jge 0x41048d
push 0x4d409c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x41022b
mov dword [0x4e8264], 1
sub esp, 0x60
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edx*4]
push edx
call fcn.00450800
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.0042bcb0
add esp, 0x64
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x84]
push eax
mov ecx, 0x4e8718
call fcn.00410560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00414d70
jmp 0x41048d
push 0x4d408c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x4102d5
mov dword [0x4e8264], 8
sub esp, 0x60
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edx*4]
push edx
call fcn.00450800
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x58]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.0042bcb0
add esp, 0x64
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x94]
push eax
mov ecx, 0x4e8718
call fcn.00410560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00414d70
jmp 0x41048d
push 0x4d4080
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x4102ff
mov dword [0x4e8264], 2
jmp 0x41048d
push 0x4d4074
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x410329
mov dword [0x4e8264], 3
jmp 0x41048d
push 0x4d406c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x410353
mov dword [0x4e8264], 4
jmp 0x41048d
push 0x4d4060
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x41037d
mov dword [0x4e8264], 5
jmp 0x41048d
push 0x4d4050
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x4103a7
mov dword [0x4e8264], 9
jmp 0x41048d
push 0x4d4040
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x4103d1
mov dword [0x4e8264], 6
jmp 0x41048d
push 0x4d4034
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x4103fb
mov dword [0x4e8264], 7
jmp 0x41048d
push 0x4d4028
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0047a4d7
add esp, 8
test eax, eax
jne 0x410422
mov dword [0x4e8264], 0xa
jmp 0x41048d
push 9
push 0x4d401c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0047a6ab
add esp, 0xc
test eax, eax
jne 0x41048d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
add eax, 9
push eax
lea ecx, [ebp - 0x74]
call fcn.00414cf0
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x9c]
push edx
mov ecx, 0x4e8718
call fcn.00410560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00414d70
call fcn.0042d9e0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4104d3
call fcn.0042bf40
push eax
push 0x4d4018
call fcn.00479c14
add esp, 8
call fcn.0042bf60
push eax
call fcn.0047a530
add esp, 4
test eax, eax
je 0x4104d3
call fcn.0042bf60
push eax
push 0x4d4018
call fcn.00479c14
add esp, 8
mov eax, dword [0x4e8470]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret