Function at 0x18005c910
Capabilities:
Contain obfuscated stackstrings
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x18007e010]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x41]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x18005c9a2
nop dword [rax + rax]
lea rcx, [rbp - 0x41]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x41]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x41]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x18005c970
lea rdx, [rbp - 0x11]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r12d, r12d
cmp rbx, rax
je 0x18005c9e2
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rdi, rax
je 0x18005c9e2
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
jmp 0x18005ca94
lea rdx, [rbp - 0x51]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp - 0x61]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp - 0x59]
sub eax, dword [rbp - 0x61]
sub eax, 0x10
movd xmm7, eax
cvtdq2ps xmm7, xmm7
mov eax, dword [rbp - 0x55]
sub eax, dword [rbp - 0x5d]
add eax, 0x18
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov rcx, rbx
call fcn.18005c430
test al, al
je 0x18005ca5d
addss xmm7, dword [0x1800720e8]
subss xmm6, dword [0x1800720ec]
cvttss2si eax, xmm6
cvttss2si r9d, xmm7
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov r8d, dword [rbp - 0x4d]
mov edx, dword [rbp - 0x51]
mov rcx, rdi
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, rbx
call fcn.18005c430
test al, al
jne 0x18005ca9d
addss xmm6, dword [0x180072160]
cvttss2si eax, xmm6
cvttss2si r9d, xmm7
mov r8d, dword [rbp - 0x4d]
add r8d, 0x1f
mov edx, dword [rbp - 0x51]
add edx, 8
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov rcx, rdi
call qword [sym.imp.USER32.dll_MoveWindow]
mov rbx, qword [0x18007f050]
test rbx, rbx
je 0x18005cab2
mov rax, qword [rbx + 0xa0]
jmp 0x18005cab5
mov rax, r12
cmp qword [rax + 0x48], r12
jne 0x18005cac7
call fcn.180045a40
mov rbx, qword [0x18007f050]
test rbx, rbx
je 0x18005cad5
mov rsi, qword [rbx + 0x98]
jmp 0x18005cad8
mov rsi, r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
lea rdx, [rbp - 0x61]
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x55]
sub eax, dword [rbp - 0x5d]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp - 0x59]
sub eax, dword [rbp - 0x61]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm0
movss dword [rbx + 0x14], xmm1
mov qword [rbp - 0x79], r12
lea rcx, [rbp - 0x79]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
sub rax, qword [rsi + 0x18]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsi + 0x20]
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [rsi + 0x18], rcx
mov r14, qword [0x18007f050]
test r14, r14
je 0x18005cb5d
mov r15, qword [r14 + 0x98]
jmp 0x18005cb60
mov r15, r12
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [r15]
cmp rax, rcx
jne 0x18005cbf4
cmp byte [r14 + 0xdb], r12b
je 0x18005cbb6
cvttss2si eax, dword [r14 + 0xdfc]
mov dword [rbp - 0x69], eax
cvttss2si eax, dword [r14 + 0xe00]
mov dword [rbp - 0x65], eax
lea rdx, [rbp - 0x69]
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x18005cbad
mov edx, dword [rbp - 0x65]
mov ecx, dword [rbp - 0x69]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [r14 + 0xdb], r12b
jne 0x18005cbf4
cmp byte [r15 + 0x10], r12b
jne 0x18005cbf4
lea rcx, [rbp - 0x69]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18005cbf4
lea rdx, [rbp - 0x69]
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18005cbf4
movd xmm2, dword [rbp - 0x65]
cvtdq2ps xmm2, xmm2
movd xmm1, dword [rbp - 0x69]
cvtdq2ps xmm1, xmm1
lea rcx, [r14 + 8]
call fcn.180004380
call fcn.180047420
cmp byte [rbx + 0x78], r12b
je 0x18005cc06
mov eax, 0xffffffff
jmp 0x18005cc13
mov rax, qword [0x18007f050]
mov eax, dword [rax + 0x4a10]
cmp dword [rsi + 0x28], eax
je 0x18005cc20
mov dword [rsi + 0x28], eax
call fcn.1800472b0
call fcn.1800475d0
call fcn.180009330
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18005cc7d
cmp byte [0x18007e058], r12b
sete al
mov byte [0x18007e058], al
mov edx, 0xffffffec
mov rcx, rdi
test al, al
je 0x18005cc63
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, 0x80008
jmp 0x18005cc6f
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, 0x80028
mov edx, 0xffffffec
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x18007e1e4]
test ecx, ecx
je 0x18005ccb1
sub ecx, 1
je 0x18005cc99
cmp ecx, 1
jne 0x18005cccf
mov byte [0x18007e1f0], cl
jmp 0x18005cccf
mov ecx, dword [0x18007e1e0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x18007e1f0]
jmp 0x18005cccf
mov ecx, dword [0x18007e1e0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18005cccf
cmp byte [0x18007e1f0], r12b
sete byte [0x18007e1f0]
mov rax, qword [0x18007f050]
mov rax, qword [rax + 0x4860]
mov dword [rbp - 0x79], 0x42232374
mov dword [rbp - 0x75], 0x676b6361
mov dword [rbp - 0x71], 0x6e756f72
mov word [rbp - 0x6d], 0x64
lea r8, [rbp - 0x78]
xor edx, edx
mov rcx, qword [rax]
call fcn.180007750
mov rsi, rax
lea rcx, [0x18007f1a0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x18005cd26
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x18007f1ec]
cmp eax, 0x7fffffff
jne 0x18005cd47
dec eax
mov dword [0x18007f1ec], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rdi, qword [0x18007f190]
mov rbx, qword [0x18007f188]
cmp rbx, rdi
je 0x18005cd74
nop word [rax + rax]
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax]
add rbx, 0x10
cmp rbx, rdi
jne 0x18005cd60
lea rcx, [0x18007f1a0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x18007e058], 0
je 0x18005cd96
lea rcx, [0x18007f077]
call fcn.18005fe80
call fcn.18000b2d0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
call fcn.18000b630
mov rcx, qword [0x18007f338]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x18007f320]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x18007f338]
mov rax, qword [rcx]
lea r8, [rbp - 1]
mov rdx, qword [0x18007f320]
call qword [rax + 0x190]
mov rax, qword [0x18007f050]
mov rcx, qword [rax + 0x4860]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], 0
cmove rcx, r12
call fcn.180044fd0
mov rcx, qword [0x18007f328]
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x40]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.18006ba20
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret