Function at 0x12e9e4c0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x130635ad
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x1000
mov dword [esi], ebx
call fcn.12e6f040
add esp, 4
test eax, eax
jne 0x12e9e521
cmp dword [0x13199a0c], ebx
jne 0x12e9e521
cmp dword [0x13199068], ebx
je 0x12e9e51a
push str.Init_No_CaptureFlags
push str.DocCtrlExt
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
xor eax, eax
jmp 0x12e9e7a6
lea ecx, [esp + 0x60]
call fcn.12e9bf00
push 1
push ebx
push ecx
mov dword [esp + 0x480], ebx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.hookapi_docctrl_ext
call fcn.12f46b50
lea ecx, [esp + 0x6c]
mov byte [esp + 0x480], bl
call fcn.12e9c110
lea ecx, [esp + 0x60]
call fcn.12e9c180
test eax, eax
je 0x12e9e7bf
lea ecx, [esp + 0x60]
call fcn.12e9c670
cmp eax, 1
jne 0x12e9e7bf
mov ebp, eax
call fcn.12d91c00
test eax, eax
je 0x12e9e5e5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
cmp edx, ebx
je 0x12e9e5e5
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0x86]
mov word [esp + 0x84], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1f3
lea eax, [esp + 0x88]
push edx
push eax
call fcn.12f5c57b
lea ecx, [esp + 0x90]
push ecx
call fcn.12f615c4
lea edx, [esp + 0x94]
push str.appinfo
push edx
call fcn.12f5c53a
add esp, 0x18
test eax, eax
je 0x12e9e5e5
mov dword [esi + 0x6c], ebp
lea ecx, [esp + 0x40]
call fcn.12f4cc70
lea ecx, [esp + 0x20]
mov byte [esp + 0x474], 2
call fcn.12f4cc70
lea ecx, [esp + 0x10]
mov byte [esp + 0x474], 3
call fcn.12f4cc70
lea ecx, [esp + 0x30]
mov byte [esp + 0x474], 4
call fcn.12f4cc70
lea eax, [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
push ecx
push str.hookapi_docctrl_ext_include
mov ecx, esi
mov byte [esp + 0x480], 5
call fcn.12e9e7d0
test eax, eax
jne 0x12e9e64e
mov ecx, esi
call fcn.12e9e3e0
test eax, eax
je 0x12e9e65e
mov ecx, esi
mov dword [esi], 1
call fcn.12e9e450
mov dword [esi + 0x68], eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x20]
push edx
push eax
push str.hookapi_docctrl_ext_exclude
mov ecx, esi
call fcn.12e9e7d0
lea ecx, [esi + 8]
push 1
push ecx
lea ecx, [esp + 0x5c]
call fcn.12f56170
lea edi, [esi + 0x28]
push 0xffffffffffffffff
push ebx
mov ecx, edi
mov byte [esp + 0x47c], 6
call fcn.12f4cce0
cmp dword [esp + 0x44], ebx
jle 0x12e9e6aa
lea edx, [esp + 0x40]
mov ecx, edi
push edx
call fcn.12f4cec0
lea edi, [esi + 0x38]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.12f4cce0
cmp dword [esp + 0x24], ebx
jle 0x12e9e6c9
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.12f4cec0
lea edi, [esi + 0x48]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.12f4cce0
mov ecx, esi
call fcn.12e9e360
cmp dword [esp + 0x14], ebx
jle 0x12e9e6ef
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.12f4cec0
lea edi, [esi + 0x58]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.12f4cce0
cmp dword [esp + 0x34], ebx
jle 0x12e9e70e
lea edx, [esp + 0x30]
mov ecx, edi
push edx
call fcn.12f4cec0
lea ecx, [esp + 0x54]
mov byte [esp + 0x474], 5
call fcn.12f561d0
mov ecx, esi
call fcn.12e9f2f0
mov dword [esi + 4], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x474], 4
call fcn.12f4cc80
lea ecx, [esp + 0x10]
mov byte [esp + 0x474], 3
call fcn.12f4cc80
lea ecx, [esp + 0x20]
mov byte [esp + 0x474], 2
call fcn.12f4cc80
lea ecx, [esp + 0x40]
mov byte [esp + 0x474], bl
call fcn.12f4cc80
cmp dword [0x13199068], ebx
je 0x12e9e790
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi]
push eax
push ecx
push ebp
push str.Init__bRet:_d__bDocCtrlExt:_d___m_bSvchostAppinfo_:__d_
push str.DocCtrlExt
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
lea ecx, [esp + 0x60]
mov dword [esp + 0x474], 0xffffffff
call fcn.12e9c070
mov eax, ebp
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x468
ret
xor ebp, ebp
jmp 0x12e9e76c