Function at 0x1800172b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x128]
sub rsp, 0x228
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rax, qword [0x180050b58]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov rsi, r9
mov qword [rsp + 0x68], r9
mov rdi, r8
mov qword [rsp + 0x58], r8
mov rbx, rdx
mov qword [rbp - 0x48], rdx
mov r12, rcx
mov qword [rsp + 0x30], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x10], r9
mov r13, qword [rbp + 0x190]
mov qword [rbp - 0x50], r13
mov qword [rbp + 0xb8], 7
xor r14d, r14d
mov qword [rbp + 0xb0], r14
mov word [rbp + 0xa0], r14w
or r15, 0xffffffffffffffff
mov r9, r15
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.1800073e0
nop
lea r8d, [r14 + 1]
lea rdx, [0x180038b98]
lea rcx, [rbp + 0xa0]
call fcn.180013890
mov r9, r15
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.180007700
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rdx, qword [rbp + 0xa0]
lea r8, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1800174df
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r14
mov word [rbp + 0x20], r14w
mov qword [rbp + 0x108], 7
mov qword [rbp + 0x100], r14
mov word [rbp + 0xf0], r14w
xor r8d, r8d
lea rdx, [0x180038c44]
lea rcx, [rbp + 0xf0]
call fcn.180007510
nop
mov qword [rbp + 0x90], 7
mov qword [rbp + 0x88], r14
mov word [rbp + 0x78], r14w
xor r8d, r8d
lea rdx, [0x180038c44]
lea rcx, [rbp + 0x78]
call fcn.180007510
nop
lea r9, [rbp + 0x20]
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0x78]
lea rcx, [rbp - 0x40]
call fcn.180014200
movzx ebx, al
cmp qword [rbp + 0x90], 8
jb 0x180017441
mov rcx, qword [rbp + 0x78]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x90], 7
mov qword [rbp + 0x88], r14
mov word [rbp + 0x78], r14w
cmp qword [rbp + 0x108], 8
jb 0x18001746e
mov rcx, qword [rbp + 0xf0]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test bl, bl
je 0x1800174cf
cmp qword [rbp + 0x30], 0
je 0x1800174cf
mov rax, qword [r12]
lea rdx, [rbp + 0x20]
mov rcx, r12
call qword [rax + 0x58]
movzx ebx, al
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], r14
mov word [rbp + 0x48], r14w
mov r9, r15
xor r8d, r8d
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x48]
call fcn.1800073e0
mov byte [rbp + 0x70], bl
lea rdx, [rbp + 0x48]
mov rcx, r13
call fcn.180016ec0
nop
cmp qword [rbp + 0x60], 8
jb 0x1800174cf
mov rcx, qword [rbp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
cmp qword [rbp + 0x38], 8
jb 0x1800174df
mov rcx, qword [rbp + 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov r8d, 0x10
lea rdx, str.OpenWithProgids
lea rcx, [rbp + 0xa0]
call fcn.180013890
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rdx, qword [rbp + 0xa0]
lea r8, [rbp - 0x38]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r14
mov word [rbp + 0x20], r14w
xor r8d, r8d
lea rdx, [0x180038c44]
lea rcx, [rbp + 0x20]
call fcn.180007510
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x38]
call fcn.180016650
nop
cmp qword [rbp + 0x38], 8
jb 0x18001756f
mov rcx, qword [rbp + 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov r12d, r14d
mov r15, qword [rbp - 0x28]
mov rcx, r15
mov r13, qword [rbp - 0x30]
sub rcx, r13
movabs rax, 0x6666666666666667
imul rcx
mov r14, rdx
sar r14, 4
mov rax, r14
shr rax, 0x3f
add r14, rax
je 0x1800176be
xor r11d, r11d
mov r10d, r11d
lea rsi, [r13 + 0x10]
mov r15, qword [rsp + 0x30]
mov r9, qword [rsi]
cmp r9, r9
cmp qword [rsi + 8], 8
jb 0x1800175c6
mov rcx, qword [rsi - 0x10]
jmp 0x1800175ca
lea rcx, [rsi - 0x10]
mov r8d, 1
cmp r9, r8
cmovb r8, r9
lea rdx, [0x180039af8]
test r8, r8
je 0x180017610
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x1800175fa
add rcx, 2
add rdx, 2
dec r8
jne 0x1800175e3
jmp 0x180017610
mov r8d, 1
cmp word [rcx], ax
mov rcx, 0xffffffffffffffff
cmovb r8d, ecx
jmp 0x180017617
mov r8d, r11d
or rcx, 0xffffffffffffffff
movsxd rax, r8d
test r8d, r8d
jne 0x180017633
cmp r9, 1
jae 0x180017629
mov eax, ecx
jmp 0x180017633
mov eax, r11d
cmp r9, 1
setne al
test eax, eax
sete al
test al, al
jne 0x18001769d
lea rax, [r10 + r10*4]
lea rdi, [r13 + rax*8]
mov rax, qword [r15]
mov rdx, rdi
mov rcx, r15
call qword [rax + 0x58]
movzx ebx, al
mov qword [rbp + 0x60], 7
xor eax, eax
mov qword [rbp + 0x58], rax
mov word [rbp + 0x48], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x48]
call fcn.1800073e0
mov byte [rbp + 0x70], bl
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp - 0x50]
call fcn.180016ec0
nop
cmp qword [rbp + 0x60], 8
jb 0x18001769a
mov rcx, qword [rbp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
xor r11d, r11d
inc r12d
add rsi, 0x28
movsxd r10, r12d
cmp r10, r14
jb 0x1800175b3
mov r15, qword [rbp - 0x28]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
mov qword [rbp + 0xe0], 7
xor r14d, r14d
mov qword [rbp + 0xd8], r14
mov word [rbp + 0xc8], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xc8]
call fcn.1800073e0
nop
lea r8d, [r14 + 1]
lea rdx, [0x180038b98]
lea rcx, [rbp + 0xc8]
call fcn.180013890
or r9, 0xffffffffffffffff
xor r8d, r8d
mov r12, qword [rbp - 0x48]
mov rdx, r12
lea rcx, [rbp + 0xc8]
call fcn.180007700
lea r8d, [r14 + 0xd]
lea rdx, str.OpenWithList
lea rcx, [rbp + 0xc8]
call fcn.180013890
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 8
cmovae rdx, qword [rbp + 0xc8]
lea r8, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x180017847
cmp qword [rbp + 0xe0], 8
jb 0x18001777d
mov rcx, qword [rbp + 0xc8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0xe0], 7
mov qword [rbp + 0xd8], r14
mov word [rbp + 0xc8], r14w
test r13, r13
je 0x1800177d5
mov rbx, r13
cmp r13, r15
je 0x1800177cc
cmp qword [rbx + 0x18], 8
jb 0x1800177b3
mov rcx, qword [rbx]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
mov word [rbx], r14w
add rbx, 0x28
cmp rbx, r15
jne 0x1800177a4
mov rcx, r13
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
cmp qword [rbp + 0xb8], 8
jb 0x1800177eb
mov rcx, qword [rbp + 0xa0]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0xb8], 7
mov qword [rbp + 0xb0], r14
mov word [rbp + 0xa0], r14w
cmp qword [r12 + 0x18], 8
jb 0x180017816
mov rcx, qword [r12]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [r12 + 0x18], 7
mov qword [r12 + 0x10], r14
mov word [r12], r14w
cmp qword [rsi + 0x18], 8
jb 0x180017838
mov rcx, qword [rsi]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsi + 0x18], 7
xor al, al
jmp 0x1800180a7
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov r15d, 7
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x30], r14
mov word [rbp + 0x20], r14w
xor r8d, r8d
lea rdx, [0x180038c44]
lea rcx, [rbp + 0x20]
call fcn.180007510
nop
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.180016650
nop
cmp qword [rbp + 0x38], 8
jb 0x1800178ac
mov rcx, qword [rbp + 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x30], r14
mov word [rbp + 0x20], r14w
mov r8, r15
lea rdx, str.MRUList
lea rcx, [rbp + 0x20]
call fcn.180007510
nop
mov rbx, qword [rbp - 0x68]
lea r8, [rbp + 0x20]
mov rdx, rbx
mov rcx, qword [rbp - 0x70]
call fcn.180003970
cmp rax, rbx
sete bl
cmp qword [rbp + 0x38], 8
jb 0x1800178f7
mov rcx, qword [rbp + 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov r13, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rax, qword [r13]
mov rcx, r13
test bl, bl
je 0x18001792b
lea r8, [rbp - 0x70]
call qword [rax + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x38]
call fcn.180016270
mov r11, qword [rsp + 0x40]
jmp 0x180017e4b
lea r8, [rsp + 0x38]
call qword [rax + 0x50]
nop
mov rsi, qword [rsp + 0x60]
mov qword [rbp - 8], rsi
mov dword [rbp], r14d
mov qword [rbp + 8], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180008a70
mov rdi, qword [rsp + 0x70]
mov dword [rsp + 0x58], r14d
mov ebx, r14d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.MRUList
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800179cd
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x1800179a5
cmp eax, 2
jne 0x1800179cd
mov ecx, dword [rsp + 0x58]
test rdi, rdi
je 0x1800179c9
test ecx, ecx
je 0x1800179c5
test cl, 1
jne 0x1800179cd
mov eax, ecx
shr rax, 1
cmp word [rdi + rax*2 - 2], bx
je 0x1800179c9
jmp 0x1800179cd
mov word [rdi], r14w
mov ebx, ecx
shr ebx, 1
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.180008a70
mov rdi, qword [rsp + 0x70]
lea eax, [rbx + rbx]
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.MRUList
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180017dfc
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x180017a26
cmp eax, 2
jne 0x180017dfc
mov ecx, dword [rsp + 0x58]
test rdi, rdi
je 0x180017a52
test ecx, ecx
je 0x180017a4e
test cl, 1
jne 0x180017dfc
mov eax, ecx
shr rax, 1
cmp word [rdi + rax*2 - 2], 0
je 0x180017a52
jmp 0x180017dfc
mov word [rdi], r14w
shr ecx, 1
je 0x180017dfc
mov rdx, r14
mov qword [rbp + 0xf0], rdx
mov qword [rbp + 0xf8], r14
mov qword [rbp + 0x100], r14
mov edi, r14d
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
sub rax, rcx
sar rax, 1
je 0x180017dd9
movabs rbx, 0x666666666666666
nop word [rax + rax]
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x30], r14
mov word [rbp + 0x20], r14w
movzx eax, word [rcx + rdx*2]
mov word [rbp + 0x20], ax
mov qword [rbp + 0x30], 1
lea rax, [rbp + 0x20]
cmp r15, 8
cmovae rax, qword [rbp + 0x20]
mov word [rax + 2], r14w
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x88], r14
mov word [rbp + 0x78], r14w
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x58], r14
mov word [rbp + 0x48], r14w
xor r8d, r8d
lea rdx, [0x180038c44]
lea rcx, [rbp + 0x48]
call fcn.180007510
nop
lea r9, [rbp + 0x78]
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.180014200
nop
cmp qword [rbp + 0x60], 8
jb 0x180017b2a
mov rcx, qword [rbp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov r11, qword [rsp + 0x40]
cmp qword [rbp + 0x88], 0
jbe 0x180017d55
lea rax, [rbp + 0x78]
cmp rax, r11
jae 0x180017c70
lea rax, [rbp + 0x78]
mov r8, qword [rsp + 0x38]
cmp r8, rax
ja 0x180017c70
lea rcx, [rbp + 0x78]
sub rcx, r8
movabs r10, 0x6666666666666667
mov rax, r10
imul rcx
mov rbx, rdx
sar rbx, 4
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov r9, qword [rsp + 0x48]
cmp r11, r9
jne 0x180017c17
mov rcx, r11
sub rcx, r8
mov rax, r10
imul rcx
mov rcx, rdx
sar rcx, 4
mov rax, rcx
shr rax, 0x3f
add rcx, rax
movabs rax, 0x666666666666665
cmp rcx, rax
ja 0x180017db4
inc rcx
sub r9, r8
mov rax, r10
imul r9
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rcx, rdx
jbe 0x180017c17
mov r8, rdx
shr r8, 1
movabs rax, 0x666666666666666
sub rax, r8
cmp rax, rdx
jae 0x180017bfe
mov rdx, r14
jmp 0x180017c01
add rdx, r8
cmp rdx, rcx
cmovb rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.18000e9b0
mov r11, qword [rsp + 0x40]
lea rcx, [rbx + rbx*4]
mov rax, qword [rsp + 0x38]
lea rdx, [rax + rcx*8]
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x58], r11
test r11, r11
je 0x180017c61
mov qword [r11 + 0x18], r15
mov qword [r11 + 0x10], r14
cmp r15, 8
jb 0x180017c46
mov rax, qword [r11]
jmp 0x180017c49
mov rax, r11
mov word [rax], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, r11
call fcn.1800073e0
mov r11, qword [rsp + 0x40]
movabs rbx, 0x666666666666666
jmp 0x180017d4c
mov r9, qword [rsp + 0x48]
cmp r11, r9
jne 0x180017d0b
mov rcx, r11
mov r8, qword [rsp + 0x38]
sub rcx, r8
movabs r10, 0x6666666666666667
mov rax, r10
imul rcx
mov rcx, rdx
sar rcx, 4
mov rax, rcx
shr rax, 0x3f
add rcx, rax
movabs rax, 0x666666666666665
cmp rcx, rax
ja 0x180017dc2
inc rcx
sub r9, r8
mov rax, r10
imul r9
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rcx, rdx
jbe 0x180017d0b
mov r8, rdx
shr r8, 1
mov rax, rbx
sub rax, r8
cmp rax, rdx
jae 0x180017cf2
mov rdx, r14
jmp 0x180017cf5
add rdx, r8
cmp rdx, rcx
cmovb rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.18000e9b0
mov r11, qword [rsp + 0x40]
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x58], r11
test r11, r11
je 0x180017d4c
mov qword [r11 + 0x18], r15
mov qword [r11 + 0x10], r14
cmp r15, 8
jb 0x180017d2d
mov rax, qword [r11]
jmp 0x180017d30
mov rax, r11
mov word [rax], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x78]
mov rcx, r11
call fcn.1800073e0
mov r11, qword [rsp + 0x40]
add r11, 0x28
mov qword [rsp + 0x40], r11
cmp qword [rbp + 0x90], 8
jb 0x180017d6d
mov rcx, qword [rbp + 0x78]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov r11, qword [rsp + 0x40]
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x88], r14
mov word [rbp + 0x78], r14w
cmp qword [rbp + 0x38], 8
jb 0x180017d95
mov rcx, qword [rbp + 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov r11, qword [rsp + 0x40]
inc edi
movsxd rdx, edi
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
sub rax, rcx
sar rax, 1
cmp rdx, rax
jae 0x180017dd0
jmp 0x180017aa0
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
mov rdx, qword [rbp + 0xf0]
jmp 0x180017dde
mov r11, qword [rsp + 0x40]
test rdx, rdx
je 0x180017e06
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rcx, qword [rbp + 0xf0]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov r11, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180017e25
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rcx, qword [rsp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov r11, qword [rsp + 0x40]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
test rsi, rsi
je 0x180017e46
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r11, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x68]
mov edi, r14d
sub r11, qword [rsp + 0x38]
movabs rax, 0x6666666666666667
imul r11
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x180017f53
mov r8, r14
mov r12, qword [rbp - 0x50]
movabs rsi, 0x6666666666666667
nop word [rax + rax]
lea rcx, [r8 + r8*4]
mov rax, qword [rsp + 0x38]
lea rdx, [rax + rcx*8]
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x30], r14
mov word [rbp + 0x20], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp + 0x20]
call fcn.1800073e0
nop
mov rax, qword [r13]
lea rdx, [rbp + 0x20]
mov rcx, r13
call qword [rax + 0x58]
movzx ebx, al
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x58], r14
mov word [rbp + 0x48], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x48]
call fcn.1800073e0
mov byte [rbp + 0x70], bl
lea rdx, [rbp + 0x48]
mov rcx, r12
call fcn.180016ec0
nop
cmp qword [rbp + 0x60], 8
jb 0x180017f0e
mov rcx, qword [rbp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
cmp qword [rbp + 0x38], 8
jb 0x180017f1e
mov rcx, qword [rbp + 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
inc edi
movsxd r8, edi
mov rcx, qword [rsp + 0x40]
sub rcx, qword [rsp + 0x38]
mov rax, rsi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jb 0x180017e90
mov rsi, qword [rsp + 0x68]
mov r12, qword [rbp - 0x48]
cmp qword [rbp - 0x70], 0
je 0x180017fa1
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rdi, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
cmp rbx, rdi
je 0x180017f99
cmp qword [rbx + 0x18], 8
jb 0x180017f80
mov rcx, qword [rbx]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x10], r14
mov word [rbx], r14w
add rbx, 0x28
cmp rbx, rdi
jne 0x180017f71
mov rbx, qword [rbp - 0x70]
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
cmp qword [rsp + 0x38], 0
je 0x180018001
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::_Container_base0::_Orphan_all_void____ptr64]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
cmp rbx, rdi
je 0x180017ff9
nop
cmp qword [rbx + 0x18], 8
jb 0x180017fdf
mov rcx, qword [rbx]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x10], r14
mov word [rbx], r14w
add rbx, 0x28
cmp rbx, rdi
jne 0x180017fd0
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
cmp qword [rbp + 0xe0], 8
jb 0x180018026
mov rcx, qword [rbp + 0xc8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xd8], r14
mov word [rbp + 0xc8], r14w
lea rcx, [rbp - 0x30]
call fcn.18000cd60
nop
cmp qword [rbp + 0xb8], 8
jb 0x18001805c
mov rcx, qword [rbp + 0xa0]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xb0], r14
mov word [rbp + 0xa0], r14w
cmp qword [r12 + 0x18], 8
jb 0x180018083
mov rcx, qword [r12]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [r12 + 0x18], r15
mov qword [r12 + 0x10], r14
mov word [r12], r14w
cmp qword [rsi + 0x18], 8
jb 0x1800180a1
mov rcx, qword [rsi]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsi + 0x18], r15
mov al, 1
mov qword [rsi + 0x10], r14
mov word [rsi], r14w
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.18002f870
add rsp, 0x228
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret