Function at 0x1005f8d1
Capabilities:
Accept command line arguments

Disassembly:
push 0x44
mov eax, 0x1009b7b2
call fcn.10086e52
call fcn.10023834
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10023e77
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
call fcn.10024272
mov byte [ebp - 0x38], al
mov byte [ebp - 4], 2
test al, al
jne 0x1005fa03
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x14], edi
call fcn.100572e4
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, dword [esi]
jne 0x1005f93f
lea eax, [ebp - 0x14]
cmp eax, esi
je 0x1005f953
mov dword [esi], edi
jmp 0x1005f953
cmp ecx, edi
je 0x1005f949
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x14], edi
mov eax, dword [esi]
mov dword [esi], edi
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
je 0x1005f960
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100243c4
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
mov eax, dword [ebp - 0x20]
sete bl
add eax, 0xfffffff0
call fcn.10078f0e
test bl, bl
je 0x1005fa03
push 0x1000c864
lea eax, [ebp - 0x18]
push eax
call fcn.1005833e
push 0x10013930
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
call fcn.1005833e
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.100575b5
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call fcn.1005833e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0x1001a794
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.10057f6a
lea esi, [ebp - 0x30]
call fcn.10057b40
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
call dword [eax + 0x10]
mov byte [ebp - 4], 0xa
mov ecx, dword [0x100b8468]
add ecx, 0x960
push ecx
mov edi, eax
call fcn.10027b20
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10078f0e
mov ecx, dword [0x100b8468]
mov eax, esi
push eax
push dword [ebp + 8]
mov dword [ecx + 0xbfc], eax
mov byte [ebp - 4], 0xb
call fcn.1006b390
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 9
xor edi, edi
push edi
call fcn.1007b76c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
pop ecx
mov dword [ebp - 0x24], edx
cmp dword [eax + 0x40], edi
je 0x1005faa2
mov ecx, dword [eax + 0x40]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.100274ed
mov eax, esi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x1005fac5
and esi, 0xffff
cmp byte [ebp - 0x38], 0
mov dword [ebp - 0x30], 0x100186a4
je 0x1005fad5
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x50]
call fcn.100241a9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x1005faee
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
call fcn.10086f06
ret 4