Function at 0x140132bc0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x150
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
mov rdx, qword [rcx + 0x20]
cmp dword [rdx - 0x10], 0
je 0x14013319c
xor r15d, r15d
mov esi, r15d
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x68], r15
mov qword [rsp + 0x50], r15
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140133185
mov rsi, qword [rsp + 0x50]
mov qword [rbp - 0x78], rsi
mov dword [rbp - 0x70], r15d
mov rcx, qword [rdi]
mov eax, r15d
test rcx, rcx
setne al
or rbx, 0xffffffffffffffff
test eax, eax
je 0x140132cc7
mov rax, rbx
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140132c93
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [str.FirstName]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rdi + 8]
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
je 0x140132d14
mov rax, rbx
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140132ce0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [str.LastName]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rdi + 0x10]
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
je 0x140132d59
lea rbx, [rbx + 1]
cmp word [rcx + rbx*2], 0
jne 0x140132d25
lea eax, [rbx*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [str.Company]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
cmp dword [rdi + 0x70], ecx
jne 0x140133076
call qword [sym.imp.MSVCR120.dll__time64]
xorps xmm8, xmm8
movsd qword [rsp + 0x68], xmm8
mov dword [rsp + 0x70], r15d
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCR120.dll__localtime64_s]
mov ebx, 0x76c
test eax, eax
jne 0x140132df1
movzx eax, word [rbp - 0x2c]
add ax, bx
mov word [rbp - 0x50], ax
movzx eax, word [rbp - 0x30]
inc ax
mov word [rbp - 0x4e], ax
movzx eax, word [rbp - 0x28]
mov word [rbp - 0x4c], ax
movzx eax, word [rbp - 0x34]
mov word [rbp - 0x4a], ax
movzx eax, word [rbp - 0x38]
mov word [rbp - 0x48], ax
movzx eax, word [rbp - 0x3c]
mov word [rbp - 0x46], ax
movzx eax, word [rbp - 0x40]
mov word [rbp - 0x44], ax
mov word [rbp - 0x42], r15w
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x50]
call fcn.1401321c0
test eax, eax
mov dword [rsp + 0x70], r15d
jne 0x140132df9
mov dword [rsp + 0x70], 1
movsd qword [rsp + 0x78], xmm8
mov dword [rbp - 0x80], r15d
movsd xmm7, qword [rsp + 0x68]
movsd xmm9, qword [0x14031bbd8]
comisd xmm7, xmm9
ja 0x140132e30
movaps xmm0, xmm7
call sub.MSVCR120.dll_ceil
movaps xmm1, xmm7
subsd xmm1, xmm0
movaps xmm7, xmm0
subsd xmm7, xmm1
movsd xmm6, qword [rdi + 0x68]
comisd xmm6, xmm9
ja 0x140132e52
movaps xmm0, xmm6
call sub.MSVCR120.dll_ceil
movaps xmm1, xmm6
subsd xmm1, xmm0
movaps xmm6, xmm0
subsd xmm6, xmm1
subsd xmm7, xmm6
movsd qword [rsp + 0x58], xmm7
mov dword [rsp + 0x60], r15d
movsd xmm0, qword [0x14031bbe0]
comisd xmm0, xmm7
ja 0x140132e79
comisd xmm7, xmmword [0x14031bbd0]
jbe 0x140132e81
mov dword [rsp + 0x60], 1
movsd xmm2, qword [0x14031bbb8]
comisd xmm8, xmm7
jbe 0x140132e96
movaps xmm0, xmm9
jmp 0x140132e99
movaps xmm0, xmm2
addsd xmm0, xmm7
cvttsd2si r14, xmm0
comisd xmm8, xmm7
jbe 0x140132eaf
movaps xmm0, xmm9
jmp 0x140132eb2
movaps xmm0, xmm2
comisd xmm8, xmm7
jbe 0x140132ebd
movaps xmm2, xmm9
addsd xmm0, xmm7
mulsd xmm0, qword [0x1402e79a8]
cvttsd2si rax, xmm0
xorps xmm6, xmm6
cvtsi2sd xmm6, rax
addsd xmm2, xmm7
cvttsd2si rax, xmm2
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x1402e79a8]
subsd xmm6, xmm0
lea rcx, [rsp + 0x58]
call fcn.140132650
mov r8d, eax
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x50], 0xc076b
mov eax, 0x1e
mov word [rbp - 0x4a], ax
cvttsd2si ecx, xmm6
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
mov word [rbp - 0x48], cx
mov word [rbp - 0x46], r8w
mov word [rbp - 0x44], r15w
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x50]
call fcn.1401321c0
mov ecx, r15d
test eax, eax
sete cl
mov dword [rbp - 0x80], ecx
test r14d, r14d
je 0x140133114
test ecx, ecx
jne 0x140133044
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll__time64]
movsd qword [rsp + 0x58], xmm8
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCR120.dll__localtime64_s]
test eax, eax
jne 0x140132fec
movzx eax, word [rbp - 0x2c]
add ax, bx
mov word [rbp - 0x50], ax
movzx eax, word [rbp - 0x30]
inc ax
mov word [rbp - 0x4e], ax
movzx eax, word [rbp - 0x28]
mov word [rbp - 0x4c], ax
movzx eax, word [rbp - 0x34]
mov word [rbp - 0x4a], ax
movzx eax, word [rbp - 0x38]
mov word [rbp - 0x48], ax
movzx eax, word [rbp - 0x3c]
mov word [rbp - 0x46], ax
movzx eax, word [rbp - 0x40]
mov word [rbp - 0x44], ax
mov word [rbp - 0x42], r15w
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x50]
call fcn.1401321c0
movsd xmm6, qword [rsp + 0x58]
comisd xmm6, xmm9
ja 0x14013300f
movaps xmm0, xmm6
call sub.MSVCR120.dll_ceil
movaps xmm1, xmm6
subsd xmm1, xmm0
movaps xmm6, xmm0
subsd xmm6, xmm1
movsd xmm7, qword [rsp + 0x78]
comisd xmm7, xmm9
ja 0x140133032
movaps xmm0, xmm7
call sub.MSVCR120.dll_ceil
movaps xmm1, xmm7
subsd xmm1, xmm0
movaps xmm7, xmm0
subsd xmm7, xmm1
subsd xmm6, xmm7
movsd qword [rdi + 0x68], xmm6
mov dword [rdi + 0x70], r15d
jmp 0x140133114
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll__time64]
movsd qword [rsp + 0x58], xmm8
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCR120.dll__localtime64_s]
test eax, eax
jne 0x140133103
jmp 0x1401330a9
call qword [sym.imp.MSVCR120.dll__time64]
xorps xmm8, xmm8
movsd qword [rsp + 0x58], xmm8
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCR120.dll__localtime64_s]
test eax, eax
jne 0x140133103
mov ebx, 0x76c
movzx eax, word [rbp - 0x2c]
add ax, bx
mov word [rbp - 0x50], ax
movzx eax, word [rbp - 0x30]
inc ax
mov word [rbp - 0x4e], ax
movzx eax, word [rbp - 0x28]
mov word [rbp - 0x4c], ax
movzx eax, word [rbp - 0x34]
mov word [rbp - 0x4a], ax
movzx eax, word [rbp - 0x38]
mov word [rbp - 0x48], ax
movzx eax, word [rbp - 0x3c]
mov word [rbp - 0x46], ax
movzx eax, word [rbp - 0x40]
mov word [rbp - 0x44], ax
mov word [rbp - 0x42], r15w
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x50]
call fcn.1401321c0
mov dword [rsp + 0x60], r15d
test eax, eax
jne 0x14013310b
mov dword [rsp + 0x60], 1
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdi + 0x68], xmm0
cmp dword [rdi + 0x80], 0
jne 0x140133129
movsd xmm0, qword [rdi + 0x78]
movsd qword [rbp - 8], xmm0
jmp 0x14013312f
movsd qword [rbp - 8], xmm8
movsd xmm0, qword [rdi + 0x68]
movsd qword [rbp - 0x18], xmm0
mov eax, dword [rdi + 0x88]
mov dword [rbp - 0x10], eax
mov dword [rsp + 0x28], 0x18
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [str.AppData]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rsi, rsi
je 0x140133181
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r15
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
mov rcx, rdi
call fcn.1401331e0
nop
test rsi, rsi
je 0x14013319c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rbp
ret