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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140084010]
xor rax, rsp
mov qword [rbp - 8], rax
xor r15d, r15d
mov rbx, qword [0x140085020]
test rbx, rbx
je 0x140052f51
mov rax, qword [rbx + 0x98]
jmp 0x140052f54
mov rax, r15
cmp qword [rax + 0x48], r15
jne 0x140052f66
call fcn.14002bb90
mov rbx, qword [0x140085020]
test rbx, rbx
je 0x140052f74
mov rdi, qword [rbx + 0x90]
jmp 0x140052f77
mov rdi, r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
lea rdx, [rbp - 0x38]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x2c]
sub eax, dword [rbp - 0x34]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp - 0x30]
sub eax, dword [rbp - 0x38]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm0
movss dword [rbx + 0x14], xmm1
mov qword [rbp - 0x20], r15
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
sub rax, qword [rdi + 0x18]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rdi + 0x20]
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [rdi + 0x18], rcx
mov rsi, qword [0x140085020]
test rsi, rsi
je 0x140052ffc
mov r14, qword [rsi + 0x90]
jmp 0x140052fff
mov r14, r15
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [r14]
cmp rax, rcx
jne 0x140053091
cmp byte [rsi + 0xd5], r15b
je 0x140053053
cvttss2si eax, dword [rsi + 0xe00]
mov dword [rbp - 0x40], eax
cvttss2si eax, dword [rsi + 0xe04]
mov dword [rbp - 0x3c], eax
lea rdx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x14005304a
mov edx, dword [rbp - 0x3c]
mov ecx, dword [rbp - 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rsi + 0xd5], r15b
jne 0x140053091
cmp dword [r14 + 0x10], r15d
jne 0x140053091
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140053091
lea rdx, [rbp - 0x40]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140053091
movd xmm2, dword [rbp - 0x3c]
cvtdq2ps xmm2, xmm2
movd xmm1, dword [rbp - 0x40]
cvtdq2ps xmm1, xmm1
lea rcx, [rsi + 8]
call fcn.140002d30
call fcn.14002c510
cmp byte [rbx + 0x58], r15b
je 0x1400530a3
mov eax, 0xffffffff
jmp 0x1400530b0
mov rax, qword [0x140085020]
mov eax, dword [rax + 0x4c18]
cmp dword [rdi + 0x28], eax
je 0x1400530bd
mov dword [rdi + 0x28], eax
call fcn.14002c3a0
call fcn.14002c6e0
call fcn.1400075c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
lea rdi, [rbp + 0x18]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, rcx
mov qword [rbp - 0x38], rax
mov qword [rdi], r15
mov rax, qword [0x140085c70]
mov ecx, 0x2d
call rax
nop
mov qword [rdi], rbx
test ax, ax
je 0x1400531d9
mov rax, qword [0x140085fc0]
movzx ecx, byte [rax]
test cl, cl
jne 0x140053122
mov byte [rax], 1
jmp 0x14005312a
cmp cl, 1
jne 0x14005312a
mov byte [rax], 0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400531b6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400531b6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x4bf4a7f4
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400531b1
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140053190
cmp r8d, 0x152c44f7
je 0x1400531bb
test r9d, r9d
jne 0x140053170
mov rax, qword [rax]
jmp 0x140053140
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov ecx, 0x96
call rax
mov rax, qword [0x140085fc0]
movzx ecx, byte [rax]
call fcn.14004b8f0
call fcn.140045450
call fcn.140046120
mov rax, qword [0x140086040]
mov rax, qword [rax + 0x20]
movzx ebx, byte [rax + 1]
call fcn.140009790
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov rcx, qword [0x140085c58]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140085eb8]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140085c58]
mov rax, qword [rcx]
lea r8, [rbp - 0x18]
mov rdx, qword [0x140085eb8]
call qword [rax + 0x190]
mov rax, qword [0x140085020]
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], 0
cmove rcx, r15
call fcn.14002b130
mov rcx, qword [0x140085e98]
mov rax, qword [rcx]
test bl, bl
setne r15b
xor r8d, r8d
mov edx, r15d
call qword [rax + 0x40]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14006bdb0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret