Function at 0x1400039e0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rbp + 0x78], rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.E:_validdisk
lea rcx, [rsp + 0x60]
call fcn.140004b50
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
movzx ebx, al
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rdx + 0x60], rdi
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rsp + rdx + 0x5c], r8d
lea rcx, [rsp + 0x70]
call fcn.140004a70
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
cmp bl, 1
jne 0x140003aa2
mov byte [0x14000eb80], bl
lea rdx, str.Running_From_E:
jmp 0x140003b33
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.D:_validdisk
lea rcx, [rsp + 0x60]
call fcn.140004b50
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
movzx ebx, al
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x60], rdi
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rsp + rdx + 0x5c], r8d
lea rcx, [rsp + 0x70]
call fcn.140004a70
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
cmp bl, 1
jne 0x140003b50
mov byte [0x14000eb81], bl
lea rdx, str.Running_From_D:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005680
mov rcx, rax
lea rdx, [0x140009c08]
call fcn.140005680
jmp 0x140003b6c
mov r9d, 0x10
lea r8, str.jOS_Error_Handling
lea rdx, str.DRIVE_IS_MISSING___Please_connect_the_USB_Hard_Drive_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [rbp + 0x70], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREjjConfigurator
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003bdf
lea rax, [rbp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x74]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ConfigFinished
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003bd4
cmp dword [rbp + 0x74], eax
setne al
jmp 0x140003be4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rsp + 0x30]
cmp al, 1
je 0x140003d07
lea rdx, str.configuring...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005680
mov rcx, rax
lea rdx, [0x140009c08]
call fcn.140005680
cmp byte [0x14000eb80], 1
jne 0x140003d20
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 1
lea rdx, [0x140009ce0]
lea rcx, [rsp + 0x38]
call fcn.140005e50
nop
lea rcx, [rsp + 0x38]
call fcn.140003270
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140003c91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e14
call fcn.1400073e8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 1
lea rdx, [0x140009ce0]
lea rcx, [rsp + 0x38]
call fcn.140005e50
nop
lea rcx, [rsp + 0x38]
call fcn.140003850
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140003d07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e14
call fcn.1400073e8
cmp byte [0x14000eb80], 1
jne 0x140003e1b
lea r8, str.file:___e:_Website_20DATA_index.html
jmp 0x140003e32
cmp byte [0x14000eb81], 1
jne 0x140003d07
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 1
lea rdx, [0x140009ce4]
lea rcx, [rsp + 0x38]
call fcn.140005e50
nop
lea rcx, [rsp + 0x38]
call fcn.140003270
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140003d9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e14
call fcn.1400073e8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 1
lea rdx, [0x140009ce4]
lea rcx, [rsp + 0x38]
call fcn.140005e50
nop
lea rcx, [rsp + 0x38]
call fcn.140003850
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140003d07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp byte [0x14000eb81], 1
lea r8, str.file:___d:_Website_20DATA_index.html
je 0x140003e32
lea r8, str.file:___c:_Website_20DATA_index.html
mov dword [rsp + 0x28], 9
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.1400070f0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret