Function at 0x140003250
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor r9d, r9d
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14001599c
test eax, eax
jne 0x14000329b
lea rcx, str.Fatal_Error:_MFC_initialization_failed_n
call fcn.14001f7c8
mov eax, 1
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
xor ecx, ecx
mov qword [rsp + 0x60], r12
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, 0x288
call fcn.140008cb4
test rax, rax
je 0x1400032c4
mov rcx, rax
call fcn.1400042c0
mov r12, rax
jmp 0x1400032c7
xor r12d, r12d
mov esi, 1
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
cmp dword [0x14004d87c], esi
jle 0x1400033b8
mov ebp, 8
nop word [rax + rax]
mov rax, qword [0x14004d888]
mov rbx, qword [rax + rbp]
call fcn.1400095b4
test rax, rax
je 0x1400033e5
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x14000335e
test rbx, 0xffffffffffff0000
jne 0x14000334a
movzx edi, bx
mov ecx, edi
call fcn.140009c88
test rax, rax
je 0x140003370
lea rcx, [rsp + 0x20]
mov r8d, edi
mov rdx, rax
call fcn.140001e90
jmp 0x140003370
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x140003360
xor ecx, ecx
mov r8d, ecx
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.1400021a0
lea rcx, [r12 + 0x240]
lea r8, [rsp + 0x20]
mov rdx, qword [rcx + 0x10]
call fcn.140009204
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400033a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc esi
add rbp, 8
cmp esi, dword [0x14004d87c]
jl 0x1400032f0
mov rcx, r12
call fcn.140004950
mov rax, qword [0x14004e898]
test rax, rax
jne 0x1400033f9
mov ecx, 0xa8
call fcn.140008cb4
test rax, rax
je 0x1400033f0
mov rcx, rax
call fcn.140003620
jmp 0x1400033f2
mov ecx, 0x80004005
call fcn.140002350
int3
xor eax, eax
mov qword [0x14004e898], rax
mov r8d, dword [r12 + 0x270]
mov rdx, qword [r12 + 0x268]
mov rcx, rax
call fcn.140003a30
call fcn.1400095b4
mov rcx, rax
test rax, rax
jne 0x140003429
mov ecx, 0x80004005
call fcn.140002350
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rdx, str.WScript
add rax, 0x18
mov qword [rsp + 0x28], rax
test rdx, 0xffffffffffff0000
jne 0x140003469
movzx edi, dx
mov ecx, edi
call fcn.140009c88
test rax, rax
je 0x140003473
lea rcx, [rsp + 0x28]
mov r8d, edi
mov rdx, rax
call fcn.140001e90
jmp 0x140003473
lea rcx, [rsp + 0x28]
call fcn.140003180
mov rdi, qword [0x14004e898]
test rdi, rdi
jne 0x1400034a4
mov ecx, 0xa8
call fcn.140008cb4
test rax, rax
je 0x14000349b
mov rcx, rax
call fcn.140003620
mov rdi, rax
jmp 0x14000349d
xor edi, edi
mov qword [0x14004e898], rdi
lea rdx, [0x14003a8c8]
mov rcx, r12
call fcn.1400142a0
lea rdx, [rsp + 0x28]
mov rcx, rdi
mov r8, rax
call fcn.1400038a0
mov rdi, qword [r12 + 0x280]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
cmp dword [rdi - 8], 0
mov rcx, rax
jl 0x1400034ef
cmp rax, qword [rdi - 0x18]
jne 0x1400034ef
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x14000352b
mov rax, qword [rax]
mov edx, dword [rdi - 0x10]
mov r8d, 2
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x14000350b
call fcn.1400020e0
int3
mov eax, dword [rdi - 0x10]
lea rcx, [rbx + 0x18]
mov r8, rdi
mov dword [rbx + 8], eax
mov eax, dword [rdi - 0x10]
inc eax
movsxd rdx, eax
add rdx, rdx
mov r9, rdx
call fcn.14001ef00
lea rax, [rbx + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14004e898]
test rax, rax
jne 0x140003562
mov ecx, 0xa8
call fcn.140008cb4
test rax, rax
je 0x140003559
mov rcx, rax
call fcn.140003620
jmp 0x14000355b
xor eax, eax
mov qword [0x14004e898], rax
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140003e50
mov rdi, qword [0x14004e898]
test rdi, rdi
jne 0x1400035a0
mov ecx, 0xa8
call fcn.140008cb4
test rax, rax
je 0x140003597
mov rcx, rax
call fcn.140003620
mov rdi, rax
jmp 0x140003599
xor edi, edi
mov qword [0x14004e898], rdi
lea rcx, [rdi + 8]
call fcn.140015a8c
mov rcx, qword [rdi + 0x90]
test rcx, rcx
je 0x1400035bb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x1400035cd
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x1400035df
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov qword [rdi + 0x90], 0
mov qword [rdi + 0x88], 0
mov qword [rdi + 0xa0], 0
xor eax, eax
add rsp, 0x40
pop rdi
ret