Function at 0x10081849
Capabilities:
Accept command line arguments

Disassembly:
push 0x2c
mov eax, 0x100a2c02
call fcn.10094bba
mov esi, ecx
and dword [ebp - 0x18], 0
mov eax, dword [esi]
sub eax, 0x10
call fcn.10084bc8
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.10028b80
mov byte [ebp - 4], 2
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov edi, esp
call fcn.10084bc8
add eax, 0x10
mov dword [edi], eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.10081ffd
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1005f5c3
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.1005f6c0
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
call fcn.10084c29
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
inc bl
je 0x100819d3
push dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.100824c4
mov byte [ebp - 4], 4
call fcn.1005f5c3
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.1005f6c0
mov ebx, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
call fcn.10084c29
inc bl
je 0x100819d3
push dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.100824c4
mov byte [ebp - 4], 5
call fcn.1005f5c3
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.1005f6c0
mov ebx, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
call fcn.10084c29
inc bl
je 0x100819d3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10026b8b
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.100271d5
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x100819bf
push 0x1001d3e4
push eax
mov eax, edi
push eax
call fcn.1005f736
mov eax, edi
call fcn.10081f5f
call fcn.1005f5c3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.10026ee6
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
cmp dword [eax - 0xc], 0
je 0x10081a1c
push eax
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.1005fa0d
test eax, eax
jne 0x10081a1c
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.1005fb5c
mov edi, esi
mov byte [ebp - 4], 8
call fcn.1005f5c3
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10084c29
mov esi, 0x1000b180
push esi
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebx + 0x18]
call fcn.1005fe35
push 0x1000440c
lea ecx, [ebp + 8]
push ecx
mov edi, eax
mov byte [ebp - 4], 9
call fcn.1005fdda
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1005f736
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
lea eax, [ebp - 0x10]
call fcn.10081f5f
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084bc8
mov esi, dword [ebp + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, esi
call fcn.10094ca6
ret 8