Function at 0x140255eb0
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 + 0x10], rbp
mov qword [rax + 0x18], 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
lea rdx, [0x140376050]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14025600d
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
lea rsi, [0x140c490d0]
mov rcx, rsi
call sub.ntdll.dll_memset
lea edx, [r13 + 0x5c]
lea rcx, [0x1403760b8]
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x140255ff3
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, Ordinal_401
lea rdx, [0x140376694]
lea rcx, [rsp + 0x160]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, rsi
sub rcx, rdx
movzx eax, byte [rdx]
mov byte [rdx + rcx], al
add rdx, 1
test al, al
jne 0x140255fb2
mov rdi, rsi
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x160]
xor ecx, ecx
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x140255fe0
mov r13, rsi
mov rax, qword [rbx]
mov r8, r13
lea rdx, [0x1403760c8]
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
jmp 0x140256bb7
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x1403760f8]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1402560de
nop
cmp eax, 2
jne 0x140256071
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
mov r9d, 7
xor r8d, r8d
lea rdx, [0x140376110]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1402560a0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x1403760f8]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1402560de
jmp 0x140256040
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x19a
lea rcx, [0x140376128]
call fcn.1402542d0
mov r8, rax
lea rdx, [0x140376138]
mov rcx, rdi
call qword [rbx + 0x10]
xor eax, eax
jmp 0x140256bb7
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, [0x140376168]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14025615d
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_431
lea rcx, [0x140376180]
call fcn.1402542d0
mov r8, rax
lea rdx, [0x140376190]
mov rcx, rdi
call qword [rbx + 0x10]
xor eax, eax
jmp 0x140256bb7
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
lea rdx, [0x140370fc4]
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 edi, r13d
cmp dword [rsp + 0x30], r13d
jbe 0x1402561e7
mov rbx, rsi
nop
movzx edx, byte [rbx]
test dx, dx
jne 0x1402561cc
cmp qword [rsp + reloc.MFC80U.DLL_Ordinal_296], 0
je 0x1402561b5
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x38]
call fcn.1400044f0
lea rdx, [0x1403716dc]
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 0x1402561da
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 edi, 2
add rbx, 2
cmp edi, dword [rsp + 0x30]
jb 0x140256190
mov rcx, rsi
call sub.MFC80U.DLL_Ordinal_266
lea rdx, str.ampa
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 0x14025646b
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 0x14025646b
cmp rsi, rdx
jb 0x14025625e
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 0x1402562c3
add rax, 2
test ecx, ecx
jne 0x1402562b0
test edx, edx
je 0x1402562e2
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 0x140256220
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 0x140256302
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 0x140256332
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test rdi, rdi
je 0x140256341
lea rax, [rsp + 0x38]
cmp rdi, rax
je 0x140256347
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbx, rsi
je 0x14025646b
test rdi, rdi
jne 0x14025635b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbx, qword [rdi + 0x10]
jb 0x140256367
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 0x1402563c4
add rax, 2
test ecx, ecx
jne 0x1402563b0
test edx, edx
jne 0x140256440
movaps xmm6, xmmword [rsp + 0x160]
lea rdi, [rbx + 0x28]
mov rsi, qword [rsp + 0x48]
cmp rdi, rsi
je 0x1402563fc
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 0x1402563e1
mov rsi, qword [rsp + 0x48]
lea rdi, [rsi - 0x28]
cmp rdi, rsi
je 0x14025641c
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 0x140256405
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 0x140256458
cmp rbx, qword [rdi + 0x10]
jb 0x14025644c
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 0x140256320
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 0x140256492
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 0x1402564b2
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbx, rsi
je 0x14025653e
cmp rbx, qword [rsp + 0x48]
jb 0x1402564c8
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 0x140256535
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add rbx, 0x28
jmp 0x1402564a0
test edi, edi
je 0x1402566ab
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1402565cb
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 0x1402565cb
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 0x1402566ab
mov rdi, rsi
cmp rbx, rsi
jbe 0x1402565e3
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 0x140256640
mov rcx, rsi
sub rcx, rbx
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140256640
cmp rbx, rsi
jbe 0x140256624
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 0x140256643
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 0x140256693
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 0x1402566a5
cmp rdx, r11
jae 0x1402566ab
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [rsp + 0x40]
cmp rbx, qword [rsp + 0x48]
jbe 0x1402566bd
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 0x1402566d4
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp rbx, rsi
je 0x1402568fe
cmp rbx, qword [rsp + 0x48]
jb 0x1402566ea
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 0x1402568da
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 0x1402567e9
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 0x1402567e9
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 0x1402568cb
mov r12, rbp
cmp rsi, rbp
jbe 0x140256801
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 0x14025685e
mov rcx, rbp
sub rcx, rsi
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14025685e
cmp rsi, rbp
jbe 0x140256842
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 0x140256861
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 0x1402568b1
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 0x1402568c4
cmp rdx, r11
jae 0x1402568cb
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 0x1402568f5
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add rbx, 0x28
jmp 0x1402566c2
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140004220
nop
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x140256941
mov rbx, qword [rsp + 0x78]
cmp rdi, rbx
je 0x140256939
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 0x140256922
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 0x1402569c8
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 0x1402569c8
cmp rbx, rdx
jb 0x14025698b
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 0x140256950
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 0x140256a05
mov rdx, r13
jmp 0x140256a1f
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 0x140256acd
test rdi, rdi
je 0x140256a4c
sub r8, rdi
mov rax, r15
imul r8
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x140256a57
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 0x140256a90
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 0x1402569f1
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, [0x1403761d8]
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 0x140256b63
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 0x140256b5f
mov rbx, qword [rsp + 0x48]
cmp rdi, rbx
je 0x140256b57
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 0x140256b40
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x140256bb7
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 0x140256bb4
mov rbx, qword [rsp + 0x48]
cmp rdi, rbx
je 0x140256bac
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 0x140256b95
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 + 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