Function at 0x140003260
Capabilities:
Accept command line arguments

Disassembly:
push rdi
push r12
sub rsp, 0x48
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.140017e18
test eax, eax
jne 0x1400032a6
lea rcx, str.Fatal_Error:_MFC_initialization_failed_n
call fcn.140021d78
mov eax, 1
add rsp, 0x48
pop r12
pop rdi
ret
xor ecx, ecx
mov qword [rsp + 0x68], rbp
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, 0x2c0
call fcn.14000b25c
test rax, rax
je 0x1400032cf
mov rcx, rax
call fcn.140004370
mov rbp, rax
jmp 0x1400032d1
xor ebp, ebp
mov qword [rsp + 0x60], rbx
mov r12d, 1
mov qword [rsp + 0x70], rsi
cmp dword [0x14005087c], r12d
mov qword [rsp + 0x40], r13
jle 0x1400033f4
mov r13d, 8
nop dword [rax]
mov rax, qword [0x140050888]
mov rsi, qword [r13 + rax]
call fcn.14000bb5c
test rax, rax
je 0x14000342c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
test rsi, rsi
je 0x140003374
test rsi, 0xffffffffffff0000
jne 0x140003360
movzx edi, si
mov ecx, edi
call fcn.14000c1b8
test rax, rax
je 0x14000338b
lea rcx, [rsp + 0x20]
mov r8d, edi
mov rdx, rax
call fcn.140001e70
mov rbx, qword [rsp + 0x20]
jmp 0x14000338b
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x140003376
xor ecx, ecx
mov r8d, ecx
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.140002180
mov rbx, qword [rsp + 0x20]
cmp qword [rbp + 0x2a8], 0
jne 0x1400033b2
lea rdi, [0x14003f330]
mov rsi, rbx
mov ecx, 8
repe cmpsw word [rsi], word [rdi]
jne 0x1400033b2
mov byte [rbp + 0x240], 1
jmp 0x1400033c5
lea rcx, [rbp + 0x298]
mov r8, rbx
mov rdx, qword [rcx + 0x10]
call fcn.14000ba4c
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400033e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r12d
add r13, 8
cmp r12d, dword [0x14005087c]
jl 0x140003300
mov rcx, rbp
call fcn.1400054f0
cmp byte [rbp + 0x240], 0
jne 0x140003437
mov rax, qword [rbp + 0x260]
cmp dword [rax - 0x10], 0
je 0x140003437
mov rax, qword [rbp + 0x268]
cmp dword [rax - 0x10], 0
je 0x140003437
mov rcx, rbp
call fcn.140004e50
jmp 0x140003616
mov ecx, 0x80004005
call fcn.140002330
int3
mov rax, qword [0x140051898]
test rax, rax
jne 0x140003465
mov ecx, 0xa8
call fcn.14000b25c
test rax, rax
je 0x14000345c
mov rcx, rax
call fcn.140003640
jmp 0x14000345e
xor eax, eax
mov qword [0x140051898], rax
mov r9d, dword [rbp + 0x24c]
mov r8d, dword [rbp + 0x244]
xor edx, edx
mov rcx, rax
call fcn.140003a50
call fcn.14000bb5c
mov rcx, rax
test rax, rax
jne 0x140003495
mov ecx, 0x80004005
call fcn.140002330
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 0x1400034d5
movzx edi, dx
mov ecx, edi
call fcn.14000c1b8
test rax, rax
je 0x1400034df
lea rcx, [rsp + 0x28]
mov r8d, edi
mov rdx, rax
call fcn.140001e70
jmp 0x1400034df
lea rcx, [rsp + 0x28]
call fcn.140003190
mov rdi, qword [0x140051898]
test rdi, rdi
jne 0x140003510
mov ecx, 0xa8
call fcn.14000b25c
test rax, rax
je 0x140003507
mov rcx, rax
call fcn.140003640
mov rdi, rax
jmp 0x140003509
xor edi, edi
mov qword [0x140051898], rdi
lea rdx, [0x14003d948]
mov rcx, rbp
call fcn.1400167c4
lea rdx, [rsp + 0x28]
mov rcx, rdi
mov r8, rax
call fcn.1400038c0
mov rcx, qword [rbp + 0x258]
sub rcx, 0x18
call fcn.140001c60
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rax, qword [0x140051898]
test rax, rax
jne 0x140003576
mov ecx, 0xa8
call fcn.14000b25c
test rax, rax
je 0x14000356d
mov rcx, rax
call fcn.140003640
jmp 0x14000356f
xor eax, eax
mov qword [0x140051898], rax
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140003ef0
mov rdi, qword [0x140051898]
test rdi, rdi
jne 0x1400035b4
mov ecx, 0xa8
call fcn.14000b25c
test rax, rax
je 0x1400035ab
mov rcx, rax
call fcn.140003640
mov rdi, rax
jmp 0x1400035ad
xor edi, edi
mov qword [0x140051898], rdi
lea rcx, [rdi + 8]
call fcn.140017f08
mov rcx, qword [rdi + 0x90]
test rcx, rcx
je 0x1400035cf
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x1400035e1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x1400035f3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], 0
mov qword [rdi + 0x88], 0
mov qword [rdi + 0xa0], 0
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
add rsp, 0x48
pop r12
pop rdi
ret