Function at 0x1002ff9c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100580c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
xor ebx, ebx
mov dword [esp + 0x18], ecx
push esi
mov dword [esp + 0x20], ebx
mov esi, edx
mov dword [esp + 0x10], 0x8a87013d
push edi
mov dword [esp + 0x10], ebx
jmp 0x1002ffed
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x80], 0x40d7f825
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x1002ffda
push 2
pop edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edi
jmp 0x100300a4
push dword [esp + 0x20]
movdqa xmm0, xmmword [0x10064ae0]
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x4c], ebx
push eax
push ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], ebx
movdqu xmmword [esp + 0x80], xmm0
mov dword [esp + 0x5c], ebx
call fcn.1000f24e
mov dword [esp + 0x10], ebx
jmp 0x10030052
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x30], 0x2a727599
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x10030042
mov ecx, dword [esp + 0x44]
mov dword [ecx + 0xc], ebx
mov eax, dword [ecx + 0xc]
inc dword [ecx + 0xc]
cmp dword [ecx + 0xc], 4
mov dword [esp + eax*4 + 0x80], 1
jl 0x1003005f
mov dword [esp + 0x30], ebx
jmp 0x10030090
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], bl
je 0x1003008c
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc dword [esp + 0x30]
cmp dword [esp + 0x30], 3
jle 0x1003007c
lea ecx, [esp + 0x44]
call fcn.1000be91
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jle 0x10030004
call fcn.1002cae6
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.100302b3
mov dword [esp + 0xcc], ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x28], 0x6182eac4
mov dword [esp + 0x2c], 0x9565e08c
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
push 1
call fcn.1000be0e
mov dword [esp + 0x14], 0xf29acd40
mov dword [esp + 0x10], 0x331c587c
mov dword [esp + 0x14], ebx
jmp 0x1003011a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov dword [eax + ecx*4], 0xbd0a7084
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 1
jl 0x10030107
mov eax, dword [esp + 0x28]
mov ecx, 0xd777
inc dword [esp + 0x10]
mov eax, dword [esp + 0x54]
mov dword [eax], ecx
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x68]
sub ecx, edx
mov dword [eax], edx
mov eax, dword [esp + 0x28]
add eax, ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c], eax
call fcn.1000be91
mov ecx, dword [esp + 0x38]
add esi, 0xffffb629
mov edx, ecx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x10030197
cmp dword [eax + 0x10], esi
jge 0x1003017a
mov eax, dword [eax + 8]
jmp 0x1003017e
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x10030170
cmp edx, ecx
je 0x10030197
cmp esi, dword [edx + 0x10]
jl 0x10030197
mov dword [esp + 0x40], edx
lea esi, [esp + 0x40]
jmp 0x1003019f
mov dword [esp + 0x50], ecx
lea esi, [esp + 0x50]
mov eax, dword [0x100732dc]
mov esi, dword [esi]
test al, 1
jne 0x100301d9
or eax, 1
mov dword [0x100732d4], 7
mov dword [0x100732dc], eax
xor eax, eax
push 0x10058928
mov dword [0x100732d0], ebx
mov word [0x100732c0], ax
call fcn.10040469
pop ecx
mov ecx, dword [esp + 0x38]
cmp esi, ecx
je 0x10030201
push dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0xac]
call fcn.10029628
pop ecx
xor edi, edi
mov byte [esp + 0xcc], 1
inc edi
mov dword [esp + 0x1c], edi
jmp 0x10030219
push 0x100732c0
lea ecx, [esp + 0x94]
call fcn.1000bc41
mov dword [esp + 0xcc], edi
mov esi, dword [esp + 0x20]
mov ecx, esi
push eax
mov dword [esp + 0x28], edi
call fcn.1000bc41
mov eax, dword [esp + 0x1c]
or eax, 4
test al, 2
je 0x1003024e
push ebx
and eax, 0xfffffffd
lea ecx, [esp + 0x94]
push 1
mov dword [esp + 0x24], eax
call fcn.1000c799
mov eax, dword [esp + 0x1c]
test al, 1
je 0x10030261
push ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.1000c799
lea ecx, [esp + 0x38]
call fcn.10030281
mov ecx, dword [esp + 0xc4]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret