Function at 0x1002d1ea
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002d4b6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x54], 0x43f2
mov dword [ebp - 0x9c], 0x10008dd8
cmp dword [ebp - 0x54], 0x441c
jle 0x1002d315
and dword [ebp - 0x28], 0
jmp 0x1002d24c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x88
jge 0x1002d315
and dword [ebp - 0x18], 0
jmp 0x1002d266
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7ace
jge 0x1002d310
mov dword [ebp - 0xa8], 0x10095248
and dword [ebp - 0x10], 0
jmp 0x1002d28a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x298c
jge 0x1002d30b
and dword [ebp - 0x20], 0
jmp 0x1002d2a0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x750
jge 0x1002d306
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xb4], eax
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xcc]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xcc]
call fcn.100252df
jmp 0x1002d299
jmp 0x1002d283
jmp 0x1002d25f
jmp 0x1002d245
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x1002d335
mov byte [ebp - 5], 0
push 0
lea eax, [ebp - 5]
push eax
call fcn.1002eb55
pop ecx
pop ecx
jmp 0x1002d49c
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10025597
push 1
mov ecx, dword [ebp - 0xc]
call fcn.10025597
cmp dword [eax], 0xc520
jle 0x1002d3a5
mov dword [ebp - 0x5c], 1
jmp 0x1002d3a9
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x5c]
je 0x1002d3bc
mov dword [ebp - 0x38], 1
jmp 0x1002d3c0
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 4
jbe 0x1002d3cf
mov dword [ebp - 0x58], 1
jmp 0x1002d3d3
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xe434
jne 0x1002d3e5
mov dword [ebp - 0x40], 1
jmp 0x1002d3e9
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0xa6f
jle 0x1002d3fb
mov dword [ebp - 0x50], 1
jmp 0x1002d3ff
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1002d425
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
je 0x1002d425
mov dword [ebp - 0x48], 1
jmp 0x1002d429
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
push 1
mov ecx, dword [ebp - 0xc]
call fcn.10025597
mov ecx, dword [ebp - 0x48]
add ecx, dword [eax]
cmp esi, ecx
jne 0x1002d447
mov eax, dword [ebp - 4]
cmp dword [eax], 0
mov eax, dword [ebp - 4]
mov esi, dword [eax]
neg esi
push 1
mov ecx, dword [ebp - 0xc]
call fcn.10025597
cmp esi, dword [eax]
je 0x1002d46a
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1002d46a
and dword [ebp - 0x3c], 0
jmp 0x1002d471
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jle 0x1002d484
mov dword [ebp - 0x4c], 1
jmp 0x1002d488
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x44]
mov esi, dword [eax]
sub esi, dword [ebp - 0x4c]
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10025597
mov dword [eax], esi
cmp dword [ebp - 0x54], 0x4360
jge 0x1002d4b1
push dword [ebp - 0x9c]
call fcn.1008287d
pop ecx
jmp 0x1002d5d0
mov dword [ebp - 0x30], 0x5542
mov dword [ebp - 0x6c], 0x10008e08
cmp dword [ebp - 0x30], 0x570e
jle 0x1002d5a1
and dword [ebp - 0x24], 0
jmp 0x1002d4de
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1695
jge 0x1002d5a1
and dword [ebp - 0x14], 0
jmp 0x1002d4f8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4b7
jge 0x1002d59c
and dword [ebp - 0x1c], 0
jmp 0x1002d512
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x35f4
jge 0x1002d597
and dword [ebp - 0x2c], 0
jmp 0x1002d528
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x78c1
jge 0x1002d592
mov dword [ebp - 0xac], 0x10095274
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0xb0], eax
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea ecx, [ebp - 0xe4]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xe4]
call fcn.100252df
jmp 0x1002d521
jmp 0x1002d50b
jmp 0x1002d4f1
jmp 0x1002d4d7
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x30], 0x52a3
jge 0x1002d5b9
push dword [ebp - 0x6c]
call fcn.1008287d
pop ecx
push 0x6de9
push 0
push 0x3715
push dword [ebp - 0x74]
call fcn.100283f7
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret