Function at 0x1007f813
Capabilities:
Accept command line arguments

Disassembly:
push 0x2c
mov eax, 0x1009f7c9
call fcn.1009220a
mov esi, ecx
and dword [ebp - 0x18], 0
mov eax, dword [esi]
sub eax, 0x10
call fcn.10082a9f
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.10029002
mov byte [ebp - 4], 2
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov edi, esp
call fcn.10082a9f
add eax, 0x10
mov dword [edi], eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.10080282
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1005e434
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.1005e51d
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
call fcn.10082afb
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
inc bl
je 0x1007f99d
push dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.10080726
mov byte [ebp - 4], 4
call fcn.1005e434
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.1005e51d
mov ebx, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
call fcn.10082afb
inc bl
je 0x1007f99d
push dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.10080726
mov byte [ebp - 4], 5
call fcn.1005e434
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.1005e51d
mov ebx, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
call fcn.10082afb
inc bl
je 0x1007f99d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100270b4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.100276c7
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x1007f989
push 0x1001d82c
push eax
mov eax, edi
push eax
call fcn.1005e589
mov eax, edi
call fcn.100801e9
call fcn.1005e434
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.1002740a
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
cmp dword [eax - 0xc], 0
je 0x1007f9e6
push eax
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.1005e84c
test eax, eax
jne 0x1007f9e6
mov eax, dword [ebx + 0x18]
mov edx, dword [eax - 0xc]
lea eax, [ebp + 8]
push eax
lea edx, [edx + 1]
mov eax, esi
call fcn.1005e982
mov edi, esi
mov byte [ebp - 4], 8
call fcn.1005e434
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10082afb
mov esi, 0x1000b208
push esi
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebx + 0x18]
call fcn.1005ec33
push 0x1000443c
lea ecx, [ebp + 8]
push ecx
mov edi, eax
mov byte [ebp - 4], 9
call fcn.1005ebdd
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1005e589
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [ebp - 0x10]
call fcn.100801e9
mov eax, dword [eax]
sub eax, 0x10
call fcn.10082a9f
mov esi, dword [ebp + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, esi
call fcn.100922e2
ret 8