Function at 0x140083120
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140152040]
xor rax, rsp
mov qword [rbp + 7], rax
mov rsi, rcx
lea rcx, [0x140250df0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140083179
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x140250e3c], 0x7fffffff
jne 0x14008319b
mov dword [0x140250e3c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rax, qword [0x1402512e0]
mov qword [rbp - 0x41], rax
lea rdx, [0x1402512e8]
lea rcx, [rbp - 0x39]
call fcn.140083b90
lea rcx, [0x140250df0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movups xmm6, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x19], xmm6
movups xmm7, xmmword [rbp - 0x29]
movups xmmword [rbp - 9], xmm7
movdqa xmm0, xmmword [0x140138dd0]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
lea rcx, [rbp - 0x39]
call fcn.1400955d0
lea rdx, [rbp - 0x19]
movq rcx, xmm6
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
lea rcx, [0x140256ab0]
cmp qword [0x140256ac8], 0xf
cmova rcx, qword [0x140256ab0]
mov r8, qword [0x140256ac0]
movq rax, xmm7
cmp r8, rax
jne 0x140083241
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400834e7
mov rax, qword [rsi]
mov r15, qword [rax + 8]
mov r14, qword [rax]
cmp r14, r15
je 0x1400834e7
mov r12d, 2
mov r8d, 0x20
mov r13d, 8
nop word [rax + rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rax
mov rax, qword [rsi + 8]
cmp byte [rax], 0
je 0x1400832ee
mov edx, dword [r14]
cmp edx, 1
jne 0x1400832d7
mov rax, qword [rsi + 0x10]
mov ecx, 4
cmp byte [rax], 0
cmovne ecx, r12d
mov dword [rbp - 0x2d], ecx
cmp edx, r12d
jne 0x1400832bd
mov rax, qword [rsi + 0x10]
mov ecx, reloc.WS2_32.dll_recv
cmp byte [rax], 0
cmovne ecx, r13d
mov dword [rbp - 0x2d], ecx
mov r8d, 0x28
lea rdx, [rbp - 0x41]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x1400834a7
cmp edx, 4
jne 0x1400832a5
mov rax, qword [rsi + 0x10]
mov ecx, 0x40
cmp byte [rax], 0
cmovne ecx, r8d
jmp 0x1400832ba
mov dword [rbp - 0x41], 1
mov rax, qword [0x140256f30]
test rax, rax
jne 0x1400833b6
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax]
mov rbx, rdi
nop dword [rax]
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r10d, dword [rax + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x140083397
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x140083397
mov r11d, dword [r10 + 0x20]
nop word [rax + rax]
dec r8d
lea rcx, [r11 + r8*4]
mov eax, dword [rcx + r9]
add rax, r9
mov edx, 0xae3389d7
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140083392
nop dword [rax]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
lea rax, [rax + 1]
test cl, cl
jne 0x140083370
cmp edx, 0xb4d6cb3d
je 0x140083527
test r8d, r8d
jne 0x140083350
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
je 0x1400833ad
cmp qword [rax + 0x30], 0
jne 0x140083320
xor eax, eax
mov qword [0x140256f30], rax
movzx ecx, byte [r14]
call rax
mov word [rbp - 0x39], ax
mov rax, qword [rsi + 0x10]
mov ecx, dword [rbp - 0x35]
cmp byte [rax], 0
cmove ecx, r12d
mov dword [rbp - 0x35], ecx
mov rax, qword [0x140256f70]
test rax, rax
jne 0x140083496
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax]
mov rbx, rdi
nop dword [rax + rax]
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r10d, dword [rax + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x140083477
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x140083477
mov r11d, dword [r10 + 0x20]
nop word [rax + rax]
dec r8d
lea rcx, [r11 + r8*4]
mov edx, dword [rcx + r9]
add rdx, r9
mov ecx, 0xf3ddee07
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140083472
nop dword [rax]
movsx eax, al
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140083450
cmp ecx, 0x3006be07
je 0x140083545
test r8d, r8d
jne 0x140083430
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
je 0x14008348d
cmp qword [rax + 0x30], 0
jne 0x140083400
xor eax, eax
mov qword [0x140256f70], rax
mov r8d, 0x28
lea rdx, [rbp - 0x41]
mov ecx, 1
call rax
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x21], rax
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x41], xmm0
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
movsxd rax, dword [rcx + 4]
test eax, eax
jle 0x1400834d4
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x49]
call fcn.1400f9e30
add r14, 4
cmp r14, r15
mov r8d, 0x20
jne 0x140083270
lea rcx, [rbp - 0x19]
call fcn.1400955d0
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14010fe20
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, dword [r10 + 0x1c]
add rdx, r9
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx ecx, word [rcx + r8*2]
mov eax, dword [rdx + rcx*4]
add rax, r9
jmp 0x1400833af
mov edx, dword [r10 + 0x1c]
add rdx, r9
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx ecx, word [rcx + r8*2]
mov eax, dword [rdx + rcx*4]
add rax, r9
jmp 0x14008348f