Function at 0x1002e2bd
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0dd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x28]
call fcn.1002f960
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x1002e47c
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x22
jne 0x1002e3c6
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [eax]
test ecx, ecx
je 0x1002e376
mov edx, dword [ebp - 0x14]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x22
je 0x1002e376
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
and edx, 0x80
neg edx
sbb edx, edx
neg edx
cmp edx, 1
jne 0x1002e36b
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [eax + 1]
test ecx, ecx
jne 0x1002e362
jmp 0x1002e376
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x1002e325
cmp dword [ebp - 0x2c], 1
jne 0x1002e39e
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x28]
call fcn.10030100
push 0
lea ecx, [ebp - 0x28]
call fcn.1002fbf0
jmp 0x1002e47c
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x1002e3c1
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x1002e477
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x20
jle 0x1002e46e
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
xor eax, eax
mov al, byte [edx]
test eax, eax
je 0x1002e438
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x22
je 0x1002e438
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x20
jle 0x1002e438
mov edx, dword [ebp - 0x14]
xor eax, eax
mov al, byte [edx]
and eax, 0x80
neg eax
sbb eax, eax
neg eax
cmp eax, 1
jne 0x1002e42d
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx + 1]
test edx, edx
jne 0x1002e424
jmp 0x1002e438
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x1002e3dc
cmp dword [ebp - 0x2c], 1
jne 0x1002e45d
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.10030100
push 0
lea ecx, [ebp - 0x28]
call fcn.1002fbf0
jmp 0x1002e47c
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x1002e477
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x1002e2f7
lea ecx, [ebp - 0x28]
call fcn.1002f4a0
test eax, eax
je 0x1002e4a3
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004ba0
mov eax, dword [ebp - 0x30]
jmp 0x1002e4c8
push 0
lea ecx, [ebp - 0x28]
call fcn.1002f590
push eax
call sym.krnl.fnr_LoadEPKFile
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004ba0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret