Function at 0x100670be
Capabilities:
Accept command line arguments

Disassembly:
push 0x48
mov eax, 0x100b0026
call fcn.100a4f13
mov dword [ebp - 0x1c], ecx
call fcn.1002df89
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x54]
call fcn.1002e64e
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x38], eax
call fcn.1002ea7d
mov byte [ebp - 0x3c], al
mov byte [ebp - 4], 2
test al, al
jne 0x10067206
and dword [ebp - 0x14], 0
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x20]
call fcn.10065dfa
mov esi, dword [ebp - 0x14]
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp esi, dword [ecx]
jne 0x10067130
lea eax, [ebp - 0x14]
cmp eax, ecx
je 0x10067155
and dword [ecx], 0
jmp 0x10067155
test esi, esi
je 0x10067149
mov eax, dword [esi]
push 1
mov edi, dword [eax]
mov ecx, edi
call dword [0x100cf608]
mov ecx, esi
call edi
mov ecx, dword [ebp - 0x24]
and dword [ebp - 0x14], 0
mov eax, dword [ecx]
and dword [ecx], 0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
call fcn.100677da
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x54]
call fcn.1002ebec
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov esi, dword [eax - 0xc]
call fcn.1008e3f5
test esi, esi
jne 0x10067206
push 0x1000fdac
lea ecx, [ebp - 0x18]
call fcn.1006f372
push 0x10017204
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.1006f372
push eax
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.1006607c
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.1006f372
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x100cf608]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], 0x1001a710
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.10066cc6
lea ecx, [ebp - 0x34]
call fcn.100667b2
lea ecx, [ebp - 0x34]
call fcn.10066663
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push ecx
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x100cf608]
mov ecx, esi
call edi
mov byte [ebp - 4], 0xa
mov ecx, dword [0x100cee78]
push eax
lea ecx, [ecx + 0x960]
call fcn.100325f6
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov eax, dword [0x100cee78]
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xb
mov dword [eax + 0xbfc], ecx
mov eax, ecx
push eax
mov ecx, esi
call fcn.1007d59e
mov edi, eax
mov dword [ebp - 4], 9
jmp 0x100672c8
push 0
call fcn.100978a1
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], eax
pop ecx
test eax, eax
je 0x100672fd
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100cf608]
mov ecx, dword [ebp - 0x2c]
call esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea edx, [ebp - 0x34]
call fcn.10031ff3
mov eax, edi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x1006731c
movzx edi, di
cmp byte [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0x100215cc
je 0x1006732d
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x54]
call fcn.1002e9d0
lea ecx, [ebp - 0x14]
call fcn.100677da
mov eax, edi
call fcn.100a4e71
ret