Function at 0x10078881
Capabilities:
Accept command line arguments

Disassembly:
push 0x6c
mov eax, 0x100a4dd6
call fcn.10094bf2
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebx], fcn.10078b4c
xor eax, eax
mov dword [ebx + 4], 0x1001bf5c
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], eax
mov dword [ebp - 4], eax
lea esi, [ebx + 0x14]
mov ecx, 0x100bcf90
mov dword [ebx + 0x10], eax
call fcn.10084b65
mov byte [ebp - 4], 1
and dword [ebx + 0x20], 0
mov byte [ebx + 0x18], 1
mov dword [ebx + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10026b8b
push 0
push 0x10003780
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 2
call fcn.1002672c
test al, al
jne 0x1007890e
lea eax, [ebp - 0x78]
call fcn.10026f45
test al, al
je 0x1007890e
lea eax, [ebp - 0x78]
call fcn.10026fa7
test al, al
jne 0x1007890e
xor eax, eax
inc eax
jmp 0x10078910
xor eax, eax
mov byte [ebx + 0x18], al
test al, al
je 0x10078af5
mov esi, dword [ebx + 0x1c]
call fcn.1002b8cd
push 0
mov edi, eax
mov dword [ebp - 0x60], esi
call dword [sym.imp.ole32.dll_CoInitialize]
and dword [ebp - 0x58], 0
push esi
push edi
push ecx
mov eax, esp
and dword [eax], 0
lea esi, [ebp - 0x54]
mov dword [ebp - 0x24], esp
call fcn.1002d3b1
push ecx
mov byte [ebp - 4], 4
mov eax, esp
mov dword [ebp - 0x24], esp
push 0x10009238
push eax
call fcn.1005f448
lea eax, [ebp - 0x18]
push eax
call fcn.1007307b
push ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], esp
mov edi, esp
push dword [ebp - 0x60]
add eax, 0xfffffff0
push ecx
mov dword [ebp - 0x24], esp
mov esi, esp
call fcn.10084bc8
add eax, 0x10
push edi
mov dword [esi], eax
call fcn.1002dbd4
lea ecx, [ebp - 0x60]
call fcn.1002e318
mov esi, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
test esi, esi
jne 0x10078ac2
push 0x10018c30
lea eax, [ebp - 0x1c]
push eax
call fcn.1005f448
push 0x10005100
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.1005f448
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.1002d465
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 8
call fcn.1002d465
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10078a05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
push 0x100121b0
lea eax, [ebp - 0x20]
push eax
call fcn.1005f448
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.1002d4c8
cmp dword [eax], 0
mov eax, dword [ebp - 0x48]
setne byte [ebp - 0x11]
test eax, eax
je 0x10078a55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10084c29
cmp byte [ebp - 0x11], 0
je 0x10078a70
mov byte [ebx + 0x18], 0
jmp 0x10078aaf
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x30]
call fcn.1002d56d
mov byte [ebp - 4], 0xe
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call fcn.1005f448
lea eax, [ebp - 0x20]
lea edi, [ebx + 0x14]
mov byte [ebp - 4], 0xf
call fcn.1005f5c3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10078ac6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10078ac6
mov byte [ebx + 0x18], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x10078ad7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x10078ae4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x10078af5
lea ecx, [ebp - 0x78]
call fcn.10026ee6
mov eax, ebx
call fcn.10094ca6
ret 4