Function at 0x14005f730
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor r13d, r13d
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x58], r13d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9d, [r13 + 3]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14005f88d
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
lea rsi, [0x140433b50]
mov rcx, rsi
call sub.ntdll.dll_memset
lea edx, [r13 + 0x5c]
lea rcx, str..._reg.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x14005f873
mov byte [rsp + 0x160], r13b
xor eax, eax
mov qword [rsp + 0x161], rax
mov word [rsp + 0x169], ax
mov byte [rsp + 0x16b], al
mov r8d, 0x33b
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0x160]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rsi
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
mov byte [rdx + rcx], al
add rdx, 1
test al, al
jne 0x14005f830
mov rdi, rsi
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x160]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x14005f860
mov r13, rsi
mov rax, qword [rbx]
mov r8, r13
lea rdx, [0x1402e28b0]
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
jmp 0x140060437
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x1402e2898]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14005f95e
nop
cmp eax, 2
jne 0x14005f8f1
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
mov r9d, 7
xor r8d, r8d
lea rdx, [0x1402e2898]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14005f920
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x1402e2898]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14005f95e
jmp 0x14005f8c0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x349
lea rcx, str..._reg.cpp
call fcn.14005ae30
mov r8, rax
lea rdx, [0x1402e2868]
mov rcx, rdi
call qword [rbx + 0x10]
xor eax, eax
jmp 0x140060437
mov ecx, dword [rsp + 0x30]
call sub.MFC80U.DLL_Ordinal_265
mov rsi, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x1402e2898]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14005f9dd
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
call sub.MFC80U.DLL_Ordinal_266
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, Ordinal_863
lea rcx, str..._reg.cpp
call fcn.14005ae30
mov r8, rax
lea rdx, [0x1402e2830]
mov rcx, rdi
call qword [rbx + 0x10]
xor eax, eax
jmp 0x140060437
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
lea rdx, [0x1403b65c0]
lea rcx, [rsp + 0x110]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const____ptr64____ptr64]
nop
mov ebx, r13d
cmp dword [rsp + 0x30], ebx
jbe 0x14005fa67
mov rdi, rsi
nop
movzx edx, byte [rdi]
test dx, dx
jne 0x14005fa4c
cmp qword [rsp + reloc.MFC80U.DLL_Ordinal_296], 0
je 0x14005fa35
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x38]
call fcn.1400044f0
lea rdx, [0x1403b65c0]
lea rcx, [rsp + 0x110]
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_PEB_W_Z]
jmp 0x14005fa5a
lea rcx, [rsp + 0x110]
call qword [reloc.MSVCP80.dll___Y__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01__W_Z]
add ebx, 2
add rdi, 2
cmp ebx, dword [rsp + 0x30]
jb 0x14005fa10
mov rcx, rsi
call sub.MFC80U.DLL_Ordinal_266
lea rdx, [0x1402e2820]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rsi, r13
mov rbp, r13
movabs r15, 0x6666666666666667
nop
nop
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14005fceb
mov rcx, qword [rsp + 0x48]
sub rcx, rbx
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jae 0x14005fceb
cmp rsi, rdx
jb 0x14005fade
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdx, qword [rsp + 0x40]
add rdx, rbp
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea rdi, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rdi, qword [rsp + 0xf0]
lea rax, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rax, qword [rsp + 0xc8]
sub rdi, rax
nop
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x14005fb43
add rax, 2
test ecx, ecx
jne 0x14005fb30
test edx, edx
je 0x14005fb62
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rsi, 1
add rbp, 0x28
jmp 0x14005faa0
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
mov rbx, qword [rsp + 0x40]
cmp rbx, qword [rsp + 0x48]
jbe 0x14005fb82
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea rdi, [rsp + 0x38]
mov qword [rsp + 0x160], rdi
mov qword [rsp + 0x168], rbx
nop
nop
nop
mov rsi, qword [rsp + 0x48]
cmp qword [rsp + 0x40], rsi
jbe 0x14005fbb2
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test rdi, rdi
je 0x14005fbc1
lea rax, [rsp + 0x38]
cmp rdi, rax
je 0x14005fbc7
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbx, rsi
je 0x14005fceb
test rdi, rdi
jne 0x14005fbdb
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbx, qword [rdi + 0x10]
jb 0x14005fbe7
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdx, rbx
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea r8, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae r8, qword [rsp + 0xf0]
lea rax, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rax, qword [rsp + 0xc8]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14005fc44
add rax, 2
test ecx, ecx
jne 0x14005fc30
test edx, edx
jne 0x14005fcc0
movaps xmm6, xmmword [rsp + 0x160]
lea rdi, [rbx + 0x28]
mov rsi, qword [rsp + 0x48]
cmp rdi, rsi
je 0x14005fc7c
sub rbx, rdi
lea rcx, [rbx + rdi]
mov rdx, rdi
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_AEBV01__Z]
add rdi, 0x28
cmp rdi, rsi
jne 0x14005fc61
mov rsi, qword [rsp + 0x48]
lea rdi, [rsi - 0x28]
cmp rdi, rsi
je 0x14005fc9c
mov rcx, rdi
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rdi, 0x28
cmp rdi, rsi
jne 0x14005fc85
mov rsi, qword [rsp + 0x48]
sub rsi, 0x28
mov qword [rsp + 0x48], rsi
movdqa xmmword [rsp + 0x160], xmm6
mov rbx, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x160]
jmp 0x14005fcd8
cmp rbx, qword [rdi + 0x10]
jb 0x14005fccc
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add rbx, 0x28
mov qword [rsp + 0x168], rbx
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
jmp 0x14005fba0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r13
mov edi, r13d
mov rbx, qword [rsp + 0x40]
cmp rbx, qword [rsp + 0x48]
jbe 0x14005fd12
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov r14d, 1
nop
nop
mov rsi, qword [rsp + 0x48]
cmp qword [rsp + 0x40], rsi
jbe 0x14005fd32
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbx, rsi
je 0x14005fdbe
cmp rbx, qword [rsp + 0x48]
jb 0x14005fd48
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdx, rbx
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
lea rdx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_wcsstr]
test rax, rax
cmovne edi, r14d
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
cmp rbx, qword [rsp + 0x48]
jb 0x14005fdb5
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add rbx, 0x28
jmp 0x14005fd20
test edi, edi
je 0x14005ff2b
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14005fe4b
mov rcx, rsi
sub rcx, rbx
mov rax, r15
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
mov rcx, qword [rsp + 0x80]
sub rcx, rbx
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jae 0x14005fe4b
xor eax, eax
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x68]
lea r8, [rsp + 0xe8]
mov rdx, r14
mov rcx, rsi
call fcn.140004e90
lea rdx, [rsi + 0x28]
mov qword [rsp + 0x78], rdx
jmp 0x14005ff2b
mov rdi, rsi
cmp rbx, rsi
jbe 0x14005fe63
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rdi
test rbx, rbx
je 0x14005fec0
mov rcx, rsi
sub rcx, rbx
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14005fec0
cmp rbx, rsi
jbe 0x14005fea4
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub rdi, rbx
mov rax, r15
imul rdi
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
jmp 0x14005fec3
mov rdi, r13
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x90], xmm0
lea r9, [rsp + 0xe8]
mov r8, r14
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.140004870
mov r11, qword [rsp + 0x70]
mov rbx, r11
mov rcx, qword [rsp + 0x78]
cmp r11, rcx
jbe 0x14005ff13
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rcx, qword [rsp + 0x78]
mov r11, qword [rsp + 0x70]
lea rax, [rdi + rdi*4]
lea rdx, [rbx + rax*8]
cmp rdx, rcx
ja 0x14005ff25
cmp rdx, r11
jae 0x14005ff2b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x40]
cmp rbx, qword [rsp + 0x48]
jbe 0x14005ff3d
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
movzx edi, byte [rsp + 0x34]
mov rsi, qword [rsp + 0x48]
cmp qword [rsp + 0x40], rsi
jbe 0x14005ff54
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbx, rsi
je 0x14006017e
cmp rbx, qword [rsp + 0x48]
jb 0x14005ff6a
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdx, rbx
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea rdx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_wcsstr]
test rax, rax
jne 0x14006015a
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x138]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x140060069
mov rcx, rbp
sub rcx, rsi
mov rax, r15
imul rcx
mov r8, rdx
sar r8, 4
mov rax, r8
shr rax, 0x3f
add r8, rax
mov rcx, qword [rsp + 0x80]
sub rcx, rsi
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jae 0x140060069
xor eax, eax
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], dil
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x138]
mov rdx, r14
mov rcx, rbp
call fcn.140004e90
lea r11, [rbp + 0x28]
mov qword [rsp + 0x78], r11
jmp 0x14006014b
mov r12, rbp
cmp rsi, rbp
jbe 0x140060081
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r12
test rsi, rsi
je 0x1400600de
mov rcx, rbp
sub rcx, rsi
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400600de
cmp rsi, rbp
jbe 0x1400600c2
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub r12, rsi
mov rax, r15
imul r12
mov rsi, rdx
sar rsi, 4
mov rax, rsi
shr rax, 0x3f
add rsi, rax
jmp 0x1400600e1
mov rsi, r13
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0xb0], xmm0
lea r9, [rsp + 0x138]
mov r8, r14
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.140004870
mov r11, qword [rsp + 0x70]
mov rbp, r11
mov rcx, qword [rsp + 0x78]
cmp r11, rcx
jbe 0x140060131
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rcx, qword [rsp + 0x78]
mov r11, qword [rsp + 0x70]
lea rax, [rsi + rsi*4]
lea rdx, [rbp + rax*8]
cmp rdx, rcx
ja 0x140060144
cmp rdx, r11
jae 0x14006014b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
nop
lea rcx, [rsp + 0x138]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
cmp rbx, qword [rsp + 0x48]
jb 0x140060175
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add rbx, 0x28
jmp 0x14005ff42
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140004220
nop
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1400601c1
mov rbx, qword [rsp + 0x78]
cmp rdi, rbx
je 0x1400601b9
mov rcx, rdi
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rdi, 0x28
cmp rdi, rbx
jne 0x1400601a2
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
mov dword [rsp + 0x30], r13d
mov rbx, r13
mov rsi, r13
nop
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140060248
mov rcx, qword [rsp + 0x48]
sub rcx, rdi
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jae 0x140060248
cmp rbx, rdx
jb 0x14006020b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdi, qword [rsp + 0x40]
lea rdx, [rdi + rsi]
lea rcx, [rsp + 0x138]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
mov edx, dword [rsp + 0x30]
mov eax, dword [rsp + reloc.MFC80U.DLL_Ordinal_336]
lea ecx, [rdx + rax + 1]
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x138]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 1
add rsi, 0x28
jmp 0x1400601d0
mov eax, dword [rsp + 0x30]
add eax, eax
mov dword [rsp + 0x30], eax
mov ecx, eax
call sub.MFC80U.DLL_Ordinal_265
mov r12, rax
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call sub.ntdll.dll_memset
mov ebx, r13d
mov ebp, r13d
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
jne 0x140060285
mov rdx, r13
jmp 0x14006029f
mov rcx, r8
sub rcx, rdi
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rsi, ebp
cmp rsi, rdx
jae 0x14006034d
test rdi, rdi
je 0x1400602cc
sub r8, rdi
mov rax, r15
imul r8
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x1400602d7
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdi, qword [rsp + 0x40]
lea rax, [rsi + rsi*4]
lea rdx, [rdi + rax*8]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rdx, qword [rsp + 0xc8]
movsxd rax, ebx
lea rcx, [r12 + rax*2]
nop
movzx eax, word [rdx]
mov word [rcx], ax
add rdx, 2
add rcx, 2
test ax, ax
jne 0x140060310
add ebx, dword [rsp + 0xd8]
movsxd rax, ebx
mov word [r12 + rax*2], 0
add ebx, 1
lea rcx, [rsp + 0xc0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add ebp, 1
jmp 0x140060271
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9d, dword [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x1402e2898]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r12
call sub.MFC80U.DLL_Ordinal_266
test edi, edi
je 0x1400603e3
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x110]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x1400603df
mov rbx, qword [rsp + 0x48]
cmp rdi, rbx
je 0x1400603d7
nop
mov rcx, rdi
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rdi, 0x28
cmp rdi, rbx
jne 0x1400603c0
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x140060437
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x110]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140060434
mov rbx, qword [rsp + 0x48]
cmp rdi, rbx
je 0x14006042c
mov rcx, rdi
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rdi, 0x28
cmp rdi, rbx
jne 0x140060415
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
mov eax, r14d
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret