Function at 0x1400393b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x1400992c0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
xor r15d, r15d
call fcn.140039330
mov rbp, rax
mov qword [rsp + 0x28], rax
mov rcx, rax
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400396e7
mov eax, dword [rbp + 0x4c]
cmp eax, 0x7fffffff
je 0x1400396f2
lea r8, [rsi + 8]
mov r9, r8
mov edx, r15d
lea r11, [r8 + 0x20]
movabs r12, 0xc6a4a7935bd1e995
mov r13d, 0xe6546b64
cmp r8, r11
je 0x140039468
nop word [rax + rax]
mov rax, qword [r9]
imul rax, r12
mov rcx, rax
shr rcx, 0x2f
xor rcx, rax
imul rcx, r12
xor rdx, rcx
imul rdx, r12
add rdx, r13
add r9, 8
cmp r9, r11
jne 0x140039440
mov r10, qword [rbp + 0x80]
mov rax, r10
and rax, rdx
mov rbx, qword [rbp + 0x68]
add rax, rax
mov rcx, qword [rbx + rax*8 + 8]
mov rdi, qword [rbp + 0x58]
cmp rcx, rdi
je 0x1400394c0
mov rdx, qword [rbx + rax*8]
mov r9, qword [r8]
cmp r9, qword [rcx + 0x18]
jne 0x1400394b5
mov rax, qword [rcx + 0x20]
cmp qword [r8 + 8], rax
jne 0x1400394b5
mov rax, qword [rcx + 0x28]
cmp qword [r8 + 0x10], rax
jne 0x1400394b5
mov rax, qword [rcx + 0x30]
cmp qword [r8 + 0x18], rax
je 0x1400394c3
cmp rcx, rdx
je 0x1400394c0
mov rcx, qword [rcx + 8]
jmp 0x140039491
mov rcx, r15
test rcx, rcx
je 0x140039587
mov r9, r8
mov rdx, r15
cmp r8, r11
je 0x140039508
nop word [rax + rax]
mov rax, qword [r9]
imul rax, r12
mov rcx, rax
shr rcx, 0x2f
xor rcx, rax
imul rcx, r12
xor rdx, rcx
imul rdx, r12
add rdx, r13
add r9, 8
cmp r9, r11
jne 0x1400394e0
and r10, rdx
add r10, r10
mov rdx, qword [rbx + r10*8 + 8]
cmp rdx, rdi
je 0x140039702
mov rcx, qword [rbx + r10*8]
mov r9, qword [r8]
cmp r9, qword [rdx + 0x18]
jne 0x140039547
mov rax, qword [rdx + 0x20]
cmp qword [r8 + 8], rax
jne 0x140039547
mov rax, qword [rdx + 0x28]
cmp qword [r8 + 0x10], rax
jne 0x140039547
mov rax, qword [rdx + 0x30]
cmp qword [r8 + 0x18], rax
je 0x140039556
cmp rdx, rcx
je 0x140039702
mov rdx, qword [rdx + 8]
jmp 0x140039523
test rdx, rdx
je 0x140039702
mov qword [r14], r15
mov qword [r14 + 8], r15
mov rcx, qword [rdx + 0x40]
test rcx, rcx
je 0x140039573
lock inc dword [rcx + 8]
mov rcx, qword [rdx + 0x38]
mov qword [r14], rcx
mov rcx, qword [rdx + 0x40]
mov qword [r14 + 8], rcx
jmp 0x14003966f
mov ecx, 0x20
call fcn.140066550
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400395ea
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_dev::eth::EthashAux::LightAllocation_.0
mov qword [rdi], rax
mov rcx, rsi
call fcn.140039730
mov rbx, rax
mov rcx, rax
call fcn.14006a9a0
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1400396a5
mov rcx, rbx
call fcn.14006a2f0
mov qword [rdi + 0x18], rax
jmp 0x1400395ed
mov rdi, r15
lea rbx, [rdi + 0x10]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
lea rcx, [rbp + 0x50]
mov r8, rsi
lea rdx, [rsp + 0x40]
call fcn.140036c00
mov rsi, qword [rax]
mov qword [rsi + 0x38], rbx
mov rbx, qword [rsi + 0x40]
mov qword [rsi + 0x40], rdi
test rbx, rbx
je 0x14003964c
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003964c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14003964c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [r14], r15
mov qword [r14 + 8], r15
mov rax, qword [rsi + 0x40]
test rax, rax
je 0x140039660
lock inc dword [rax + 8]
mov rax, qword [rsi + 0x38]
mov qword [r14], rax
mov rax, qword [rsi + 0x40]
mov qword [r14 + 8], rax
mov rcx, rbp
call fcn.1400653c8
mov rax, r14
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140066410
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.ethash_light_new__
lea rcx, [rsp + 0x50]
call fcn.140013170
mov r8d, 1
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140038060
nop
mov r9d, 0x5e
lea r8, str.C:DataDataSS_ProjectsIntelligenceGitHubethminerlibethcoreEthashAux.cpp
lea rdx, str.__cdecl_dev::eth::EthashAux::LightAllocation::LightAllocation_const_class_dev::FixedHash_32___
mov rcx, rax
call fcn.140037140
nop
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
dec eax
mov dword [rbp + 0x4c], eax
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, str.invalid_unordered_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3