Function at 0x10081473
Capabilities:
Accept command line arguments

Disassembly:
push 0x2c
mov eax, 0x100a2c6b
call fcn.10094b6a
mov esi, ecx
and dword [ebp - 0x18], 0
mov eax, dword [esi]
sub eax, 0x10
call fcn.10084ad6
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
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.10028b52
mov byte [ebp - 4], 2
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov edi, esp
call fcn.10084ad6
add eax, 0x10
mov dword [edi], eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.10081f0b
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1005f4dc
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.1005f5d9
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
call fcn.10084b37
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
inc bl
je 0x100815fd
push dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.100823d2
mov byte [ebp - 4], 4
call fcn.1005f4dc
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.1005f5d9
mov ebx, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
call fcn.10084b37
inc bl
je 0x100815fd
push dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.100823d2
mov byte [ebp - 4], 5
call fcn.1005f4dc
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.1005f5d9
mov ebx, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
call fcn.10084b37
inc bl
je 0x100815fd
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10026b5d
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.100271a7
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x100815e9
push 0x1001d3bc
push eax
mov eax, edi
push eax
call fcn.1005f64f
mov eax, edi
call fcn.10081e6d
call fcn.1005f4dc
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.10026eb8
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
cmp dword [eax - 0xc], 0
je 0x10081646
push eax
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.1005f926
test eax, eax
jne 0x10081646
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.1005fa75
mov edi, esi
mov byte [ebp - 4], 8
call fcn.1005f4dc
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10084b37
mov esi, 0x1000b150
push esi
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebx + 0x18]
call fcn.1005fd4e
push 0x1000440c
lea ecx, [ebp + 8]
push ecx
mov edi, eax
mov byte [ebp - 4], 9
call fcn.1005fcf3
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1005f64f
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10084b37
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
lea eax, [ebp - 0x10]
call fcn.10081e6d
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084ad6
mov esi, dword [ebp + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, esi
call fcn.10094c56
ret 8