Function at 0x140002f60
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov r14, rdx
movsxd rsi, ecx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
xor r9d, r9d
mov r8, rdi
xor edx, edx
call fcn.140017f60
test eax, eax
jne 0x140002fc1
lea rcx, str.Fatal_Error:_MFC_initialization_failed_n
call fcn.140021a54
mov eax, 1
jmp 0x140003362
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, 0x2b8
call fcn.14000b2ec
mov qword [rsp + 0x88], rax
test rax, rax
je 0x140002fed
mov rcx, rax
call fcn.140004020
mov r12, rax
jmp 0x140002ff0
xor r12d, r12d
mov ebp, 1
mov r13, rsi
cmp rbp, rsi
jge 0x14000310d
mov rsi, qword [r14 + rbp*8]
call fcn.14000bbec
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x140003102
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x88], rbx
test rsi, rsi
je 0x14000307d
test rsi, 0xffffffffffff0000
jne 0x140003069
movzx edi, si
mov ecx, edi
call fcn.14000c240
test rax, rax
je 0x14000309a
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140001b50
mov rbx, qword [rsp + 0x88]
jmp 0x14000309a
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x14000307f
xor ecx, ecx
mov r8d, ecx
mov rdx, rsi
lea rcx, [rsp + 0x88]
call fcn.140001e50
mov rbx, qword [rsp + 0x88]
cmp qword [r12 + 0x2a0], 0
jne 0x1400030c4
lea rdi, str.____
mov rsi, rbx
mov ecx, 8
repe cmpsw word [rsi], word [rdi]
jne 0x1400030c4
mov byte [r12 + 0x240], 1
jmp 0x1400030d9
lea rcx, [r12 + 0x290]
mov r8, rbx
mov rdx, qword [rcx + 0x10]
call fcn.14000badc
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400030f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc rbp
cmp rbp, r13
jl 0x140003001
jmp 0x14000310d
mov ecx, 0x80004005
call fcn.140002000
int3
mov rcx, r12
call fcn.140005240
cmp byte [r12 + 0x240], 0
jne 0x140003149
mov rax, qword [r12 + 0x258]
cmp dword [rax - 0x10], 0
je 0x140003149
mov rax, qword [r12 + 0x260]
cmp dword [rax - 0x10], 0
je 0x140003149
mov rcx, r12
call fcn.140004ad0
jmp 0x140003362
mov rax, qword [0x140051898]
test rax, rax
jne 0x14000317f
mov ecx, 0xa8
call fcn.14000b2ec
mov qword [rsp + 0x88], rax
test rax, rax
je 0x140003176
mov rcx, rax
call fcn.140003380
jmp 0x140003178
xor eax, eax
mov qword [0x140051898], rax
mov r8d, dword [r12 + 0x244]
xor edx, edx
mov rcx, rax
call fcn.140003790
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x88], rdx
call fcn.14000bbec
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400031bd
mov ecx, 0x80004005
call fcn.140002000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdx, str.WScript
test rdx, 0xffffffffffff0000
jne 0x140003200
movzx edi, dx
mov ecx, edi
call fcn.14000c240
test rax, rax
je 0x14000320b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140001b50
jmp 0x14000320b
lea rcx, [rsp + 0x20]
call fcn.140002e90
nop
mov rdi, qword [0x140051898]
test rdi, rdi
jne 0x140003241
mov ecx, 0xa8
call fcn.14000b2ec
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140003238
mov rcx, rax
call fcn.140003380
mov rdi, rax
jmp 0x14000323a
xor edi, edi
mov qword [0x140051898], rdi
lea rdx, [0x14003d958]
mov rcx, r12
call fcn.140015a2c
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003600
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x88], rdx
mov rcx, qword [r12 + 0x250]
sub rcx, 0x18
call fcn.140002690
add rax, 0x18
mov qword [rsp + 0x28], rax
mov rax, qword [0x140051898]
test rax, rax
jne 0x1400032ba
mov ecx, 0xa8
call fcn.14000b2ec
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400032b1
mov rcx, rax
call fcn.140003380
jmp 0x1400032b3
xor eax, eax
mov qword [0x140051898], rax
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.140003bb0
mov rdi, qword [0x140051898]
test rdi, rdi
jne 0x140003300
mov ecx, 0xa8
call fcn.14000b2ec
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1400032f7
mov rcx, rax
call fcn.140003380
mov rdi, rax
jmp 0x1400032f9
xor edi, edi
mov qword [0x140051898], rdi
lea rcx, [rdi + 8]
call fcn.140018050
mov rcx, qword [rdi + 0x90]
test rcx, rcx
je 0x14000331b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x14000332d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x14000333f
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 rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret