Function at 0x12e9e4b0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x130634dd
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.12e6f030
add esp, 4
test eax, eax
jne 0x12e9e511
cmp dword [0x1319990c], ebx
jne 0x12e9e511
cmp dword [0x13198f68], ebx
je 0x12e9e50a
push 0x1312e250
push 0x1312e15c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
xor eax, eax
jmp 0x12e9e796
lea ecx, [esp + 0x60]
call fcn.12e9bef0
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.12f46a80
lea ecx, [esp + 0x6c]
mov byte [esp + 0x480], bl
call fcn.12e9c100
lea ecx, [esp + 0x60]
call fcn.12e9c170
test eax, eax
je 0x12e9e7af
lea ecx, [esp + 0x60]
call fcn.12e9c660
cmp eax, 1
jne 0x12e9e7af
mov ebp, eax
call fcn.12d91c00
test eax, eax
je 0x12e9e5d5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
cmp edx, ebx
je 0x12e9e5d5
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.12f5c4ab
lea ecx, [esp + 0x90]
push ecx
call fcn.12f614f4
lea edx, [esp + 0x94]
push 0x1312e240
push edx
call fcn.12f5c46a
add esp, 0x18
test eax, eax
je 0x12e9e5d5
mov dword [esi + 0x6c], ebp
lea ecx, [esp + 0x40]
call fcn.12f4cba0
lea ecx, [esp + 0x20]
mov byte [esp + 0x474], 2
call fcn.12f4cba0
lea ecx, [esp + 0x10]
mov byte [esp + 0x474], 3
call fcn.12f4cba0
lea ecx, [esp + 0x30]
mov byte [esp + 0x474], 4
call fcn.12f4cba0
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.12e9e7c0
test eax, eax
jne 0x12e9e63e
mov ecx, esi
call fcn.12e9e3d0
test eax, eax
je 0x12e9e64e
mov ecx, esi
mov dword [esi], 1
call fcn.12e9e440
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.12e9e7c0
lea ecx, [esi + 8]
push 1
push ecx
lea ecx, [esp + 0x5c]
call fcn.12f560a0
lea edi, [esi + 0x28]
push 0xffffffffffffffff
push ebx
mov ecx, edi
mov byte [esp + 0x47c], 6
call fcn.12f4cc10
cmp dword [esp + 0x44], ebx
jle 0x12e9e69a
lea edx, [esp + 0x40]
mov ecx, edi
push edx
call fcn.12f4cdf0
lea edi, [esi + 0x38]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.12f4cc10
cmp dword [esp + 0x24], ebx
jle 0x12e9e6b9
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.12f4cdf0
lea edi, [esi + 0x48]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.12f4cc10
mov ecx, esi
call fcn.12e9e350
cmp dword [esp + 0x14], ebx
jle 0x12e9e6df
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.12f4cdf0
lea edi, [esi + 0x58]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.12f4cc10
cmp dword [esp + 0x34], ebx
jle 0x12e9e6fe
lea edx, [esp + 0x30]
mov ecx, edi
push edx
call fcn.12f4cdf0
lea ecx, [esp + 0x54]
mov byte [esp + 0x474], 5
call fcn.12f56100
mov ecx, esi
call fcn.12e9f2e0
mov dword [esi + 4], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x474], 4
call fcn.12f4cbb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x474], 3
call fcn.12f4cbb0
lea ecx, [esp + 0x20]
mov byte [esp + 0x474], 2
call fcn.12f4cbb0
lea ecx, [esp + 0x40]
mov byte [esp + 0x474], bl
call fcn.12f4cbb0
cmp dword [0x13198f68], ebx
je 0x12e9e780
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi]
push eax
push ecx
push ebp
push 0x1312e1d0
push 0x1312e15c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
lea ecx, [esp + 0x60]
mov dword [esp + 0x474], 0xffffffff
call fcn.12e9c060
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 0x12e9e75c