Function at 0x14008f6c0
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, 0x1a0
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r14d, edx
mov qword [rsp + 0xa0], rcx
xor r13d, r13d
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x60], r13d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9d, [r13 + 3]
xor r8d, r8d
lea rdx, [0x1402e8100]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14008f82d
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
lea rsi, [0x140433fd0]
mov rcx, rsi
call sub.ntdll.dll_memset
lea edx, [r13 + 0x5c]
lea rcx, str...updatecfg.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x14008f813
mov byte [rsp + 0x170], r13b
xor eax, eax
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_369], rax
mov word [rsp + 0x179], ax
mov byte [rsp + 0x17b], al
mov r8d, reloc.MFC80U.DLL_Ordinal_574
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0x170]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rsi
sub rcx, rdx
nop
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
add rdx, 1
test al, al
jne 0x14008f7d0
mov rdi, rsi
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x170]
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 0x14008f800
mov r13, rsi
mov rax, qword [rbx]
mov r8, r13
lea rdx, [0x1402e28b0]
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
jmp 0x140090741
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x1402e2898]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14008f8fe
nop
cmp eax, 2
jne 0x14008f891
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 + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14008f8c0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x1402e2898]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14008f8fe
jmp 0x14008f860
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, reloc.MFC80U.DLL_Ordinal_588
lea rcx, str...updatecfg.cpp
call fcn.14008d3f0
mov r8, rax
lea rdx, [0x1402e2868]
mov rcx, rdi
call qword [rbx + 0x10]
xor eax, eax
jmp 0x140090741
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 + 0x60]
xor r8d, r8d
lea rdx, [0x1402e2898]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14008f97d
mov rcx, qword [rsp + 0x58]
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, reloc.MFC80U.DLL_Ordinal_606
lea rcx, str...updatecfg.cpp
call fcn.14008d3f0
mov r8, rax
lea rdx, [0x1402e2830]
mov rcx, rdi
call qword [rbx + 0x10]
xor eax, eax
jmp 0x140090741
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
lea rdx, [0x1403b65c0]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_280]
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 0x14008fa07
mov rdi, rsi
nop
movzx edx, byte [rdi]
test dx, dx
jne 0x14008f9ec
cmp qword [rsp + 0x130], 0
je 0x14008f9d5
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_280]
lea rcx, [rsp + 0x38]
call fcn.1400044f0
lea rdx, [0x1403b65c0]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_280]
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_PEB_W_Z]
jmp 0x14008f9fa
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_280]
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 0x14008f9b0
mov rcx, rsi
call sub.MFC80U.DLL_Ordinal_266
lea rdx, [0x1402e2820]
lea rcx, [rsp + 0xf0]
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 r12d, r13d
mov rdi, r13
mov rbp, r13
movabs r8, 0x6666666666666667
nop
nop
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x14008fb2e
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
sub rcx, rsi
mov rax, r8
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jae 0x14008fb33
cmp rdi, rdx
jb 0x14008fa86
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rsi, qword [rsp + 0x40]
lea rdx, [rsi + rbp]
lea rcx, [rsp + 0xc8]
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 + 0xf8]
cmp qword [rsp + 0x110], 8
cmovae rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rcx, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x108]
call qword [sym.imp.ntdll.dll_wcsncmp]
test eax, eax
je 0x14008fb04
lea rcx, [rsp + 0xc8]
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, 1
add rbp, 0x28
movabs r8, 0x6666666666666667
jmp 0x14008fa40
mov r12d, 1
lea rcx, [rsp + 0xc8]
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 + 0x48]
mov rsi, qword [rsp + 0x40]
movabs r8, 0x6666666666666667
jmp 0x14008fb33
mov rbx, qword [rsp + 0x48]
test r14d, r14d
je 0x14008fdbe
test r12d, r12d
jne 0x14008fccc
test rsi, rsi
je 0x14008fbc8
mov rcx, rbx
sub rcx, rsi
mov rax, r8
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
mov rcx, qword [rsp + 0x50]
sub rcx, rsi
mov rax, r8
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jae 0x14008fbc8
xor eax, eax
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x38]
lea r8, [rsp + 0xf0]
mov r14d, 1
mov rdx, r14
mov rcx, rbx
call fcn.140004e90
add rbx, 0x28
mov qword [rsp + 0x48], rbx
mov rsi, qword [rsp + 0x40]
jmp 0x14008ff72
mov rdi, rbx
cmp rsi, rbx
jbe 0x14008fbe0
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rdi
test rsi, rsi
je 0x14008fc47
mov rcx, rbx
sub rcx, rsi
movabs rbp, 0x6666666666666667
mov rax, rbp
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14008fc47
cmp rsi, rbx
jbe 0x14008fc2b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub rdi, rsi
mov rax, rbp
imul rdi
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
jmp 0x14008fc4a
mov rdi, r13
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x90], xmm0
lea r9, [rsp + 0xf0]
mov r14d, 1
mov r8, r14
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x38]
call fcn.140004870
mov rsi, qword [rsp + 0x40]
mov rbp, rsi
mov rbx, qword [rsp + 0x48]
cmp rsi, rbx
jbe 0x14008fca0
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
lea rax, [rdi + rdi*4]
lea rcx, [rbp + rax*8]
cmp rcx, rbx
ja 0x14008fcb7
cmp rcx, rsi
jae 0x14008ff72
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x14008ff72
test rsi, rsi
je 0x14008ff5c
mov rcx, rbx
sub rcx, rsi
mov rax, r8
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14008ff64
lea rdi, [rsp + 0xf8]
cmp qword [rsp + 0x110], 8
cmovae rdi, qword [rsp + 0xf8]
test rdx, rdx
jne 0x14008fd1f
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rsi, qword [rsp + 0x40]
cmp qword [rsi + 0x20], 8
jb 0x14008fd2c
mov rcx, qword [rsi + 8]
jmp 0x14008fd30
lea rcx, [rsi + 8]
mov rdx, rdi
call qword [sym.imp.ntdll.dll_wcsstr]
test rax, rax
je 0x14008fda9
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0xf0]
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 + reloc.MFC80U.DLL_Ordinal_280]
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 0x14008fd9f
mov rbx, qword [rsp + 0x48]
cmp rdi, rbx
je 0x14008fd97
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 0x14008fd80
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
mov eax, 1
jmp 0x140090741
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r14d, 1
jmp 0x14008ff72
test r12d, r12d
je 0x14008ff6c
mov rbp, rsi
cmp rsi, rbx
jbe 0x14008fddf
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
lea rdi, [rsp + 0x38]
mov qword [rsp + 0x170], rdi
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_376], rbp
mov r12, rbx
cmp rsi, rbx
jbe 0x14008fe0c
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x14008fe1b
lea rax, [rsp + 0x38]
cmp rdi, rax
je 0x14008fe2b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
cmp rbp, r12
je 0x14008ff54
test rdi, rdi
jne 0x14008fe3f
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbp, qword [rdi + 0x10]
jb 0x14008fe4b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdx, rbp
lea rcx, [rsp + 0xc8]
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 + 0xf8]
cmp qword [rsp + 0x110], 8
cmovae rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rcx, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x108]
call qword [sym.imp.ntdll.dll_wcsncmp]
test eax, eax
jne 0x14008ff1f
movaps xmm6, xmmword [rsp + 0x170]
lea rdi, [rbp + 0x28]
mov rbx, qword [rsp + 0x48]
cmp rdi, rbx
je 0x14008fedb
sub rbp, rdi
nop
lea rcx, [rdi + rbp]
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, rbx
jne 0x14008fec0
mov rbx, qword [rsp + 0x48]
lea rdi, [rbx - 0x28]
cmp rdi, rbx
je 0x14008fefb
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 0x14008fee4
mov rbx, qword [rsp + 0x48]
sub rbx, 0x28
mov qword [rsp + 0x48], rbx
movdqa xmmword [rsp + 0x170], xmm6
mov rbp, qword [rsp + reloc.MFC80U.DLL_Ordinal_376]
mov rdi, qword [rsp + 0x170]
jmp 0x14008ff37
cmp rbp, qword [rdi + 0x10]
jb 0x14008ff2b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add rbp, 0x28
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_376], rbp
lea rcx, [rsp + 0xc8]
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 + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x14008fdf4
mov r14d, 1
jmp 0x14008ff72
mov r14d, 1
jmp 0x14008ff72
mov r14d, 1
jmp 0x14008ff72
mov r14d, 1
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], r13
mov r12d, r13d
mov rdi, rsi
cmp rsi, rbx
jbe 0x14008ffa0
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
nop
mov rbp, rbx
cmp rsi, rbx
jbe 0x14008ffb8
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
cmp rdi, rbp
je 0x14009004f
cmp rdi, rbx
jb 0x14008ffcc
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdx, rdi
lea rcx, [rsp + 0xc8]
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 + 0xf8]
cmp qword [rsp + 0x110], 8
cmovae rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_wcsstr]
test rax, rax
cmovne r12d, r14d
lea rcx, [rsp + 0xc8]
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 + 0x48]
cmp rdi, rbx
jb 0x140090041
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
add rdi, 0x28
mov rsi, qword [rsp + 0x40]
jmp 0x14008ffa0
test r12d, r12d
je 0x1400901f5
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400900f5
mov rcx, rsi
sub rcx, rbx
movabs rbp, 0x6666666666666667
mov rax, rbp
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, rbp
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jae 0x1400900ff
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 + 0xf0]
mov rdx, r14
mov rcx, rsi
call fcn.140004e90
lea rdx, [rsi + 0x28]
mov qword [rsp + 0x78], rdx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x1400901f5
movabs rbp, 0x6666666666666667
mov rdi, rsi
cmp rbx, rsi
jbe 0x140090117
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 0x140090174
mov rcx, rsi
sub rcx, rbx
mov rax, rbp
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140090174
cmp rbx, rsi
jbe 0x140090158
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub rdi, rbx
mov rax, rbp
imul rdi
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
jmp 0x140090177
mov rdi, r13
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x90], xmm0
lea r9, [rsp + 0xf0]
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 0x1400901c7
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 0x1400901e5
cmp rdx, r11
jb 0x1400901e5
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x1400901f5
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, rsi
cmp rsi, rbx
jbe 0x14009020d
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
movzx edi, byte [rsp + 0x34]
movabs r15, 0x6666666666666667
nop
mov r12, rbx
cmp rsi, rbx
jbe 0x140090233
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
cmp rbp, r12
je 0x140090467
cmp rbp, rbx
jb 0x140090247
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdx, rbp
lea rcx, [rsp + 0xc8]
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 + 0xf8]
cmp qword [rsp + 0x110], 8
cmovae rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_wcsstr]
test rax, rax
jne 0x140090436
lea rdx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rdx, qword [rsp + 0xd0]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
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, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x140090346
mov rcx, rsi
sub rcx, rbx
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, rbx
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jae 0x140090346
xor eax, eax
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], dil
lea r9, [rsp + 0x68]
lea r8, [rsp + reloc.MFC80U.DLL_Ordinal_320]
mov rdx, r14
mov rcx, rsi
call fcn.140004e90
lea r11, [rsi + 0x28]
mov qword [rsp + 0x78], r11
jmp 0x140090427
mov r12, rsi
cmp rbx, rsi
jbe 0x14009035e
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], r12
test rbx, rbx
je 0x1400903bb
mov rcx, rsi
sub rcx, rbx
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400903bb
cmp rbx, rsi
jbe 0x14009039f
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub r12, rbx
mov rax, r15
imul r12
mov rbx, rdx
sar rbx, 4
mov rax, rbx
shr rax, 0x3f
add rbx, rax
jmp 0x1400903be
mov rbx, r13
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0xb0], xmm0
lea r9, [rsp + reloc.MFC80U.DLL_Ordinal_320]
mov r8, r14
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.140004870
mov r11, qword [rsp + 0x70]
mov rsi, r11
mov rcx, qword [rsp + 0x78]
cmp r11, rcx
jbe 0x14009040e
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rcx, qword [rsp + 0x78]
mov r11, qword [rsp + 0x70]
lea rax, [rbx + rbx*4]
lea rdx, [rsi + rax*8]
cmp rdx, rcx
ja 0x140090420
cmp rdx, r11
jae 0x140090427
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
nop
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
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 + 0xc8]
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 + 0x48]
cmp rbp, rbx
jb 0x140090459
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x48]
add rbp, 0x28
mov rsi, qword [rsp + 0x40]
jmp 0x140090220
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140004220
nop
mov rdi, qword [rsp + 0x70]
test rdi, rdi
mov r15, qword [rsp + 0xa0]
je 0x1400904b2
mov rbx, qword [rsp + 0x78]
cmp rdi, rbx
je 0x1400904aa
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 0x140090493
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
movabs r14, 0x6666666666666667
nop
nop
nop
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140090548
mov rcx, qword [rsp + 0x48]
sub rcx, rdi
mov rax, r14
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jae 0x140090548
cmp rbx, rdx
jb 0x14009050b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdi, qword [rsp + 0x40]
lea rdx, [rdi + rsi]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
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 + 0x158]
lea ecx, [rdx + rax + 1]
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
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 0x1400904d0
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 0x140090585
mov rdx, r13
jmp 0x14009059f
mov rcx, r8
sub rcx, rdi
mov rax, r14
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rsi, ebp
cmp rsi, rdx
jae 0x14009064d
test rdi, rdi
je 0x1400905cc
sub r8, rdi
mov rax, r14
imul r8
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x1400905d7
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 + 0xc8]
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 + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rdx, qword [rsp + 0xd0]
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 0x140090610
add ebx, dword [rsp + 0xe0]
movsxd rax, ebx
mov word [r12 + rax*2], 0
add ebx, 1
lea rcx, [rsp + 0xc8]
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 0x140090571
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x1402e2898]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r12
call sub.MFC80U.DLL_Ordinal_266
test edi, edi
je 0x1400906e3
lea rcx, [rsp + 0xf0]
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 + reloc.MFC80U.DLL_Ordinal_280]
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 0x1400906df
mov rbx, qword [rsp + 0x48]
cmp rdi, rbx
je 0x1400906d7
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 0x1400906c0
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x140090741
mov rcx, r15
call fcn.14008f200
mov esi, eax
lea rcx, [rsp + 0xf0]
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 + reloc.MFC80U.DLL_Ordinal_280]
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 0x14009073f
mov rbx, qword [rsp + 0x48]
cmp rdi, rbx
je 0x140090737
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 0x140090720
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
mov eax, esi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret