Function at 0x140048af0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r15
lea rbp, [r11 - 0x48]
sub rsp, 0x128
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
movaps xmmword [r11 - 0x58], xmm8
movaps xmmword [r11 - 0x88], xmm11
movaps xmmword [r11 - 0x98], xmm12
movaps xmmword [r11 - 0xa8], xmm13
movaps xmmword [r11 - 0xb8], xmm14
movaps xmmword [r11 - 0xc8], xmm15
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [0x14006fc80]
lea rdi, [0x14004e3b4]
movss xmm15, dword [0x14005b334]
xor r15d, r15d
movss xmm3, dword [0x14005b324]
mov rsi, rdx
mov qword [r11 + 8], rbx
lea rdx, [rsp + 0x60]
movss xmm2, dword [rcx + 0x1a80]
lea rbx, str.Dice_merchant
mov rcx, qword [rcx + 0x1a78]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
movaps xmmword [r11 - 0x68], xmm9
mov qword [rsp + 0x28], rbx
movss dword [rsp + 0x20], xmm15
movaps xmmword [r11 - 0x78], xmm10
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], r8
call fcn.140039cc0
movdqa xmm0, xmmword [0x14005b650]
lea rcx, [rsp + 0x50]
movss xmm8, dword [rsp + 0x40]
movss xmm11, dword [rsp + 0x44]
movaps xmm6, xmm8
addss xmm6, dword [rsp + 0x48]
movss xmm14, dword [rbp + 0x70]
movaps xmm9, xmm11
addss xmm9, dword [rsp + 0x4c]
movss xmm12, dword [rbp + 0x74]
movups xmmword [rsp + 0x50], xmm0
movaps xmm10, xmm6
addss xmm10, dword [rbp + 0x78]
movss dword [rsp + 0x44], xmm9
movaps xmm0, xmm10
movss dword [rsp + 0x40], xmm10
addss xmm0, xmm14
movss dword [rsp + 0x68], xmm0
movaps xmm0, xmm9
addss xmm0, xmm12
movss dword [rsp + 0x6c], xmm0
call fcn.140002e30
xorps xmm13, xmm13
mov dword [rsp + 0x28], 0xf0
mov r9d, eax
movss dword [rsp + 0x20], xmm13
lea rdx, [rsp + 0x40]
mov rcx, rsi
lea r8, [rsp + 0x68]
call fcn.140034c00
movss xmm0, dword [rsp + 0x64]
lea rcx, [rsp + 0x50]
movdqa xmm7, xmmword [0x14005b690]
movaps xmm1, xmm12
movss dword [rsp + 0x68], xmm6
movss xmm6, dword [0x14005b21c]
mulss xmm1, xmm6
mulss xmm0, xmm6
addss xmm1, xmm9
movups xmmword [rsp + 0x50], xmm7
subss xmm1, xmm0
movss dword [rsp + 0x6c], xmm1
call fcn.140002e30
mov r8d, eax
lea rdx, [rsp + 0x68]
mov r9, rbx
mov rcx, rsi
call fcn.140034f00
mov rax, qword [0x14006fc80]
movss xmm0, dword [rax + 0x434]
ucomiss xmm0, xmm13
jp 0x140048d2d
jne 0x140048d2d
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140048d25
movd xmm0, dword [rsp + 0x68]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm10
jb 0x140048d25
addss xmm10, xmm14
comiss xmm10, xmm0
jb 0x140048d25
movd xmm0, dword [rsp + 0x6c]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm9
jb 0x140048d25
addss xmm9, xmm12
comiss xmm9, xmm0
jb 0x140048d25
cmp byte [0x14006fd68], r15b
jne 0x140048d2d
mov byte [0x14006fd68], 1
jmp 0x140048d2d
movdqa xmm7, xmmword [0x14005b690]
cmp byte [0x14006fd68], r15b
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm9, xmmword [rsp + 0xe0]
je 0x140048da5
mov ecx, 0x64
mov qword [rsp + 0x120], r14
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [0x140057bf0]
lea r14, [0x140057e88]
nop dword [rax]
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140048d8c
mov eax, dword [rbx]
mov dword [0x14006fd6c], eax
mov byte [0x14006fd68], r15b
add rbx, 4
cmp rbx, r14
jne 0x140048d70
mov r14, qword [rsp + 0x120]
movdqa xmm7, xmmword [0x14005b690]
movzx ecx, byte [0x14006fd68]
mov rbx, qword [rsp + 0x150]
test cl, cl
jne 0x140048dca
movsxd rax, dword [0x14006fd6c]
lea rdi, [0x140057e90]
mov rdi, qword [rdi + rax*8]
mov eax, dword [0x14006fd6c]
test eax, eax
jne 0x140048f09
test cl, cl
je 0x140048f19
mov rcx, qword [0x14006fc80]
movss xmm0, dword [rcx + 0x1a80]
test rdi, rdi
je 0x140048e4f
movss xmm3, dword [0x14005b324]
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + 0x1a78]
movaps xmm2, xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm15
call fcn.140039cc0
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x14005b258]
movdqa xmm7, xmmword [0x14005b690]
cvttss2si eax, xmm0
movss xmm0, dword [rsp + 0x44]
movd xmm13, eax
cvtdq2ps xmm13, xmm13
addss xmm8, dword [rsp + 0x48]
addss xmm11, dword [rsp + 0x4c]
mulss xmm0, xmm6
lea rcx, [rsp + 0x50]
mulss xmm14, xmm6
addss xmm8, dword [rbp + 0x78]
mulss xmm12, xmm6
mulss xmm13, xmm6
addss xmm8, xmm14
addss xmm11, xmm12
movups xmmword [rsp + 0x50], xmm7
subss xmm8, xmm13
subss xmm11, xmm0
movss dword [rsp + 0x68], xmm8
movss dword [rsp + 0x6c], xmm11
call fcn.140002e30
mov r8d, eax
lea rdx, [rsp + 0x68]
mov r9, rdi
mov rcx, rsi
call fcn.140034f00
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14004ac30
lea r11, [rsp + 0x128]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop rdi
pop rsi
pop rbp
ret
cmp eax, 0x1b
jne 0x140048de0
mov dword [0x14006fd6c], r15d
mov rcx, qword [0x14006fc80]
lea rdi, str.Brak
movss xmm0, dword [rcx + 0x1a80]
jmp 0x140048df4