Function at 0x1400092e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140125998]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rdx
mov qword [rbp - 0x39], rdx
lea r9, [rbp + 0x24]
mov r8d, 0x17
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140009320
xor esi, esi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x3f], rsi
mov qword [rbp + 0x47], 0xf
mov byte [rbp + 0x2f], sil
lea rax, [rbp + 0x24]
cmp r9, rax
je 0x14000937d
lea r8, [rbp + 0x24]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x2f]
call fcn.14000bf20
nop
mov ecx, 0x20
call fcn.1400e21fc
mov qword [rbp + 0x1f], 0x1a
mov qword [rbp + 0x27], 0x1f
movups xmm0, xmmword [str.SOFTWARELive_EditorFIFA]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1400ea3b8]
movsd qword [rax + 0x10], xmm1
movzx ecx, word [0x1400ea3c0]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], 0
mov qword [rbp + 0xf], rax
lea r9, [rbp + 0x2f]
lea r8, [rbp + 0xf]
movzx edx, byte [rbp - 0x49]
lea rcx, [rbp - 0x11]
call fcn.1400028d0
nop
mov rcx, qword [rbp - 1]
mov rdx, qword [rbp + 7]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x140009422
lea rax, [rcx + 9]
mov qword [rbp - 1], rax
lea rbx, [rbp - 0x11]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x11]
add rbx, rcx
mov r8d, 9
lea rdx, [0x1400ea398]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 9], 0
lea rax, [rbp - 0x11]
jmp 0x140009445
mov qword [rsp + 0x20], 9
lea r9, [0x1400ea398]
movzx r8d, byte [rbp - 0x49]
mov edx, 9
lea rcx, [rbp - 0x11]
call fcn.140001760
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400094ad
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400094a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400094a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2238
mov qword [rbp - 1], rsi
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x1400094fc
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400094f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400094f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2238
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 0x10
jb 0x14000953a
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009535
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009535
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2238
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
mov qword [rsp + 0x40], rsi
lea rax, [rbp - 0x41]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14000959f
lea r9, str.Core::SetLEDataPathRegVal
lea r8, str.__s__RegCreateKeyExA_failed
mov edx, 2
lea rcx, [0x140126850]
call fcn.140029bd0
jmp 0x14000960d
mov eax, dword [rdi + 0x10]
lea ecx, [rax*2 + 2]
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400095b6
mov rax, qword [rdi]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Data_Dir
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140009660
mov dword [rsp + 0x20], ebx
lea r9, str.Core::SetLEDataPathRegVal
lea r8, str.__s__RegSetValueExW_failed__d
mov edx, 2
lea rcx, [0x140126850]
call fcn.140029bd0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140009644
inc rdx
mov rcx, qword [rbp - 0x31]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000963f
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009692
call fcn.1400e2238
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
mov rcx, rdi
call fcn.14000bc60
xor al, al
jmp 0x1400096b8
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x14000969e
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009699
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009699
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2238
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
mov rcx, rdi
call fcn.14000bc60
mov al, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400e25b0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret