Function at 0x1005f903
Capabilities:
Accept command line arguments

Disassembly:
push 0x44
mov eax, 0x1009bbae
call fcn.100871e2
call fcn.100238bb
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.10023ed7
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
call fcn.100242d2
mov byte [ebp - 0x38], al
mov byte [ebp - 4], 2
test al, al
jne 0x1005fa35
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x14], edi
call fcn.1005709f
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, dword [esi]
jne 0x1005f971
lea eax, [ebp - 0x14]
cmp eax, esi
je 0x1005f985
mov dword [esi], edi
jmp 0x1005f985
cmp ecx, edi
je 0x1005f97b
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 0x1005f992
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10024424
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
mov eax, dword [ebp - 0x20]
sete bl
add eax, 0xfffffff0
call fcn.1007924a
test bl, bl
je 0x1005fa35
push 0x1000c84c
lea eax, [ebp - 0x18]
push eax
call fcn.100580f9
push 0x10013918
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
call fcn.100580f9
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.10057370
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.1007924a
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call fcn.100580f9
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.1007924a
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0x1001a78c
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.10057d25
lea esi, [ebp - 0x30]
call fcn.100578fb
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 [0x100b8508]
add ecx, 0x960
push ecx
mov edi, eax
call fcn.10027b68
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.1007924a
mov ecx, dword [0x100b8508]
mov eax, esi
push eax
push dword [ebp + 8]
mov dword [ecx + 0xbfc], eax
mov byte [ebp - 4], 0xb
call fcn.1006b732
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 9
xor edi, edi
push edi
call fcn.1007bb0c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
pop ecx
mov dword [ebp - 0x24], edx
cmp dword [eax + 0x40], edi
je 0x1005fad4
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.10027535
mov eax, esi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x1005faf7
and esi, 0xffff
cmp byte [ebp - 0x38], 0
mov dword [ebp - 0x30], 0x10018684
je 0x1005fb07
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x50]
call fcn.10024209
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x1005fb20
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
call fcn.10087296
ret 4