Function at 0x1008b071
Capabilities:
Accept command line arguments

Disassembly:
push 0x34
mov eax, 0x100b4c79
call fcn.100a5688
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0xc]
and dword [ebp - 0x24], 0
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.1008eb5d
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x10]
call fcn.10091a7b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.100307f9
push ecx
mov byte [ebp - 4], 2
mov edi, esp
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x28], edi
call fcn.1008eb5d
add eax, 0x10
lea ecx, [ebp - 0x18]
mov dword [edi], eax
mov edi, dword [ebp + 0xc]
mov edx, edi
call fcn.1008ba9a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.10091a7b
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.10091a7b
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.1008ebf5
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
add bl, 1
je 0x1008b204
push dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov edx, edi
lea ecx, [ebp - 0x1c]
call fcn.1008bd97
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.10091a7b
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.10091a7b
mov ebx, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.1008ebf5
add bl, 1
je 0x1008b204
push dword [sym.imp.kernel32.dll_GetTempPathW]
mov edx, edi
lea ecx, [ebp - 0x1c]
call fcn.1008bd97
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.10091a7b
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.10091a7b
mov ebx, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.1008ebf5
add bl, 1
je 0x1008b204
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x40]
call fcn.1002e7ee
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x40]
call fcn.10091a7b
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x1008b1f0
push 0x100216b4
push eax
lea ecx, [ebp - 0x10]
call fcn.10091a7b
push ecx
lea ecx, [ebp - 0x10]
call fcn.1008bafb
push eax
lea ecx, [ebp - 0x10]
call fcn.10091a7b
mov eax, dword [ebp - 0x18]
lea ecx, [eax - 0x10]
call fcn.1008ebf5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.1002eb70
mov edi, dword [ebp - 0x20]
add edi, 0x18
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x1008b250
push 0
push eax
lea ecx, [ebp - 0x10]
call fcn.10091a7b
test eax, eax
jne 0x1008b250
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
mov eax, dword [eax - 0xc]
inc eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10091a7b
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.10091a7b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push edi
mov edi, 0x1000e7b8
lea ecx, [ebp - 0x18]
mov edx, edi
call fcn.1006eaa2
push 0x10021634
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.1006eafe
push edi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10]
push dword [eax]
call fcn.10091a7b
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.1008ebf5
push ecx
lea ecx, [ebp - 0x10]
call fcn.1008bafb
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1008eb5d
mov edi, dword [ebp + 8]
add eax, 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [edi], eax
call fcn.1008ebf5
lea ecx, [esi - 0x10]
call fcn.1008ebf5
mov eax, edi
call fcn.100a5651
ret 8