Function at 0x1002ad58
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x1002afb7
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x40], 0x4e9a
mov dword [ebp - 0x58], 0x10008928
cmp dword [ebp - 0x40], 0x4efa
jle 0x1002ae50
and dword [ebp - 0x34], 0
jmp 0x1002ada4
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x67e7
jge 0x1002ae50
and dword [ebp - 0x18], 0
jmp 0x1002adbe
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7a9
jge 0x1002ae4b
and dword [ebp - 0x28], 0
jmp 0x1002add8
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4913
jge 0x1002ae46
mov eax, dword [ebp - 0x34]
cdq
idiv dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0xd8], eax
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x124]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x124]
call fcn.100252df
jmp 0x1002add1
jmp 0x1002adb7
jmp 0x1002ad9d
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0x40], 0x4bd9
jge 0x1002ae6b
push dword [ebp - 0x58]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x1002ae85
push 0
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x1002afb2
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x3c], 0x5a5b
mov dword [ebp - 0xc0], 0x1000893c
cmp dword [ebp - 0x3c], 0x5bff
jle 0x1002af84
and dword [ebp - 0x20], 0
jmp 0x1002aec2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x641
jge 0x1002af84
and dword [ebp - 0x2c], 0
jmp 0x1002aedc
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x13ff
jge 0x1002af7f
and dword [ebp - 0xc], 0
jmp 0x1002aef6
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x229f
jge 0x1002af7a
and dword [ebp - 0x10], 0
jmp 0x1002af0c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2e5
jge 0x1002af75
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
sar eax, cl
or eax, dword [ebp - 0x10]
cdq
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0xac], ax
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
lea ecx, [ebp - 0xf4]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xf4]
call fcn.100252df
jmp 0x1002af05
jmp 0x1002aeef
jmp 0x1002aed5
jmp 0x1002aebb
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx]
mov dword [eax], ecx
cmp dword [ebp - 0x3c], 0x591c
jge 0x1002afb2
push dword [ebp - 0xc0]
call fcn.1008287d
pop ecx
jmp 0x1002b20e
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x44], 0x3485
mov dword [ebp - 0x94], 0x10008960
cmp dword [ebp - 0x44], 0x3605
jle 0x1002b068
and dword [ebp - 0x14], 0
jmp 0x1002aff1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3a9e
jge 0x1002b068
and dword [ebp - 0x1c], 0
jmp 0x1002b007
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1c6c
jge 0x1002b066
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x50], ax
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x10c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x10c]
call fcn.100252df
jmp 0x1002b000
jmp 0x1002afea
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x44], 0x31ba
jge 0x1002b086
push dword [ebp - 0x94]
call fcn.1008287d
pop ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x1002b1b7
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x38], 0x1009
mov dword [ebp - 0x64], 0x10008990
cmp dword [ebp - 0x38], 0x12a3
jle 0x1002b170
and dword [ebp - 0x24], 0
jmp 0x1002b0f2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7c40
jge 0x1002b170
and dword [ebp - 0x30], 0
jmp 0x1002b108
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2b86
jge 0x1002b16b
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x30]
mov eax, edx
cdq
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xdc], eax
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x13c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x13c]
call fcn.100252df
jmp 0x1002b101
jmp 0x1002b0eb
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1002b186
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 4
jge 0x1002b1a3
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.10025597
mov dword [eax], 0xfffffff7
jmp 0x1002b17b
cmp dword [ebp - 0x38], 0xf0e
jge 0x1002b1b5
push dword [ebp - 0x64]
call fcn.1008287d
pop ecx
jmp 0x1002b20e
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002b1ee
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x1002b20e
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x8c]
call fcn.10025597
mov dword [eax], 0x83066c93
jmp 0x1002b1e3
mov esp, ebp
pop ebp
ret