Function at 0x180014d70
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x248], rbx
mov rax, qword [0x180050b58]
xor rax, rsp
mov qword [rbp + 0xe8], rax
mov r14, r8
mov r12, rdx
mov qword [rbp - 0x38], rdx
mov rax, qword [rcx]
call qword [rax + 0x28]
mov qword [rbp + 0x88], 7
xor r15d, r15d
mov qword [rbp + 0x80], r15
mov word [rbp + 0x70], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp + 0x70]
call fcn.1800073e0
nop
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r15
mov word [rbp - 8], r15w
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], r15
mov word [rbp + 0x48], r15w
mov qword [rbp + 0xd8], 7
mov qword [rbp + 0xd0], r15
mov word [rbp + 0xc0], r15w
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r15d
mov qword [rbp - 0x78], r15
mov r9d, 0x20006
lea r8, str.SoftwareClassesApplications
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x78]
call fcn.180001320
test eax, eax
je 0x180014fff
mov qword [rsp + 0x68], r15
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x180014ef8
cmp qword [rbx], r15
je 0x180014eeb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x180014e8b
lea eax, [r15 + 1]
jmp 0x180014f38
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180014ef1
mov qword [rsp + 0x50], r15
mov r8, qword [rbx]
mov qword [rsp + 0x48], r8
lea r8, [rsp + 0x70]
mov qword [rsp + 0x40], r8
lea r8, [rsp + 0x68]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesApplications
mov rcx, 0xffffffff80000001
call rax
jmp 0x180014f38
cmp dword [rbx + 8], 0
jne 0x180014ef8
mov eax, 1
jmp 0x180014f38
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesApplications
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180014f67
mov eax, r15d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180014f4f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, qword [rsp + 0x68]
mov qword [rsp + 0x78], r13
mov dword [rbp - 0x80], r15d
test eax, eax
je 0x180015004
jmp 0x180014f6c
mov r13, qword [rsp + 0x78]
test r13, r13
je 0x180014f7b
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0x60], 8
jb 0x180014f8b
mov rcx, qword [rbp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], r15
mov word [rbp + 0x48], r15w
cmp qword [rbp + 0x10], 8
jb 0x180014fac
mov rcx, qword [rbp - 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r15
mov word [rbp - 8], r15w
cmp qword [rbp + 0x88], 8
jb 0x180014fd0
mov rcx, qword [rbp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], r15
mov word [rbp + 0x70], r15w
cmp qword [r12 + 0x18], 8
jb 0x180014ff8
mov rcx, qword [r12]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
xor al, al
jmp 0x180015913
mov r13, qword [rsp + 0x78]
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.1800073e0
nop
lea rdx, [rbp - 0x30]
mov r8, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x18]
cmp rcx, 8
cmovae rdx, r8
mov rax, qword [rbp - 0x20]
lea rbx, [rdx + rax*2]
lea rdi, [rbp - 0x30]
cmovae rdi, r8
mov edx, 0x5c
or r8, 0xffffffffffffffff
lea rcx, [rbp - 0x30]
call fcn.180003520
lea rdx, [rdi + rax*2 + 2]
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r15
mov word [rbp + 0x20], r15w
movzx r9d, byte [rsp + 0x60]
mov r8, rbx
lea rcx, [rbp + 0x20]
call fcn.180008430
nop
cmp qword [rbp - 0x18], 8
jb 0x180015099
mov rcx, qword [rbp - 0x30]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
mov rcx, qword [rbp + 0x38]
cmp rcx, 8
jae 0x1800150d1
mov r8, qword [rbp + 0x30]
lea r8, [r8 + r8 + 2]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCR100.dll_memmove]
mov rcx, qword [rbp + 0x38]
jmp 0x1800150d9
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 8]
call fcn.1800073e0
lea rdi, [rbp - 8]
mov rsi, qword [rbp - 8]
mov rbx, qword [rbp + 0x10]
cmp rbx, 8
cmovae rdi, rsi
mov edx, 0x2e
or r8, 0xffffffffffffffff
lea rcx, [rbp - 8]
call fcn.180003520
lea r8, [rdi + rax*2]
lea rdx, [rbp - 8]
cmp rbx, 8
cmovae rdx, rsi
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r15
mov word [rbp + 0x20], r15w
movzx r9d, byte [rsp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.180008430
nop
cmp qword [rbp + 0x10], 8
jb 0x180015160
mov rcx, qword [rbp - 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r15
mov word [rbp - 8], r15w
mov rcx, qword [rbp + 0x38]
cmp rcx, 8
jae 0x180015198
mov r8, qword [rbp + 0x30]
lea r8, [r8 + r8 + 2]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCR100.dll_memmove]
mov rcx, qword [rbp + 0x38]
jmp 0x1800151a0
mov rax, qword [rbp + 0x20]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x68], r15d
mov qword [rbp - 0x60], r15
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r8, qword [rbp - 0x30]
mov r9d, 0x2001f
mov rdx, r13
lea rcx, [rbp - 0x70]
call fcn.180001320
test eax, eax
je 0x180015813
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rbx, qword [rbp - 0x30]
mov qword [rsp + 0x68], r15
mov rdi, qword [rbp - 0x60]
test rdi, rdi
je 0x180015287
cmp qword [rdi], 0
je 0x18001527a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x180015222
mov eax, 1
jmp 0x1800152bf
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180015280
mov qword [rsp + 0x50], r15
mov rcx, qword [rdi]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call rax
jmp 0x1800152bf
cmp dword [rdi + 8], 0
jne 0x180015287
mov eax, 1
jmp 0x1800152bf
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18001575f
mov eax, r15d
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1800152d9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x68]
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x68], r15d
test eax, eax
jne 0x180015763
lea r8d, [rax + 0xd]
lea rdx, str.Applications_
lea rcx, [rbp + 0x48]
call fcn.180007510
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x48]
call fcn.180007700
mov rcx, rbx
test rbx, rbx
je 0x18001532b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r15
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x68], r15d
mov qword [rbp + 0xb0], 7
mov qword [rbp + 0xa8], r15
mov word [rbp + 0x98], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x98]
call fcn.1800073e0
nop
mov r8d, 0x13
lea rdx, str._shellopencommand
lea rcx, [rbp + 0x98]
call fcn.180013890
mov qword [rbp - 0x58], r15
mov dword [rbp - 0x50], r15d
mov qword [rbp - 0x48], r15
lea rdx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 8
cmovae rdx, qword [rbp + 0x98]
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180015656
mov rdi, qword [rsp + 0x68]
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x50], r15d
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r15
mov word [rbp + 0x20], r15w
lea r8d, [rax + 1]
lea rdx, [0x180039888]
lea rcx, [rbp + 0x20]
call fcn.180007510
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp + 0x20]
call fcn.180007700
mov r8d, 6
lea rdx, str.____1_
lea rcx, [rbp + 0x20]
call fcn.180013890
lea rsi, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rsi, qword [rbp + 0x20]
mov eax, r15d
test rsi, rsi
setne al
test eax, eax
je 0x180015507
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, [0x180038c44]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x180015507
test rdi, rdi
je 0x18001549e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r15
test r13, r13
je 0x1800154b4
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, r15
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r15d
cmp qword [rbp + 0x38], 8
jb 0x1800154c8
mov rcx, qword [rbp + 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r15
mov word [rbp + 0x20], r15w
test rdi, rdi
je 0x1800154e8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0xb0], 8
jb 0x180015817
mov rcx, qword [rbp + 0x98]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x180015817
test rdi, rdi
je 0x180015518
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r15
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rcx, [rsp + 0x78]
call fcn.180013540
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x180015546
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r15
cmp qword [rbp + 0x38], 8
jb 0x180015556
mov rcx, qword [rbp + 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r15
mov word [rbp + 0x20], r15w
test rdi, rdi
je 0x180015576
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0xb0], 8
jb 0x18001558c
mov rcx, qword [rbp + 0x98]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0xb0], 7
mov qword [rbp + 0xa8], r15
mov word [rbp + 0x98], r15w
test rbx, rbx
je 0x1800155b5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp - 0x18], 8
jb 0x1800155c5
mov rcx, qword [rbp - 0x30]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
test rsi, rsi
je 0x1800155e5
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0x60], 8
jb 0x1800155f5
mov rcx, qword [rbp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], r15
mov word [rbp + 0x48], r15w
cmp qword [rbp + 0x10], 8
jb 0x180015616
mov rcx, qword [rbp - 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r15
mov word [rbp - 8], r15w
cmp qword [rbp + 0x88], 8
jb 0x18001563a
mov rcx, qword [rbp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], r15
mov word [rbp + 0x70], r15w
jmp 0x180014fe7
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rcx, [rsp + 0x78]
call fcn.180013490
test r13, r13
je 0x18001567f
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, r15
cmp qword [rbp + 0xb0], 8
jb 0x180015695
mov rcx, qword [rbp + 0x98]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0xb0], 7
mov qword [rbp + 0xa8], r15
mov word [rbp + 0x98], r15w
test rbx, rbx
je 0x1800156be
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp - 0x18], 8
jb 0x1800156ce
mov rcx, qword [rbp - 0x30]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
test r13, r13
je 0x1800156ee
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0x60], 8
jb 0x1800156fe
mov rcx, qword [rbp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], r15
mov word [rbp + 0x48], r15w
cmp qword [rbp + 0x10], 8
jb 0x18001571f
mov rcx, qword [rbp - 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r15
mov word [rbp - 8], r15w
cmp qword [rbp + 0x88], 8
jb 0x180015743
mov rcx, qword [rbp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], r15
mov word [rbp + 0x70], r15w
jmp 0x180014fe7
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x180015772
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp - 0x18], 8
jb 0x180015782
mov rcx, qword [rbp - 0x30]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
test r13, r13
je 0x1800157a2
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0x60], 8
jb 0x1800157b2
mov rcx, qword [rbp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], r15
mov word [rbp + 0x48], r15w
cmp qword [rbp + 0x10], 8
jb 0x1800157d3
mov rcx, qword [rbp - 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r15
mov word [rbp - 8], r15w
cmp qword [rbp + 0x88], 8
jb 0x1800157f7
mov rcx, qword [rbp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], r15
mov word [rbp + 0x70], r15w
jmp 0x180014fe7
mov rbx, qword [rbp - 0x70]
mov r8d, 0xd
lea rdx, str.Applications_
lea rcx, [rbp + 0x48]
call fcn.180007510
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x48]
call fcn.180007700
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x48]
mov rcx, r14
call fcn.1800073e0
nop
test rbx, rbx
je 0x180015864
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp - 0x18], 8
jb 0x180015874
mov rcx, qword [rbp - 0x30]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
test r13, r13
je 0x180015894
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rbp + 0x60], 8
jb 0x1800158a4
mov rcx, qword [rbp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], r15
mov word [rbp + 0x48], r15w
cmp qword [rbp + 0x10], 8
jb 0x1800158c5
mov rcx, qword [rbp - 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r15
mov word [rbp - 8], r15w
cmp qword [rbp + 0x88], 8
jb 0x1800158e9
mov rcx, qword [rbp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], r15
mov word [rbp + 0x70], r15w
cmp qword [r12 + 0x18], 8
jb 0x180015911
mov rcx, qword [r12]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov al, 1
mov qword [r12 + 0x18], 7
mov qword [r12 + 0x10], r15
mov word [r12], r15w
mov rcx, qword [rbp + 0xe8]
xor rcx, rsp
call fcn.18002f870
mov rbx, qword [rsp + 0x248]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret