Function at 0x1400530d0
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 [0x140069010]
xor rax, rsp
mov qword [rbp - 8], rax
xor r15d, r15d
mov rbx, qword [0x140069b90]
test rbx, rbx
je 0x140053111
mov rax, qword [rbx + 0x98]
jmp 0x140053114
mov rax, r15
cmp qword [rax + 0x48], r15
jne 0x140053126
call fcn.14002d9b0
mov rbx, qword [0x140069b90]
test rbx, rbx
je 0x140053134
mov rdi, qword [rbx + 0x90]
jmp 0x140053137
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 [0x140069b90]
test rsi, rsi
je 0x1400531bc
mov r14, qword [rsi + 0x90]
jmp 0x1400531bf
mov r14, r15
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [r14]
cmp rax, rcx
jne 0x140053251
cmp byte [rsi + 0xd5], r15b
je 0x140053213
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 0x14005320a
mov edx, dword [rbp - 0x3c]
mov ecx, dword [rbp - 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rsi + 0xd5], r15b
jne 0x140053251
cmp dword [r14 + 0x10], r15d
jne 0x140053251
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140053251
lea rdx, [rbp - 0x40]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140053251
movd xmm2, dword [rbp - 0x3c]
cvtdq2ps xmm2, xmm2
movd xmm1, dword [rbp - 0x40]
cvtdq2ps xmm1, xmm1
lea rcx, [rsi + 8]
call fcn.140002de0
call fcn.14002e330
cmp byte [rbx + 0x58], r15b
je 0x140053263
mov eax, 0xffffffff
jmp 0x140053270
mov rax, qword [0x140069b90]
mov eax, dword [rax + 0x4c18]
cmp dword [rdi + 0x28], eax
je 0x14005327d
mov dword [rdi + 0x28], eax
call fcn.14002e1c0
call fcn.14002e500
call fcn.140007b00
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 [0x14006a7e8]
mov ecx, 0x2d
call rax
nop
mov qword [rdi], rbx
test ax, ax
je 0x140053399
mov rax, qword [0x14006aa38]
movzx ecx, byte [rax]
test cl, cl
jne 0x1400532e2
mov byte [rax], 1
jmp 0x1400532ea
cmp cl, 1
jne 0x1400532ea
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 0x140053376
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140053376
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, 0xdcb49b3e
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140053371
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140053350
cmp r8d, 0x108223e1
je 0x14005337b
test r9d, r9d
jne 0x140053330
mov rax, qword [rax]
jmp 0x140053300
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 [0x14006aa38]
movzx ecx, byte [rax]
call fcn.140050870
call fcn.14004d280
call fcn.140009cd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov rcx, qword [0x14006a7d0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14006a8f8]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x14006a7d0]
mov rax, qword [rcx]
lea r8, [rbp - 0x18]
mov rdx, qword [0x14006a8f8]
call qword [rax + 0x190]
mov rax, qword [0x140069b90]
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], 0
cmove rcx, r15
call fcn.14002cf50
mov rcx, qword [0x14006a8e0]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x40]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140056530
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