Function at 0x14006bf80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
movaps xmmword [rsp + 0x2d0], xmm6
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov r14, r8
mov esi, edx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov byte [rsp + 0x34], 1
call fcn.14006be10
nop
mov qword [rsp + 0x228], r13
lea rcx, [rsp + 0x228]
call fcn.14006ec00
test al, al
jne 0x14006c09e
lea rcx, [0x140226720]
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14006c005
lock inc dword [rax + 8]
movups xmm6, xmmword [0x140226700]
movups xmmword [rsp + 0x120], xmm6
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
movq rcx, xmm6
mov rax, qword [rcx]
lea rdx, str.Failed_to_initialize_the_script_host
call qword [rax + VariantCopy]
nop
mov rcx, qword [rsp + 0x128]
mov rdi, 0xffffffffffffffff
test rcx, rcx
je 0x14006c07f
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006c07f
mov rbx, qword [rsp + 0x128]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006c07f
mov rcx, qword [rsp + 0x128]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rcx, qword [rsp + 0x228]
test rcx, rcx
je 0x14006c092
call fcn.14008dcf0
nop
call fcn.14006be40
mov eax, edi
jmp 0x14006d38c
lea r15, str.Main_script
mov qword [rsp + 0x1f0], r15
lea r12, str.Initialization
mov qword [rsp + 0x1f8], r12
mov byte [rsp + 0x200], 1
test byte [0x140226980], 1
je 0x14006c0e0
mov r9, r15
mov r8, r12
lea rdx, [0x1401ebe30]
call fcn.14006be70
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x278], xmm0
movups xmmword [rsp + 0x288], xmm0
lea rax, vtable.NInstaller::CScriptResLoader.0
mov qword [rsp + 0x278], rax
movdqu xmmword [rsp + 0x280], xmm0
mov qword [rsp + 0x290], r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
movzx r9d, r13w
lea r8, str.root
lea rdx, str.ASSETS
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rbx, rax
test rax, rax
je 0x14006d2a8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14006d2a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x14006d2a8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x14006d2a8
mov qword [rsp + 0x280], rdi
mov qword [rsp + 0x290], r13
mov eax, eax
mov qword [rsp + 0x288], rax
lea rax, vtable.NInstaller::CException.0
mov qword [rsp + 0x248], rax
mov qword [rsp + 0x250], r13
movdqa xmm0, xmmword [0x1401efbc0]
movdqu xmmword [rsp + 0x260], xmm0
mov byte [rsp + 0x250], 0
mov dword [rsp + 0x270], r13d
mov rcx, qword [rsp + 0x228]
test rcx, rcx
je 0x14006d0ad
xorps xmm0, xmm0
movups xmmword [rsp + 0x298], xmm0
mov qword [rsp + 0x118], rcx
lea rcx, [rsp + 0x278]
mov rax, qword [rsp + 0x278]
call qword [rax + VariantCopy]
mov r9, rax
lea r8, [rsp + 0x278]
lea rdx, [rsp + 0x298]
lea rcx, [rsp + 0x118]
call fcn.14006dad0
mov r8d, dword [rsp + 0x298]
test r8d, r8d
jne 0x14006d081
mov rcx, qword [rsp + 0x2a0]
test rcx, rcx
je 0x14006c25c
call fcn.1401568b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x2a8], xmm0
movups xmmword [rsp + 0x2b8], xmm0
mov r8, r14
mov edx, esi
lea rcx, [rsp + 0x2a8]
call fcn.14006bab0
nop
mov eax, dword [0x140226980]
test al, 1
je 0x14006c2a4
mov r9, r15
mov r8, r12
lea rdx, [0x1401ebe20]
call fcn.14006be70
mov eax, dword [0x140226980]
mov byte [rsp + 0x200], 0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x230], xmm1
mov qword [rsp + 0x240], r13
lea rsi, str.Entry_point
mov qword [rsp + 0x210], rsi
lea r15, str.Execution
mov qword [rsp + 0x218], r15
mov byte [rsp + 0x220], 1
test al, 1
je 0x14006c2fd
mov r9, rsi
mov r8, r15
lea rdx, [0x1401ebe30]
call fcn.14006be70
nop
lea rax, [rsp + 0x230]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x248]
lea r8, [rsp + 0x2a8]
lea rdx, [0x1401ebf70]
lea rcx, [rsp + 0x228]
call fcn.14006dc90
test al, al
jne 0x14006c5b9
lea rcx, [0x140226720]
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14006c352
lock inc dword [rax + 8]
movups xmm6, xmmword [0x140226700]
movups xmmword [rsp + 0x130], xmm6
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
movq rcx, xmm6
mov rax, qword [rcx]
lea rdx, str.Failed_to_Execute_entrypoint:_n___
call qword [rax + VariantCopy]
nop
mov rcx, qword [rsp + 0x138]
mov rdi, 0xffffffffffffffff
test rcx, rcx
je 0x14006c3cb
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006c3cb
mov rbx, qword [rsp + 0x138]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006c3cb
mov rcx, qword [rsp + 0x138]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
lea rcx, [0x140226720]
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14006c3e7
lock inc dword [rax + 8]
movups xmm6, xmmword [0x140226700]
movups xmmword [rsp + 0x140], xmm6
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
lea rdx, [rsp + 0x250]
cmp qword [rsp + 0x268], 0x10
cmovae rdx, qword [rsp + 0x250]
movq rcx, xmm6
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rcx, qword [rsp + 0x148]
test rcx, rcx
je 0x14006c46d
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006c46d
mov rbx, qword [rsp + 0x148]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006c46d
mov rcx, qword [rsp + 0x148]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
test byte [0x140226980], 1
je 0x14006c489
mov r9, rsi
mov r8, r15
lea rdx, [0x1401ebe20]
call fcn.14006be70
nop
mov rcx, qword [rsp + 0x230]
test rcx, rcx
je 0x14006c4e3
mov rdx, qword [rsp + 0x240]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c4ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3e2
call fcn.14014f900
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x240], r13
mov rcx, qword [rsp + 0x2c0]
test rcx, rcx
je 0x14006c51c
lea rbx, [rcx - 8]
lea r9, [0x1400233a0]
mov r8, qword [rbx]
mov edx, 8
call fcn.14014fe80
mov rdx, qword [rbx]
lea rdx, [rdx*8 + 8]
mov rcx, rbx
call fcn.14014ff58
nop
mov rcx, qword [rsp + 0x2b8]
test rcx, rcx
je 0x14006c52f
call fcn.14014f900
nop
mov rdx, qword [rsp + 0x268]
cmp rdx, 0x10
jb 0x14006c572
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c56d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3e8
call fcn.14014f900
movdqa xmm0, xmmword [0x1401efbc0]
movdqu xmmword [rsp + 0x260], xmm0
mov byte [rsp + 0x250], 0
lea rax, vtable.NInstaller::CScriptResLoader.0
mov qword [rsp + 0x278], rax
mov rcx, qword [rsp + 0x228]
test rcx, rcx
je 0x14006c5ad
call fcn.14008dcf0
nop
call fcn.14006be40
mov eax, edi
jmp 0x14006d38c
mov rcx, qword [rsp + 0x230]
cmp dword [rcx], 3
je 0x14006c981
lea rcx, [0x140226720]
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14006c5e6
lock inc dword [rax + 8]
movups xmm0, xmmword [0x140226700]
movups xmmword [rsp + 0xd8], xmm0
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
mov rax, qword [rsp + 0x230]
mov edx, dword [rax]
lea rcx, [rsp + 0x190]
call fcn.14003e5e0
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x1c
jb 0x14006c6c9
lea rax, [r8 + 0x1c]
mov qword [rbx + 0x10], rax
mov rsi, rbx
cmp rcx, 0x10
jb 0x14006c648
mov rsi, qword [rbx]
lea rax, [0x1401ebfac]
lea r14, str.Return_code_isnt_a_double:
cmp rax, rsi
jbe 0x14006c67b
lea rax, [rsi + r8]
cmp r14, rax
ja 0x14006c67b
mov edi, 0x1c
cmp rsi, r14
ja 0x14006c673
mov r15, r13
jmp 0x14006c683
mov r15, rsi
sub r15, r14
jmp 0x14006c683
mov edi, 0x1c
mov r15d, edi
lea rcx, [rsi + 0x1c]
inc r8
mov rdx, rsi
call fcn.140152550
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.140152550
lea rcx, [rsi + r15]
sub rdi, r15
lea rdx, [0x1401ebfac]
add rdx, r15
mov r8, rdi
call fcn.140152550
lea rsi, str.Entry_point
lea r15, str.Execution
jmp 0x14006c6ec
mov edi, 0x1c
mov qword [rsp + 0x28], rdi
lea r14, str.Return_code_isnt_a_double:
mov qword [rsp + 0x20], r14
mov edx, edi
mov rcx, rbx
call fcn.14006e2c0
mov rbx, rax
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14006c778
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c773
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3be
call fcn.14014f900
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x1a8]
cmp rdx, 0x10
jb 0x14006c7ce
inc rdx
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c7c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3c4
call fcn.14014f900
mov qword [rsp + 0x1a0], r13
mov qword [rsp + 0x1a8], 0xf
mov byte [rsp + 0x190], 0
mov rcx, qword [rsp + 0xe0]
mov rdi, 0xffffffffffffffff
test rcx, rcx
je 0x14006c835
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006c835
mov rbx, qword [rsp + 0xe0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006c835
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
test byte [0x140226980], 1
je 0x14006c851
mov r9, rsi
mov r8, r15
lea rdx, [0x1401ebe20]
call fcn.14006be70
nop
mov rcx, qword [rsp + 0x230]
test rcx, rcx
je 0x14006c8ab
mov rdx, qword [rsp + 0x240]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c892
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3e2
call fcn.14014f900
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x240], r13
mov rcx, qword [rsp + 0x2c0]
test rcx, rcx
je 0x14006c8e4
lea rbx, [rcx - 8]
lea r9, [0x1400233a0]
mov r8, qword [rbx]
mov edx, 8
call fcn.14014fe80
mov rdx, qword [rbx]
lea rdx, [rdx*8 + 8]
mov rcx, rbx
call fcn.14014ff58
nop
mov rcx, qword [rsp + 0x2b8]
test rcx, rcx
je 0x14006c8f7
call fcn.14014f900
nop
mov rdx, qword [rsp + 0x268]
cmp rdx, 0x10
jb 0x14006c93a
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c935
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3e8
call fcn.14014f900
movdqa xmm0, xmmword [0x1401efbc0]
movdqu xmmword [rsp + 0x260], xmm0
mov byte [rsp + 0x250], 0
lea rax, vtable.NInstaller::CScriptResLoader.0
mov qword [rsp + 0x278], rax
mov rcx, qword [rsp + 0x228]
test rcx, rcx
je 0x14006c975
call fcn.14008dcf0
nop
call fcn.14006be40
mov eax, edi
jmp 0x14006d38c
cvttsd2si r12d, qword [rcx + 8]
cmp r12d, 0xffffffff
jne 0x14006cf35
cmp dword [rcx + 0x10], 4
lea rcx, [0x140226720]
jne 0x14006cb6a
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14006c9b7
lock inc dword [rax + 8]
movups xmm0, xmmword [0x140226700]
movups xmmword [rsp + 0xf8], xmm0
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
mov dword [rsp + 0x30], 1
mov rax, qword [rsp + 0x230]
mov rdx, qword [rax + 0x18]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14006ca10
lea rcx, [rsp + 0x38]
call fcn.140020ae0
nop
mov dword [rsp + 0x30], 3
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
sub rax, r8
lea rsi, str.Entrypoint_failed:
cmp rax, 0x13
jb 0x14006cadb
lea rax, [r8 + 0x13]
mov qword [rsp + 0x48], rax
lea r14, [rsp + 0x38]
cmp rcx, 0x10
cmovae r14, qword [rsp + 0x38]
lea rax, [0x1401ec023]
cmp rax, r14
jbe 0x14006ca92
lea rax, [r14 + r8]
cmp rsi, rax
ja 0x14006ca92
mov ebx, 0x13
cmp r14, rsi
ja 0x14006ca8a
mov r15, r13
jmp 0x14006ca9a
mov r15, r14
sub r15, rsi
jmp 0x14006ca9a
mov ebx, 0x13
mov r15d, ebx
lea rcx, [r14 + 0x13]
inc r8
mov rdx, r14
call fcn.140152550
mov r8, r15
mov rdx, rsi
mov rcx, r14
call fcn.140152550
lea rcx, [r14 + r15]
sub rbx, r15
lea rdx, [r15 + 0x13]
add rdx, rsi
mov r8, rbx
call fcn.140152550
lea rax, [rsp + 0x38]
lea r15, str.Execution
jmp 0x14006caf6
mov ebx, 0x13
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.14006e2c0
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xb0], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov ebx, 0x87
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
jmp 0x14006ccf6
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14006cb7f
lock inc dword [rax + 8]
movups xmm0, xmmword [0x140226700]
movups xmmword [rsp + 0xe8], xmm0
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
mov dword [rsp + 0x30], 8
mov rax, qword [rsp + 0x230]
mov edx, dword [rax + 0x10]
lea rcx, [rsp + 0x1b0]
call fcn.14003e5e0
mov rbx, rax
mov dword [rsp + 0x30], 0x18
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x35
jb 0x14006cc69
lea rax, [r8 + 0x35]
mov qword [rbx + 0x10], rax
mov r14, rbx
cmp rcx, 0x10
jb 0x14006cbf2
mov r14, qword [rbx]
lea rax, [0x1401ec00d]
lea rsi, str.Entrypoint_failed__but_error_message_isnt_a_string:
cmp rax, r14
jbe 0x14006cc25
lea rax, [r14 + r8]
cmp rsi, rax
ja 0x14006cc25
mov edi, 0x35
cmp r14, rsi
ja 0x14006cc1d
mov r15, r13
jmp 0x14006cc2d
mov r15, r14
sub r15, rsi
jmp 0x14006cc2d
mov edi, 0x35
mov r15d, edi
lea rcx, [r14 + 0x35]
inc r8
mov rdx, r14
call fcn.140152550
mov r8, r15
mov rdx, rsi
mov rcx, r14
call fcn.140152550
lea rcx, [r14 + r15]
sub rdi, r15
lea rdx, [r15 + 0x35]
add rdx, rsi
mov r8, rdi
call fcn.140152550
lea r15, str.Execution
jmp 0x14006cc8c
mov edi, 0x35
mov qword [rsp + 0x28], rdi
lea rsi, str.Entrypoint_failed__but_error_message_isnt_a_string:
mov qword [rsp + 0x20], rsi
mov edx, edi
mov rcx, rbx
call fcn.14006e2c0
mov rbx, rax
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r13
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x88], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov ebx, 0x138
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rdi, 0xffffffffffffffff
test bl, 0x20
je 0x14006cd5b
and ebx, 0xffffffdf
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x14006cd42
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cd3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3ca
call fcn.14014f900
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], 0xf
mov byte [rsp + 0x78], 0
test bl, 0x10
je 0x14006cdc6
and ebx, 0xffffffef
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x1c8]
cmp rdx, 0x10
jb 0x14006cdaa
inc rdx
mov rcx, qword [rsp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cda5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3d0
call fcn.14014f900
mov qword [rsp + 0x1c0], r13
mov qword [rsp + 0x1c8], 0xf
mov byte [rsp + 0x1b0], 0
test bl, 8
je 0x14006ce19
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14006ce19
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006ce15
mov rbx, qword [rsp + 0xf0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006ce15
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov ebx, dword [rsp + 0x30]
test bl, 4
je 0x14006ce84
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x14006ce68
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ce63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3d6
call fcn.14014f900
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xb0], 0xf
mov byte [rsp + 0x98], 0
test bl, 2
je 0x14006cee0
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14006cecd
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cec8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3dc
call fcn.14014f900
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
test bl, 1
je 0x14006cf26
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x14006cf26
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006cf26
mov rbx, qword [rsp + 0x100]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14006cf26
mov rcx, qword [rsp + 0x100]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
lea rsi, str.Entry_point
mov rcx, qword [rsp + 0x230]
test byte [0x140226980], 1
je 0x14006cf58
mov r9, rsi
mov r8, r15
lea rdx, [0x1401ebe20]
call fcn.14006be70
mov rcx, qword [rsp + 0x230]
test rcx, rcx
je 0x14006cfaa
mov rdx, qword [rsp + 0x240]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cf91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3e2
call fcn.14014f900
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x240], r13
mov rcx, qword [rsp + 0x2c0]
test rcx, rcx
je 0x14006cfe3
lea rbx, [rcx - 8]
lea r9, [0x1400233a0]
mov r8, qword [rbx]
mov edx, 8
call fcn.14014fe80
mov rdx, qword [rbx]
lea rdx, [rdx*8 + 8]
mov rcx, rbx
call fcn.14014ff58
nop
mov rcx, qword [rsp + 0x2b8]
test rcx, rcx
je 0x14006cff6
call fcn.14014f900
nop
mov rdx, qword [rsp + 0x268]
cmp rdx, 0x10
jb 0x14006d039
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d034
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3e8
call fcn.14014f900
movdqa xmm0, xmmword [0x1401efbc0]
movdqu xmmword [rsp + 0x260], xmm0
mov byte [rsp + 0x250], 0
lea rax, vtable.NInstaller::CScriptResLoader.0
mov qword [rsp + 0x278], rax
mov rcx, qword [rsp + 0x228]
test rcx, rcx
je 0x14006d074
call fcn.14008dcf0
nop
call fcn.14006be40
mov eax, r12d
jmp 0x14006d38c
mov rax, qword [rsp + 0x248]
mov rbx, qword [rsp + 0x2a0]
mov rdx, rbx
lea rcx, [rsp + 0x248]
call qword [rax]
test rbx, rbx
je 0x14006d0cb
mov rcx, rbx
call fcn.1401568b0
jmp 0x14006d0cb
mov rax, qword [vtable.NInstaller::CException.0]
mov r8d, 1
lea rdx, str.Object_is_not_initialized_or_loader_is_null
lea rcx, [rsp + 0x248]
call rax
lea rcx, [0x140226720]
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14006d0e7
lock inc dword [rax + 8]
movups xmm6, xmmword [0x140226700]
movups xmmword [rsp + 0x150], xmm6
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
movq rcx, xmm6
mov rax, qword [rcx]
lea rdx, str.Failed_to_load_root_script:_n___
call qword [rax + VariantCopy]
nop
mov rcx, qword [rsp + 0x158]
mov rdi, 0xffffffffffffffff
test rcx, rcx
je 0x14006d160
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006d160
mov rbx, qword [rsp + 0x158]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006d160
mov rcx, qword [rsp + 0x158]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
lea rcx, [0x140226720]
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14006d17c
lock inc dword [rax + 8]
movups xmm6, xmmword [0x140226700]
movups xmmword [rsp + 0x160], xmm6
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
lea rdx, [rsp + 0x250]
cmp qword [rsp + 0x268], 0x10
cmovae rdx, qword [rsp + 0x250]
movq rcx, xmm6
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rcx, qword [rsp + 0x168]
test rcx, rcx
je 0x14006d202
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006d202
mov rbx, qword [rsp + 0x168]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006d202
mov rcx, qword [rsp + 0x168]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x268]
cmp rdx, 0x10
jb 0x14006d245
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d240
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d3e8
call fcn.14014f900
movdqa xmm0, xmmword [0x1401efbc0]
movdqu xmmword [rsp + 0x260], xmm0
mov byte [rsp + 0x250], 0
lea rax, vtable.NInstaller::CScriptResLoader.0
mov qword [rsp + 0x278], rax
test byte [0x140226980], 1
je 0x14006d289
mov r9, r15
mov r8, r12
lea rdx, [0x1401ebe20]
call fcn.14006be70
nop
mov rcx, qword [rsp + 0x228]
test rcx, rcx
je 0x14006d29c
call fcn.14008dcf0
nop
call fcn.14006be40
mov eax, edi
jmp 0x14006d38c
lea rcx, [0x140226720]
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14006d2c4
lock inc dword [rax + 8]
movups xmm6, xmmword [0x140226700]
movups xmmword [rsp + 0x170], xmm6
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
movq rcx, xmm6
mov rax, qword [rcx]
lea rdx, str.Failed_to_init_root_loader
call qword [rax + VariantCopy]
nop
mov rcx, qword [rsp + 0x178]
mov rdi, 0xffffffffffffffff
test rcx, rcx
je 0x14006d33e
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006d33e
mov rbx, qword [rsp + 0x178]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006d33e
mov rcx, qword [rsp + 0x178]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rax, vtable.NInstaller::CScriptResLoader.0
mov qword [rsp + 0x278], rax
test byte [0x140226980], 1
je 0x14006d369
mov r9, r15
mov r8, r12
lea rdx, [0x1401ebe20]
call fcn.14006be70
nop
mov rcx, qword [rsp + 0x228]
test rcx, rcx
je 0x14006d37c
call fcn.14008dcf0
nop
call fcn.14006be40
mov eax, edi
jmp 0x14006d38c
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.14014f8e0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
nop
call fcn.140156b00
int3