Function at 0x18005ef40
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x118
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor r15d, r15d
mov rbp, r9
mov eax, r8d
mov rsi, rdx
mov rdi, rcx
cmp r8d, 0x201
ja 0x18005fd04
je 0x18005fcba
cmp eax, 5
je 0x18005fc9d
cmp eax, 0xf
je 0x18005f2bc
cmp eax, 0x200
jne 0x18005fd20
lea ecx, [r15 + 0x11]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x18005efdb
mov rcx, qword [0x1801096f8]
test rcx, rcx
je 0x18005efdb
cmp byte [rdi + 0x554], r15b
jne 0x18005efdb
call qword [sym.imp.USER32.dll_SetCursor]
mov rbx, qword [rsp + 0x180]
test bpl, 1
je 0x18005f0f4
mov rcx, qword [0x180109700]
test rcx, rcx
je 0x18005f008
cmp byte [rdi + 0x554], r15b
jne 0x18005f008
call qword [sym.imp.USER32.dll_SetCursor]
movzx ecx, byte [rdi + 0x129]
cmp cl, 1
je 0x18005f01f
cmp cl, 2
je 0x18005f01f
movzx r14d, bx
jmp 0x18005f09a
movsx r14d, bx
mov rax, rbx
shr rax, 0x10
mov edx, r14d
movsx r8d, ax
mov eax, r14d
sub eax, dword [rdi + 0xb0]
add dword [rdi + 0xb8], eax
mov eax, r8d
sub eax, dword [rdi + 0xb4]
add dword [rdi + 0xbc], eax
mov dword [rdi + 0xc0], edx
mov dword [rdi + 0xc4], r8d
cmp byte [rdi + 0x554], r15b
jne 0x18005f08d
mov r9d, 0x101
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_RedrawWindow]
mov edx, dword [rdi + 0xc0]
mov r8d, dword [rdi + 0xc4]
movzx ecx, byte [rdi + 0x129]
mov dword [rdi + 0xb0], edx
mov dword [rdi + 0xb4], r8d
test cl, cl
jne 0x18005f0f4
movsx edx, r14w
mov rax, rbx
shr rax, 0x10
mov r9d, 0x101
movsx ecx, ax
xor r8d, r8d
mov eax, edx
mov dword [rdi + 0xc0], edx
sub eax, dword [rdi + 0xb0]
add dword [rdi + 0xe4], eax
mov eax, ecx
sub eax, dword [rdi + 0xb4]
add dword [rdi + 0xe8], eax
mov dword [rdi + 0xb4], ecx
mov dword [rdi + 0xc4], ecx
mov rcx, rsi
mov dword [rdi + 0xb0], edx
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
test bpl, 2
je 0x18005fee4
cmp byte [rdi + 0x129], 1
jne 0x18005fee4
cmp byte [rdi + 0x98], r15b
je 0x18005fee4
call fcn.180009c30
movd xmm7, dword [0x1801086fc]
xorps xmm4, xmm4
movd xmm5, dword [0x180108700]
cvtdq2ps xmm7, xmm7
cvtdq2ps xmm5, xmm5
divss xmm7, dword [0x180107320]
divss xmm5, dword [0x180107320]
ucomiss xmm7, xmm4
jp 0x18005f151
je 0x18005fee4
ucomiss xmm5, xmm4
jp 0x18005f15c
je 0x18005fee4
mov rbp, qword [rdi + 0xa0]
xorps xmm0, xmm0
xorps xmm6, xmm6
movsx eax, bx
xorps xmm1, xmm1
shr rbx, 0x10
cvtsi2ss xmm1, dword [rdi + 0xc8]
cvtsi2ss xmm0, eax
movsx eax, bx
maxss xmm6, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rdi + 0xd0]
addss xmm6, xmm1
movaps xmm1, xmm7
mulss xmm1, dword [0x1800e0294]
subss xmm6, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
subss xmm6, xmm1
xorps xmm1, xmm1
maxss xmm4, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm1, dword [rdi + 0xcc]
mulss xmm6, dword [0x1800e0bcc]
addss xmm4, xmm1
cvtsi2ss xmm0, dword [rdi + 0xd4]
divss xmm6, xmm7
subss xmm4, xmm0
movaps xmm7, xmm5
mulss xmm7, dword [0x1800e0294]
subss xmm7, xmm4
mulss xmm7, dword [0x1800e0bcc]
divss xmm7, xmm5
test rbp, rbp
je 0x18005f274
mov rbx, qword [rdi + 0xa8]
test rbx, rbx
je 0x18005f274
movaps xmm1, xmm6
mov rcx, rbp
cmp byte [rdi + 0x119], r15b
jne 0x18005f254
call fcn.18005be60
movaps xmm1, xmm7
mov rcx, rbx
call fcn.18005be60
mov rcx, qword [rbp + 0x10]
mov r9d, 0x101
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
mov rcx, qword [rbx + 0x10]
mov r9d, 0x101
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x18005f274
call fcn.18005bac0
movaps xmm1, xmm7
mov rcx, rbx
call fcn.18005bac0
mov rcx, rbp
call fcn.18006b310
mov rcx, rbx
call fcn.18006b310
movss dword [0x1801096d8], xmm6
movss dword [0x1801096dc], xmm7
cmp byte [rdi + 0x98], r15b
je 0x18005fee4
movaps xmm1, xmm7
movaps xmm0, xmm6
call fcn.180045ae0
mov r9d, 1
mov byte [rdi + 0x98], 2
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x18005fee4
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_BeginPaint]
mov rbp, rax
movzx eax, byte [rdi + 0x129]
test al, al
jne 0x18005f6a3
mov rax, qword [0x180109568]
test rax, rax
je 0x18005fee7
movd xmm0, dword [rax + 0xf4]
mov rcx, rbp
movss xmm2, dword [rdi + 0xfc]
mov r12d, dword [rdi + 0xe4]
mov ebx, dword [rdi + 0xe8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
mulss xmm0, dword [0x180107320]
addss xmm0, dword [0x1800e32f8]
cvttss2si eax, xmm0
mov dword [rdi + 0xdc], eax
mov rax, qword [0x180109568]
movd xmm0, dword [rax + 0xf8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
mulss xmm0, dword [0x180107320]
addss xmm0, dword [0x1800e32f8]
cvttss2si eax, xmm0
mov dword [rdi + 0xe0], eax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rdi + 0x64]
mov rcx, rbp
mov edx, dword [rdi + 0x60]
mov rsi, rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov qword [rsp + 0x68], rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8, qword [0x180109578]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rcx, rbp
mov eax, dword [rdi + 0x60]
mov dword [rsp + 0x80], eax
mov eax, dword [rdi + 0x64]
mov dword [rsp + 0x84], eax
mov qword [rsp + 0x78], r15
call qword [sym.imp.USER32.dll_FillRect]
mov rdx, qword [rdi + 0x120]
test rdx, rdx
je 0x18005f418
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [rdi + 0xf8]
mov rcx, rbp
mov r9d, dword [rdi + 0xf4]
mov r8d, dword [rdi + 0xd4]
mov edx, dword [rdi + 0xd0]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
jmp 0x18005f45a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_MoveToEx]
mov r8d, dword [rdi + 0x64]
mov rcx, rbp
mov edx, dword [rdi + 0x60]
call qword [sym.imp.GDI32.dll_LineTo]
mov r8d, dword [rdi + 0x64]
xor r9d, r9d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [rdi + 0x60]
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.GDI32.dll_LineTo]
mov esi, dword [rdi + 0x60]
lea eax, [rbx + 1]
mov r13d, dword [rdi + 0x64]
mov r14d, r12d
mov ecx, dword [rdi + 0xdc]
inc ecx
add ecx, r12d
cmp ecx, esi
cmovle esi, ecx
mov ecx, dword [rdi + 0xe0]
add eax, ecx
cmp eax, r13d
cmovle r13d, eax
cmp r12d, esi
jge 0x18005f4ff
nop dword [rax + rax]
mov r8d, dword [rdi + 0xd4]
mov rcx, rbp
mov edx, dword [rdi + 0xd0]
add r8d, ebx
add edx, r14d
call qword [sym.imp.GDI32.dll_GetPixel]
mov r8d, dword [rdi + 0xd4]
movzx ecx, ax
mov edx, dword [rdi + 0xd0]
add r8d, ebx
shr cx, 8
add edx, r14d
not cl
movzx r9d, cl
mov ecx, eax
shr ecx, 0x10
not al
not cl
shl r9d, 8
movzx ecx, cl
shl ecx, 0x10
or r9d, ecx
movzx eax, al
or r9d, eax
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SetPixel]
inc r14d
cmp r14d, esi
jl 0x18005f490
mov ecx, dword [rdi + 0xe0]
lea eax, [rcx + rbx]
mov r14d, r12d
cmp r12d, esi
jge 0x18005f57c
mov r15d, eax
nop dword [rax]
mov r8d, dword [rdi + 0xd4]
mov rcx, rbp
mov edx, dword [rdi + 0xd0]
add r8d, r15d
add edx, r14d
call qword [sym.imp.GDI32.dll_GetPixel]
mov r8d, dword [rdi + 0xd4]
movzx ecx, ax
mov edx, dword [rdi + 0xd0]
add r8d, r15d
shr cx, 8
add edx, r14d
not cl
movzx r9d, cl
mov ecx, eax
shr ecx, 0x10
not al
not cl
shl r9d, 8
movzx ecx, cl
shl ecx, 0x10
or r9d, ecx
movzx eax, al
or r9d, eax
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SetPixel]
inc r14d
cmp r14d, esi
jl 0x18005f510
xor r15d, r15d
mov esi, ebx
cmp ebx, r13d
jge 0x18005f5f8
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rdi + 0xd4]
mov rcx, rbp
mov edx, dword [rdi + 0xd0]
add r8d, esi
add edx, r12d
call qword [sym.imp.GDI32.dll_GetPixel]
mov r8d, dword [rdi + 0xd4]
movzx ecx, ax
mov edx, dword [rdi + 0xd0]
add r8d, esi
shr cx, 8
add edx, r12d
not cl
movzx r9d, cl
mov ecx, eax
shr ecx, 0x10
not al
not cl
shl r9d, 8
movzx ecx, cl
shl ecx, 0x10
or r9d, ecx
movzx eax, al
or r9d, eax
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SetPixel]
inc esi
cmp esi, r13d
jl 0x18005f590
mov esi, dword [rdi + 0xdc]
add esi, r12d
cmp ebx, r13d
jge 0x18005f676
nop word [rax + rax]
mov r8d, dword [rdi + 0xd4]
mov rcx, rbp
mov edx, dword [rdi + 0xd0]
add r8d, ebx
add edx, esi
call qword [sym.imp.GDI32.dll_GetPixel]
mov r8d, dword [rdi + 0xd4]
movzx ecx, ax
mov edx, dword [rdi + 0xd0]
add r8d, ebx
shr cx, 8
add edx, esi
not cl
movzx r9d, cl
mov ecx, eax
shr ecx, 0x10
not al
not cl
shl r9d, 8
movzx ecx, cl
shl ecx, 0x10
or r9d, ecx
movzx eax, al
or r9d, eax
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SetPixel]
inc ebx
cmp ebx, r13d
jl 0x18005f610
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteDC]
movzx eax, byte [rdi + 0x129]
dec al
cmp al, 1
ja 0x18005fc86
cmp dword [rdi + 0xb8], 0
jne 0x18005f9e2
cmp dword [rdi + 0xbc], 0
jne 0x18005f9e2
mov rcx, rbp
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rdi + 0x64]
mov rcx, rbp
mov edx, dword [rdi + 0x60]
mov r13, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov qword [rsp + 0x50], rax
mov rcx, r13
mov r14, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rbp
mov qword [rsp + 0x58], rax
mov r12, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, 4
mov qword [rsp + 0x78], 0
mov rbx, rax
mov qword [rsp + 0x68], rax
mov eax, dword [rdi + 0x60]
mov dword [rsp + 0x80], eax
mov eax, dword [rdi + 0x64]
mov dword [rsp + 0x84], eax
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rdx, [rsp + 0x78]
mov rcx, r13
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov rdx, qword [rdi + 0x120]
test rdx, rdx
je 0x18005f969
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
cmp byte [rdi + 0x129], 1
mov rcx, r13
mov r8d, dword [rdi + 0xd4]
mov rsi, rax
mov edx, dword [rdi + 0xd0]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x60], rax
jne 0x18005f7a3
mov eax, dword [rdi + 0x64]
mov r9d, dword [rdi + 0x60]
jmp 0x18005f7b0
mov eax, dword [rdi + 0xf0]
mov r9d, dword [rdi + 0xec]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
cmp byte [rdi + 0x98], 0
je 0x18005f875
movss xmm0, dword [0x1801096dc]
xorps xmm1, xmm1
divss xmm0, dword [0x1800e0bcc]
mov rcx, r13
movss xmm6, dword [0x1800e0294]
movss xmm3, dword [0x1801096d8]
movaps xmm2, xmm6
divss xmm3, dword [0x1800e0bcc]
cvtsi2ss xmm1, dword [rdi + 0xd4]
subss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x180108700]
addss xmm3, xmm6
mulss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rdi + 0xcc]
divss xmm2, dword [0x180107320]
subss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x1801086fc]
addss xmm2, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [rdi + 0xd0]
mulss xmm3, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rdi + 0xc8]
divss xmm3, dword [0x180107320]
cvttss2si r8d, xmm2
subss xmm3, xmm0
addss xmm3, xmm1
cvttss2si edx, xmm3
call fcn.1800506f0
cmp dword [rdi + 0x80], 1
jne 0x18005f937
cmp qword [rdi + 0x100], 0
je 0x18005f937
cmp dword [rdi + 0x64], 0
mov r14d, r15d
mov r12d, r15d
jle 0x18005f92d
mov eax, dword [rdi + 0x60]
xorps xmm7, xmm7
movss xmm6, dword [0x1800e02b4]
nop
mov ebx, r15d
test eax, eax
jle 0x18005f917
movsxd rsi, r12d
nop word [rax + rax]
mov rax, qword [rdi + 0x100]
movzx ecx, byte [rsi + rax]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm7
jbe 0x18005f8f0
comiss xmm6, xmm0
jbe 0x18005f8f0
cvttss2si r9d, xmm0
mov r8d, r14d
mov edx, ebx
mov rcx, rbp
call fcn.180059710
jmp 0x18005f90b
ucomiss xmm0, xmm6
jp 0x18005f90b
jne 0x18005f90b
mov r9d, 0xc0c0c0
mov r8d, r14d
mov edx, ebx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [rdi + 0x60]
inc ebx
inc rsi
cmp ebx, eax
jl 0x18005f8c0
inc r14d
add r12d, eax
cmp r14d, dword [rdi + 0x64]
jl 0x18005f8b0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov eax, dword [rdi + 0x64]
xor r8d, r8d
mov r9d, dword [rdi + 0x60]
xor edx, edx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, rbp
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
jmp 0x18005f9b0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_MoveToEx]
mov r8d, dword [rdi + 0x64]
mov rcx, rbp
mov edx, dword [rdi + 0x60]
call qword [sym.imp.GDI32.dll_LineTo]
mov r8d, dword [rdi + 0x64]
xor r9d, r9d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [rdi + 0x60]
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.GDI32.dll_LineTo]
mov rsi, qword [rsp + 0x68]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, r12
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbx
jmp 0x18005fc80
mov rcx, rbp
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rdi + 0x64]
mov rcx, rbp
mov edx, dword [rdi + 0x60]
mov rsi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rbx
mov r12, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, 4
mov qword [rsp + 0x78], 0
mov r13, rax
mov eax, dword [rdi + 0x60]
mov dword [rsp + 0x80], eax
mov eax, dword [rdi + 0x64]
mov dword [rsp + 0x84], eax
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rdx, [rsp + 0x78]
mov rcx, rbx
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov rdx, qword [rdi + 0x120]
test rdx, rdx
je 0x18005fad9
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8d, dword [rdi + 0xd4]
mov rcx, rbx
mov edx, dword [rdi + 0xd0]
mov r14, rax
add r8d, dword [rdi + 0xbc]
add edx, dword [rdi + 0xb8]
cmp byte [rdi + 0x129], 1
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rsi
jne 0x18005fac0
mov eax, dword [rdi + 0x64]
mov r9d, dword [rdi + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
jmp 0x18005fb4a
mov eax, dword [rdi + 0xf0]
mov r9d, dword [rdi + 0xec]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
jmp 0x18005fb4a
mov r8d, dword [rdi + 0xbc]
xor r9d, r9d
mov edx, dword [rdi + 0xb8]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_MoveToEx]
mov r8d, dword [rdi + 0x64]
mov rcx, rbx
mov edx, dword [rdi + 0x60]
add r8d, dword [rdi + 0xbc]
add edx, dword [rdi + 0xb8]
call qword [sym.imp.GDI32.dll_LineTo]
mov r8d, dword [rdi + 0x64]
xor r9d, r9d
add r8d, dword [rdi + 0xbc]
mov rcx, rbx
mov edx, dword [rdi + 0xb8]
call qword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [rdi + 0x60]
mov rcx, rbx
add edx, dword [rdi + 0xb8]
mov r8d, dword [rdi + 0xbc]
call qword [sym.imp.GDI32.dll_LineTo]
mov r14, qword [rsp + 0x68]
cmp byte [rdi + 0x98], 0
je 0x18005fc23
movss xmm0, dword [0x1801096dc]
xorps xmm1, xmm1
divss xmm0, dword [0x1800e0bcc]
mov rcx, rbx
cvtsi2ss xmm1, dword [rdi + 0xbc]
movss xmm6, dword [0x1800e0294]
movss xmm3, dword [0x1801096d8]
movaps xmm2, xmm6
divss xmm3, dword [0x1800e0bcc]
subss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x180108700]
addss xmm3, xmm6
mulss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rdi + 0xcc]
divss xmm2, dword [0x180107320]
subss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rdi + 0xd4]
addss xmm2, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [rdi + 0xb8]
addss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x1801086fc]
cvttss2si r8d, xmm2
mulss xmm3, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rdi + 0xc8]
divss xmm3, dword [0x180107320]
subss xmm3, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rdi + 0xd0]
addss xmm3, xmm1
addss xmm3, xmm0
cvttss2si edx, xmm3
call fcn.1800506f0
mov eax, dword [rdi + 0x64]
xor r8d, r8d
mov r9d, dword [rdi + 0x60]
xor edx, edx
mov dword [rsp + 0x40], 0xcc0020
mov rcx, rbp
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_EndPaint]
jmp 0x18005fee4
mov rcx, qword [rsp + 0x180]
movzx eax, cx
shr rcx, 0x10
mov dword [rdi + 0x60], eax
movzx eax, cx
mov dword [rdi + 0x64], eax
jmp 0x18005fee4
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetCapture]
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetKeyState]
mov rdx, qword [rsp + 0x180]
shr ax, 0xf
and al, 1
mov byte [rdi + 0x554], al
movsx eax, dx
shr rdx, 0x10
mov dword [rdi + 0xb0], eax
movsx eax, dx
mov dword [rdi + 0xb4], eax
mov qword [rdi + 0xb8], r15
jmp 0x18005fee4
mov ecx, eax
sub ecx, 0x202
je 0x18005fe7a
sub ecx, 2
je 0x18005fe04
cmp ecx, 1
je 0x18005fd3e
mov r9, qword [rsp + 0x180]
mov r8, rbp
mov edx, eax
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcA]
mov r15, rax
jmp 0x18005fee4
call qword [sym.imp.USER32.dll_ReleaseCapture]
cmp byte [rdi + 0x98], r15b
je 0x18005fee4
mov rcx, qword [0x180109348]
mov edx, 0xffffffeb
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x18005fdac
mov rax, qword [0x180108788]
movss xmm0, dword [0x1801096d8]
movss dword [rax + 0x1cc], xmm0
mov rax, qword [0x180108788]
movss xmm1, dword [0x1801096dc]
movss dword [rax + 0x1d0], xmm1
jmp 0x18005fdde
test eax, eax
jne 0x18005fdf3
mov rax, qword [0x180108788]
cmp byte [rax + 0x20], r15b
je 0x18005fdf3
movss xmm0, dword [0x1801096d8]
movss dword [rax + 0x38], xmm0
mov rax, qword [0x180108788]
movss xmm1, dword [0x1801096dc]
movss dword [rax + 0x3c], xmm1
movss xmm1, dword [0x1801096dc]
movss xmm0, dword [0x1801096d8]
call fcn.180045ae0
mov rcx, qword [0x180109348]
call fcn.180045e20
jmp 0x18005fee4
cmp byte [rdi + 0x129], 1
jne 0x18005fe6f
lea rcx, [rsp + 0x68]
call fcn.1800023f0
movss xmm1, dword [0x180107320]
xorps xmm2, xmm2
movups xmm0, xmmword [rax]
movq r8, xmm0
psrldq xmm0, 8
movq rdx, xmm0
mov rcx, r8
shr rcx, 0x20
mov rax, rdx
shr rax, 0x20
sub eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
ucomiss xmm0, xmm2
jp 0x18005fe5a
je 0x18005fee4
sub edx, r8d
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
ucomiss xmm0, xmm2
jp 0x18005fe6f
je 0x18005fee4
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetCapture]
jmp 0x18005fee4
call qword [sym.imp.USER32.dll_ReleaseCapture]
movzx eax, byte [rdi + 0x129]
dec al
cmp al, 1
ja 0x18005fea5
mov eax, dword [rdi + 0xb8]
sub dword [rdi + 0xc8], eax
mov eax, dword [rdi + 0xbc]
sub dword [rdi + 0xcc], eax
mov qword [rdi + 0xb8], r15
cmp byte [rdi + 0x554], r15b
jne 0x18005fedd
movzx ebx, word [rdi + 0x28]
mov rcx, rsi
or rbx, 0x90000
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
mov r8, rbx
mov rcx, rax
mov edx, 0x111
call qword [sym.imp.USER32.dll_SendMessageA]
mov byte [rdi + 0x554], r15b
mov rax, r15
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.18007b2f0
movaps xmm6, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0xf0]
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret