Function at 0x1002d756
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1002d867
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], 0x55e4
mov dword [ebp - 0xa4], 0x10008e58
cmp dword [ebp - 0x1c], 0x5849
jle 0x1002d824
and dword [ebp - 0xc], 0
jmp 0x1002d7a2
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x5731
jge 0x1002d824
and dword [ebp - 0x10], 0
jmp 0x1002d7b8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2350
jge 0x1002d81f
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x10]
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0xa8], eax
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
lea ecx, [ebp - 0xc0]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xc0]
call fcn.100252df
jmp 0x1002d7b1
jmp 0x1002d79b
push 0x288
push 1
push 0x2b23
push dword [ebp - 0x74]
push dword [ebp - 0x44]
push 0x24dd
push 0x783e
push 0x5d8d
call fcn.1002da3e
add esp, 0x20
cmp dword [ebp - 0x1c], 0x5444
jge 0x1002d862
push dword [ebp - 0xa4]
call fcn.1008287d
pop ecx
jmp 0x1002da3a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1002d903
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002d8de
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], 4
jge 0x1002d8fe
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x84]
call fcn.10025597
mov dword [eax], 8
jmp 0x1002d8d3
jmp 0x1002da3a
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1002d9cb
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x1002d974
mov dword [ebp - 0x30], 1
jmp 0x1002d978
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jg 0x1002d991
mov eax, 0x4f5ac3d6
test eax, eax
jne 0x1002d991
and dword [ebp - 0x28], 0
jmp 0x1002d998
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jle 0x1002d9b3
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1002d9b3
mov dword [ebp - 0x20], 1
jmp 0x1002d9b7
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xc8f0d071
je 0x1002d9cb
or eax, 0xffffffff
jne 0x1002d9cb
and dword [ebp - 0x24], 0
jmp 0x1002d9d2
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jg 0x1002d9eb
mov eax, 0x7dd
test eax, eax
jne 0x1002d9eb
and dword [ebp - 0x2c], 0
jmp 0x1002d9f2
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push 2
mov ecx, dword [ebp - 0x80]
call fcn.10025597
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], eax
jl 0x1002da2b
mov dword [ebp - 0x34], 1
jmp 0x1002da2f
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret