Function at 0x10065e93
Capabilities:
Accept command line arguments

Disassembly:
push 0x48
mov eax, 0x100a6cfc
call fcn.1009223d
call fcn.10026acc
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100270b4
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x54]
call fcn.100274b7
mov byte [ebp - 0x3c], al
mov byte [ebp - 4], 2
cmp al, bl
jne 0x10065fc7
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x18], ebx
call fcn.1005cff8
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmp ecx, dword [esi]
jne 0x10065f01
lea eax, [ebp - 0x18]
cmp eax, esi
je 0x10065f15
mov dword [esi], ebx
jmp 0x10065f15
cmp ecx, ebx
je 0x10065f0b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
mov dword [esi], ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x10065f22
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10027616
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
mov eax, dword [ebp - 0x24]
sete byte [ebp - 0x11]
add eax, 0xfffffff0
call fcn.10082afb
cmp byte [ebp - 0x11], bl
je 0x10065fc7
push 0x1000c7fc
lea eax, [ebp - 0x1c]
push eax
call fcn.1005e2c8
push 0x10014e88
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.1005e2c8
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.1005d2c4
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
push dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
call fcn.1005e2c8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0x1001d44c
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.1005df02
lea ebx, [ebp - 0x34]
call fcn.1005d974
mov esi, ebx
call fcn.1005d81b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
call dword [eax + 0x10]
mov byte [ebp - 4], 0xa
mov ecx, dword [0x100c2b5c]
add ecx, 0x960
push ecx
mov edi, eax
call fcn.1002aeca
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10082afb
mov ecx, dword [0x100c2b5c]
push dword [ebp + 8]
mov eax, ebx
mov dword [ecx + 0xbfc], eax
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.100743b8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 9
xor ebx, ebx
push ebx
call fcn.10085495
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
pop ecx
mov dword [ebp - 0x28], edx
cmp dword [eax + 0x40], ebx
je 0x1006606e
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 - 0x2c], ecx
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1002a8d1
mov eax, esi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x10066091
and esi, 0xffff
mov dword [ebp - 0x34], 0x1001b1c4
cmp byte [ebp - 0x3c], bl
je 0x100660a0
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x54]
call fcn.1002740a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x100660b9
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
call fcn.100922e2
ret 4