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

Disassembly:
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov ecx, dword [0x14017e96c]
mov qword [rsp + 0x220], rdi
xor dil, dil
test ecx, ecx
je 0x14005460e
sub ecx, 1
je 0x1400545f6
cmp ecx, 1
jne 0x14005462c
mov byte [0x14017e978], cl
jmp 0x14005462c
mov ecx, dword [0x14017e968]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x14017e978]
jmp 0x14005462c
mov ecx, dword [0x14017e968]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14005462c
cmp byte [0x14017e978], dil
sete byte [0x14017e978]
cmp byte [0x14017f4cf], dil
mov qword [rsp + 0x210], rbx
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1c0], xmm9
je 0x140054d52
lea rdx, [rsp + 0x41]
mov dword [rsp + 0x40], 0x626f5206
xor ecx, ecx
mov dword [rsp + 0x44], 0x786f6c
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x140054d52
cmp byte [0x14017e978], dil
je 0x140054d52
mov qword [rsp + 0x218], rsi
lea rax, [rsp + 0x41]
mov qword [rsp + 0x228], r14
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1e0], xmm7
xor r14d, r14d
movaps xmmword [rsp + 0x1d0], xmm8
mov rbx, 0xffffffffffffffff
movaps xmmword [rsp + 0x1b0], xmm10
mov r8, rbx
movaps xmmword [rsp + 0x1a0], xmm11
movaps xmmword [rsp + 0x190], xmm12
movaps xmmword [rsp + 0x180], xmm13
movaps xmmword [rsp + 0x170], xmm14
movaps xmmword [rsp + 0x160], xmm15
mov dword [rsp + 0x40], 0x726f5721
mov dword [rsp + 0x44], 0x6170736b
mov word [rsp + 0x48], 0x6563
mov byte [rsp + 0x4a], dil
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
inc r8
cmp byte [rax + r8], dil
jne 0x140054722
lea rdx, [rsp + 0x41]
lea rcx, [rbp]
call fcn.140004da0
lea r8, [rbp]
lea rdx, [rbp - 0x58]
lea rcx, [0x14017f4f0]
call fcn.1400474e0
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0x6d614324
mov rsi, rax
mov dword [rsp + 0x44], 0x617265
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r14
lea rax, [rsp + 0x41]
mov qword [rbp - 0x30], r14
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x140054777
lea rdx, [rsp + 0x41]
lea rcx, [rbp - 0x48]
call fcn.140004da0
lea r8, [rbp - 0x48]
mov rcx, rsi
lea rdx, [rsp + 0x40]
call fcn.1400474e0
mov rax, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x218]
add rax, 0xd0
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x18], rax
mov eax, dword [0x14017f670]
mov dword [rbp - 7], r14d
mov word [rbp - 3], r14w
mov byte [rbp - 1], dil
mov dword [rbp - 0x28], 0x12b2d92
mov qword [rbp - 0x10], 0x24
mov dword [rbp - 0x24], eax
mov byte [rbp - 8], dil
test eax, eax
je 0x140054827
mov rcx, qword [0x14017f668]
test rcx, rcx
je 0x140054827
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], r14
lea r8, [rbp - 0x28]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm0, dword [rbp + 0x30]
xorps xmm6, xmm6
movss dword [rbp - 0x60], xmm0
mov ecx, 0x57
movss xmm0, dword [rbp + 0x3c]
xorps xmm9, xmm9
movss dword [rbp - 0x68], xmm0
xorps xmm8, xmm8
movss xmm0, dword [rbp + 0x48]
xorps xmm10, xmm10
movss dword [rbp - 0x74], xmm0
xorps xmm7, xmm7
movss xmm0, dword [rbp + 0x28]
xorps xmm11, xmm11
movss dword [rsp + 0x40], xmm0
xorps xmm12, xmm12
movss xmm0, dword [rbp + 0x34]
xorps xmm13, xmm13
movss dword [rbp - 0x58], xmm0
xorps xmm14, xmm14
movss xmm0, dword [rbp + 0x40]
xorps xmm15, xmm15
movss dword [rbp - 0x50], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
movss dword [rbp - 0x70], xmm6
movss dword [rbp - 0x6c], xmm6
movss dword [rbp - 0x64], xmm6
movss dword [rbp - 0x80], xmm6
movss dword [rbp - 0x7c], xmm6
movss dword [rbp - 0x78], xmm6
movss dword [rsp + 0x58], xmm6
movss dword [rsp + 0x5c], xmm6
movss dword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], r14
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140054961
xorps xmm1, xmm1
xorps xmm3, xmm3
subss xmm3, dword [rbp - 0x74]
subss xmm1, dword [rbp - 0x60]
xorps xmm2, xmm2
mov dil, 1
subss xmm2, dword [rbp - 0x68]
movd eax, xmm3
movaps xmm11, xmm3
movaps xmm0, xmm1
movss dword [rbp - 0x70], xmm3
movss dword [rbp - 0x64], xmm1
movaps xmm10, xmm1
unpcklps xmm0, xmm2
movaps xmm8, xmm2
movss dword [rbp - 0x6c], xmm2
movaps xmm7, xmm1
movss dword [rbp - 0x80], xmm3
movaps xmm12, xmm3
movd xmm9, eax
movaps xmm13, xmm1
movss dword [rbp - 0x7c], xmm2
movaps xmm14, xmm2
movss dword [rbp - 0x78], xmm1
movaps xmm15, xmm3
movss dword [rsp + 0x58], xmm3
movss dword [rsp + 0x5c], xmm2
movss dword [rsp + 0x60], xmm1
movss dword [rsp + 0x64], xmm2
movsd qword [rsp + 0x70], xmm0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400549f1
movss xmm1, dword [rbp - 0x64]
mov dil, 1
addss xmm1, dword [rbp - 0x60]
movss xmm3, dword [rbp - 0x74]
addss xmm3, dword [rbp - 0x70]
movss xmm2, dword [rbp - 0x6c]
addss xmm2, dword [rbp - 0x68]
movaps xmm0, xmm1
movss dword [rbp - 0x78], xmm1
movss dword [rsp + 0x60], xmm1
movaps xmm10, xmm1
movd eax, xmm3
movaps xmm7, xmm1
movss dword [rbp - 0x80], xmm3
movaps xmm11, xmm3
unpcklps xmm0, xmm2
movaps xmm8, xmm2
movss dword [rbp - 0x7c], xmm2
movaps xmm12, xmm3
movss dword [rsp + 0x58], xmm3
movaps xmm13, xmm1
movss dword [rsp + 0x5c], xmm2
movaps xmm14, xmm2
movd xmm9, eax
movaps xmm15, xmm3
movss dword [rsp + 0x64], xmm2
movsd qword [rsp + 0x70], xmm0
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140054a6f
movss xmm1, dword [rbp - 0x78]
mov dil, 1
subss xmm1, dword [rsp + 0x40]
movss xmm3, dword [rbp - 0x80]
subss xmm3, dword [rbp - 0x50]
movss xmm2, dword [rbp - 0x7c]
subss xmm2, dword [rbp - 0x58]
movaps xmm0, xmm1
movss dword [rsp + 0x60], xmm1
movaps xmm10, xmm1
movaps xmm7, xmm1
movd eax, xmm3
movaps xmm11, xmm3
movss dword [rsp + 0x58], xmm3
movaps xmm12, xmm3
unpcklps xmm0, xmm2
movaps xmm8, xmm2
movss dword [rsp + 0x5c], xmm2
movaps xmm13, xmm1
movss dword [rsp + 0x64], xmm2
movaps xmm14, xmm2
movsd qword [rsp + 0x70], xmm0
movaps xmm15, xmm3
movd xmm9, eax
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140054adc
movss xmm10, dword [rsp + 0x40]
mov dil, 1
movss xmm11, dword [rsp + 0x58]
addss xmm11, dword [rbp - 0x50]
movss xmm8, dword [rbp - 0x58]
addss xmm10, dword [rsp + 0x60]
addss xmm8, dword [rsp + 0x5c]
movd eax, xmm11
movaps xmm12, xmm11
movaps xmm15, xmm11
movaps xmm0, xmm10
movaps xmm7, xmm10
unpcklps xmm0, xmm8
movaps xmm13, xmm10
movsd qword [rsp + 0x70], xmm0
movaps xmm14, xmm8
movaps xmm0, xmm8
movd xmm9, eax
jmp 0x140054ae2
movss xmm0, dword [rsp + 0x64]
mulss xmm7, xmm10
movaps xmm10, xmmword [rsp + 0x1b0]
mulss xmm8, xmm0
xorps xmm0, xmm0
mulss xmm12, xmm11
movaps xmm11, xmmword [rsp + 0x1a0]
addss xmm7, xmm8
movaps xmm8, xmmword [rsp + 0x1d0]
addss xmm7, xmm12
movaps xmm12, xmmword [rsp + 0x190]
ucomiss xmm0, xmm7
ja 0x140054b30
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x140054b38
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm0, xmm6
movaps xmm7, xmmword [rsp + 0x1e0]
jbe 0x140054b69
divss xmm13, xmm0
divss xmm15, xmm0
divss xmm14, xmm0
movd eax, xmm15
unpcklps xmm13, xmm14
movsd qword [rsp + 0x70], xmm13
movd xmm9, eax
mov edx, dword [0x14017f670]
mov rax, qword [0x14017f500]
movaps xmm15, xmmword [rsp + 0x160]
add rax, 0x110
movaps xmm14, xmmword [rsp + 0x170]
movaps xmm13, xmmword [rsp + 0x180]
mov rcx, qword [0x14017f668]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x18], rax
mov dword [rbp - 7], r14d
mov word [rbp - 3], r14w
mov byte [rbp - 1], r14b
mov dword [rbp - 0x28], 0x12b2d92
mov qword [rbp - 0x10], 8
mov dword [rbp - 0x24], edx
mov byte [rbp - 8], r14b
test edx, edx
je 0x140054c13
test rcx, rcx
je 0x140054c13
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], r14
lea r8, [rbp - 0x28]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [0x14017f670]
mov rcx, qword [0x14017f668]
mov rax, qword [rbp - 0x58]
add rax, 0x298
mov dword [rbp + 0x21], r14d
mov qword [rbp + 8], rax
lea rax, [rbp - 0x50]
mov qword [rbp + 0x10], rax
mov word [rbp + 0x25], r14w
mov byte [rbp + 0x27], r14b
mov dword [rbp], 0x12b2d92
mov qword [rbp + 0x18], 8
mov dword [rbp + 4], edx
mov byte [rbp + 0x20], r14b
test edx, edx
je 0x140054c85
test rcx, rcx
je 0x140054c85
mov qword [rsp + 0x38], r14
lea rax, [rbp]
mov qword [rsp + 0x30], r14
lea r8, [rbp]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movdqa xmm0, xmmword [0x1400d0a20]
lea rax, [rsp + 0x41]
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x38], r14
xorps xmm0, xmm0
mov qword [rbp - 0x30], r14
mov r14, qword [rsp + 0x228]
movups xmmword [rbp - 0x48], xmm0
mov word [rsp + 0x50], 0x74
inc rbx
cmp byte [rax + rbx], 0
jne 0x140054cb6
mov r8, rbx
lea rdx, [rsp + 0x41]
lea rcx, [rbp - 0x48]
call fcn.140004da0
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.1400474e0
test dil, dil
jne 0x140054d19
movaps xmm0, xmm6
movss dword [rsp + 0x78], xmm6
unpcklps xmm0, xmm6
movsd qword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400478c0
lea rcx, [rsp + 0x40]
call fcn.140049d20
mov rax, qword [rsp + 0x40]
jmp 0x140054d66
cmp dil, 1
jne 0x140054d52
movss xmm0, dword [0x1400d0664]
movss xmm2, dword [rsp + 0x70]
movss xmm1, dword [rsp + 0x74]
mulss xmm2, xmm0
mulss xmm1, xmm0
mulss xmm9, xmm0
unpcklps xmm2, xmm1
movsd qword [rsp + 0x70], xmm2
movss dword [rsp + 0x78], xmm9
jmp 0x140054cf9
lea rcx, [rsp + 0x40]
call fcn.140049d20
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
movaps xmm9, xmmword [rsp + 0x1c0]
movabs r8, 0x7fffffffff67697f
movaps xmm6, xmmword [rsp + 0x1f0]
mov rdi, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x210]
cmp rax, r8
je 0x140054daf
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x140054daf
add rax, 0x989680
jmp 0x140054db9
movabs rax, 0x7fffffffffffffff
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.14004c1b0
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400aca30
add rsp, 0x200
pop rbp
ret