Function at 0x1002ee53
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f9bd5
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.10030500
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 0x1002f012
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x22
jne 0x1002ef5c
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 0x1002ef0c
mov edx, dword [ebp - 0x14]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x22
je 0x1002ef0c
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 0x1002ef01
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [eax + 1]
test ecx, ecx
jne 0x1002eef8
jmp 0x1002ef0c
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 0x1002eebb
cmp dword [ebp - 0x2c], 1
jne 0x1002ef34
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.10030ca0
push 0
lea ecx, [ebp - 0x28]
call fcn.10030790
jmp 0x1002f012
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 0x1002ef57
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x1002f00d
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x20
jle 0x1002f004
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 0x1002efce
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x22
je 0x1002efce
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x20
jle 0x1002efce
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 0x1002efc3
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx + 1]
test edx, edx
jne 0x1002efba
jmp 0x1002efce
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 0x1002ef72
cmp dword [ebp - 0x2c], 1
jne 0x1002eff3
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.10030ca0
push 0
lea ecx, [ebp - 0x28]
call fcn.10030790
jmp 0x1002f012
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x1002f00d
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x1002ee8d
lea ecx, [ebp - 0x28]
call fcn.10030040
test eax, eax
je 0x1002f039
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004bb0
mov eax, dword [ebp - 0x30]
jmp 0x1002f05e
push 0
lea ecx, [ebp - 0x28]
call fcn.10030130
push eax
call sym.krnl.fne_LoadEPKFile
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004bb0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret