Function at 0x14008f070
Capabilities:
Log keystrokes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xc0
movaps xmmword [rax - 0x38], xmm6
mov rbx, r9
mov r15d, r8d
mov r13, rdx
mov rdi, rcx
cmp r8d, 0x100
ja 0x14008f4ae
je case.0x14008f4ea.260
lea eax, [r8 - 6]
cmp eax, 0xa1
ja case.0x14008fb42.515
lea rsi, [0x140000000]
movzx eax, byte [rsi + rax + 0x901cc]
mov ecx, dword [rsi + rax*4 + 0x9016c]
add rcx, rsi
jmp rcx
mov eax, dword [rdi + 0x10]
test al, 4
je 0x14008f11a
mov rax, 0xffffffffffffffff
jmp 0x14008f177
mov rcx, rdi
call fcn.14008bb30
xor eax, eax
jmp 0x14008f177
mov rcx, rdi
call fcn.14008bb30
mov eax, dword [rdi + 0x10]
shr eax, 3
test al, 1
je case.0x14008f0de.136
jmp case.0x14008fb42.515
mov eax, dword [rdi + 0x10]
shr eax, 3
test al, 1
je 0x140090162
jmp case.0x14008fb42.515
mov rdx, qword [rbp + 0x7f]
mov rcx, rdi
call fcn.14008e3b0
jmp 0x14008f177
mov rax, qword [rbp + 0x7f]
mov ecx, dword [rax + 0x20]
and ecx, 3
cmp cl, 3
jne 0x14008f154
lea rcx, [rdi + 0x68]
mov edx, 0x64
call fcn.14018b880
jmp case.0x14008fb42.515
mov rcx, rdi
call fcn.14008e8a0
test al, al
jne case.0x14008f0de.136
mov r9, qword [rbp + 0x7f]
mov r8, rbx
mov edx, r15d
mov rcx, r13
call qword [sym.imp.USER32.dll_DefWindowProcW]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14008a270
mov rcx, rdi
call fcn.1401fd4b0
jmp case.0x14008fb42.515
cmp byte [rdi + 0xb3], 0
je 0x14008f1c2
mov byte [rdi + 0xb3], 0
call qword [sym.imp.USER32.dll_DestroyCaret]
mov rcx, qword [rdi + 8]
mov rdx, qword [0x14043c880]
cmp rdx, rcx
je 0x14008f1f3
mov rax, rdx
test rdx, rdx
je 0x14008f280
nop
mov rax, qword [rax + 0x30]
cmp rax, rcx
je 0x14008f1f3
test rax, rax
jne 0x14008f1e0
jmp 0x14008f280
lea rcx, [rdi + 0x48]
call fcn.140099680
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14008f280
cmp qword [rax + 0x10], 0
je 0x14008f280
xor esi, esi
mov qword [0x14043c880], rsi
mov r14, qword [0x14043c860]
test r14, r14
jne 0x14008f241
mov ecx, 0x150
call fcn.1400daadc
mov qword [rbp - 0x31], rax
mov rcx, rax
call fcn.1402625b0
mov r14, rax
mov qword [0x14043c860], rax
mov rcx, qword [r14 + 0x28]
mov edx, 1
xor eax, eax
lock cmpxchg dword [rcx + 0x18], edx
jne 0x14008f269
mov rcx, qword [r14 + 0x28]
call fcn.14018a710
test al, al
jne 0x14008f269
mov rcx, qword [r14 + 0x28]
mov eax, esi
xchg dword [rcx + 0x18], eax
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14008f276
mov rsi, qword [rax + 0x10]
xor edx, edx
mov rcx, rsi
call fcn.140265c20
call fcn.140269150
test rax, rax
je case.0x14008fb42.515
mov rcx, rax
call fcn.14026b700
test rax, rax
je case.0x14008fb42.515
test byte [rax + 0x10], 2
je case.0x14008fb42.515
mov rcx, rdi
call fcn.140090450
jmp case.0x14008fb42.515
test rbx, rbx
jne 0x14008f358
call fcn.140287310
mov rdi, rax
lea rbx, [rax + 0xd0]
cmp byte [rbx], 0
jne 0x14008f358
mov qword [rbp - 0x41], rbx
mov byte [rbp - 0x39], 0
mov byte [rbx], 1
mov r14, qword [rax + 0xb8]
test r14, r14
je 0x14008f355
xor esi, esi
mov qword [rax + 0xb8], rsi
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, r14
call fcn.1400dcefc
test rax, rax
je 0x14008f322
mov dl, 1
mov rcx, rax
call fcn.1401f7560
mov r9, qword [rdi + 0xc8]
mov r8, r9
shr r8, 0x20
mov rdx, qword [rdi + 0xc0]
mov rax, rdx
shr rax, 0x20
mov dword [rsp + 0x20], r8d
mov r8d, eax
mov rcx, r14
call fcn.14028b770
mov qword [rdi + 0xb8], rsi
mov byte [rbx], 0
mov rcx, qword [0x140441ed8]
nop
test rcx, rcx
je 0x14008f36f
mov edx, 0xa
call fcn.14018b880
mov r14, 0xffffffffffffffff
mov dword [0x14043c874], r14d
xor eax, eax
jmp 0x14008f177
cmp bx, 1
je 0x14008f394
cmp bx, 2
jne case.0x14008fb42.515
mov rdx, rbx
mov rcx, rdi
call fcn.14008e9d0
xor eax, eax
jmp 0x14008f177
test rbx, rbx
jne case.0x14008fb42.515
cmp byte [reloc.WS2_32.dll_accept], bl
jne case.0x14008fb42.515
mov ebx, 1
jmp case.0x14008fb42.515
test rbx, rbx
je case.0x14008fb42.515
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x58]
mov rcx, qword [rdi + 8]
call fcn.140265e30
jmp case.0x14008fb42.515
mov rcx, qword [rdi + 8]
call fcn.140269200
test al, al
jne case.0x14008f0de.136
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x70]
xor eax, eax
jmp 0x14008f177
mov rcx, qword [0x14043c848]
test rcx, rcx
je 0x140090162
mov rax, qword [rcx]
call qword [rax + 0x38]
call fcn.14018a8e0
mov ecx, dword [rax + 8]
nop
xor esi, esi
test ecx, ecx
setne sil
mov rax, rsi
jmp 0x14008f177
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, rdi
call fcn.14008eb50
jmp case.0x14008fb42.515
mov eax, 4
jmp 0x14008f177
mov r14, qword [rbp + 0x7f]
cmp r14d, 0xffffffe7
jne case.0x14008fb42.515
mov rcx, qword [rdi + 8]
call fcn.140264b90
test rax, rax
je case.0x14008fb42.515
xor esi, esi
mov qword [rbp - 0x51], rsi
lea r9, [rbp - 0x51]
mov r8, r14
mov rdx, rbx
mov rcx, rax
call fcn.1401ef2f0
test al, al
je case.0x14008fb42.515
mov byte [rdi + 0x11a], 1
mov rax, qword [rbp - 0x51]
jmp 0x14008f177
cmp r15d, 0x200
ja 0x14008fb04
je 0x14008fae2
lea eax, [r8 - 0x101]
cmp eax, 0x1f
ja case.0x14008fb42.515
lea rsi, [0x140000000]
movzx eax, byte [rsi + rax + 0x9029c]
mov ecx, dword [rsi + rax*4 + 0x90270]
add rcx, rsi
jmp rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
mov dword [rbp - 0x21], 0x38
mov rax, qword [0x140441f10]
test rax, rax
je case.0x14008fb42.515
lea rdx, [rbp - 0x21]
mov rcx, qword [rbp + 0x7f]
call rax
test eax, eax
je case.0x14008fb42.515
call fcn.14008a270
mov qword [rbp - 0x49], 0
lea rdx, [rbp - 0x49]
mov rcx, rdi
call fcn.14008cab0
mov rsi, rax
test rax, rax
je case.0x14008fb42.515
cmp dword [rbp - 0x19], 3
jne case.0x14008fb42.515
cmp dword [rbp - 0x1d], 1
je 0x14008f671
mov rcx, qword [rdi + 0xa8]
test rcx, rcx
je 0x14008f671
mov rdx, qword [rbp + 7]
xorps xmm0, xmm0
test rdx, rdx
js 0x14008f586
cvtsi2sd xmm0, rdx
jmp 0x14008f59b
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
xorps xmm1, xmm1
test rcx, rcx
js 0x14008f5aa
cvtsi2sd xmm1, rcx
jmp 0x14008f5bf
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
divsd xmm0, xmm1
cvtpd2ps xmm6, xmm0
call fcn.1401edfa0
mov r14, rax
mov rax, qword [0x14043c860]
test rax, rax
jne 0x14008f5f9
mov ecx, 0x150
call fcn.1400daadc
mov qword [rbp - 0x31], rax
mov rcx, rax
call fcn.1402625b0
nop
mov qword [0x14043c860], rax
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rax + 0x30]
call fcn.1400568d0
test rax, rax
je 0x14008f671
mov rbx, qword [rax]
mov qword [rbp - 0x51], 0
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, qword [rbp - 0x49]
mov rdx, rsi
mov rcx, rbx
call fcn.140055cc0
mov rsi, rax
test rax, rax
je 0x14008f671
lea rax, [rbp - 0x49]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x49], rbx
mov r8, qword [rbp - 0x51]
mov rdx, rsi
lea rcx, [rbp - 0x51]
call fcn.140054cc0
nop
movss dword [rsp + 0x20], xmm6
mov r9, r14
mov r8, qword [rax]
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.140266180
mov rax, qword [rbp + 7]
mov qword [rdi + 0xa8], rax
xor eax, eax
jmp 0x14008f177
mov rdx, rbx
mov rcx, rdi
call fcn.14008d9b0
jmp 0x14008f737
mov rdx, rbx
mov rcx, rdi
call fcn.14008d850
jmp 0x14008f737
mov r14d, ebx
call fcn.14008a270
mov r12d, ebx
mov rax, qword [rbp + 0x7f]
sar rax, 0x10
movzx ecx, al
lea eax, [rbx - 0x30]
cmp eax, 9
ja 0x14008f6e0
lea eax, [rcx - 0x47]
cmp eax, 0xb
ja case.0x14008f6d5.74
cdqe
mov ecx, dword [rsi + rax*4 + 0x902bc]
add rcx, rsi
jmp rcx
add r14d, 0x10030
jmp case.0x14008f6d5.74
mov edx, 1
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edx, 2
mov ecx, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, ax
test ecx, ecx
cmovne r14d, ecx
cmp r12d, 0x20
jae case.0x14008f6d5.74
test byte [0x14043c87c], 6
mov esi, 0
cmovne r12d, esi
mov eax, dword [0x14043c87c]
and eax, 0xffffff8f
mov dword [rbp - 0x41], r14d
mov dword [rbp - 0x3d], eax
mov dword [rbp - 0x39], r12d
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.1401fdbe0
test al, al
jne case.0x14008f0de.136
mov r9, qword [rbp + 0x7f]
mov r8, rbx
mov edx, r15d
mov rcx, rdi
call fcn.14008dc60
jmp case.0x14008fb42.515
mov eax, 0x10000
jmp 0x14008f177
mov eax, dword [rdi + 0x10]
shr eax, 3
test al, 1
jne case.0x14008fb42.515
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x78]
test al, al
je 0x14008f7a5
xor r8d, r8d
mov edx, 0xf120
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov edx, 0xf010
mov r8d, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x14008fb42.515
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x68]
test al, al
jne case.0x14008fb42.515
mov edx, 0xf030
mov r8d, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableMenuItem]
jmp case.0x14008fb42.515
mov rax, rbx
and eax, 0xfff0
sub rax, 0xf020
je 0x14008f90e
sub rax, 0x10
je 0x14008f8ec
sub rax, 0x30
je 0x14008f8b4
sub rax, 0xa0
je 0x14008f87e
cmp rax, 0x20
jne case.0x14008fb42.515
mov rcx, rdi
call fcn.140090450
test al, al
jne case.0x14008f0de.136
mov rdx, qword [rdi]
mov eax, dword [rdi + 0x10]
shr eax, 3
mov rcx, rdi
test al, 1
je 0x14008f846
call qword [rdx + 0x78]
test al, al
je case.0x14008fb42.515
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x70]
xor eax, eax
jmp 0x14008f177
call qword [rdx + 0x68]
mov r8, qword [rdi]
mov rcx, rdi
test al, al
je 0x14008f860
xor edx, edx
call qword [r8 + 0x60]
xor eax, eax
jmp 0x14008f177
call qword [r8 + 0x78]
test al, al
je case.0x14008f0de.136
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x70]
xor eax, eax
jmp 0x14008f177
test qword [rbp + 0x7f], 0xffffffffffff0000
jle case.0x14008f0de.136
mov eax, dword [rdi + 0x10]
shr eax, 3
test al, 1
je case.0x14008fb42.515
call qword [sym.imp.USER32.dll_GetCapture]
cmp r13, rax
jne case.0x14008fb42.515
call qword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x14008fb42.515
mov rcx, rdi
call fcn.140090450
test al, al
jne case.0x14008f0de.136
mov eax, dword [rdi + 0x10]
shr eax, 3
test al, 1
je case.0x14008fb42.515
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, r13
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x14008f177
mov rcx, rdi
call fcn.140090450
test al, al
jne case.0x14008f0de.136
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x70]
xor eax, eax
jmp 0x14008f177
mov rcx, rdi
call fcn.140090450
test al, al
jne case.0x14008f0de.136
mov eax, dword [rdi + 0x10]
shr eax, 3
test al, 1
jne case.0x14008fb42.515
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x60]
xor eax, eax
jmp 0x14008f177
mov r14, 0xffffffffffffffff
mov qword [rbp - 0x51], r14
mov rax, r14
mov qword [rdi + 0x148], rax
mov byte [rdi + 0x150], 0
mov rcx, rdi
call fcn.1401fd970
test rax, rax
je case.0x14008f0de.136
lea rcx, [rsi + 0x370a58]
mov qword [rbp - 0x29], rcx
mov r8, qword [rax]
lea rdx, [rbp - 0x29]
mov rcx, rax
call qword [r8 + 0x30]
nop
mov rcx, qword [rbp - 0x29]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne case.0x14008f0de.136
lock xadd dword [rcx], r14d
dec r14d
cmp r14d, 0xffffffff
jne case.0x14008f0de.136
call fcn.1400daaa8
xor eax, eax
jmp 0x14008f177
lea r12, [rdi + 0x148]
mov r14, 0xffffffffffffffff
cmp byte [r12 + 8], 0
je 0x14008faaa
mov rcx, rdi
call fcn.1401fd970
mov rdi, rax
test rax, rax
je 0x14008fa7a
mov r8, qword [rax]
mov rdx, r12
mov rcx, rax
call qword [r8 + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rcx, [rsi + 0x370a58]
mov qword [rbp - 0x31], rcx
mov r8, qword [rdi]
lea rdx, [rbp - 0x31]
mov rcx, rdi
call qword [r8 + 0x30]
nop
mov rcx, qword [rbp - 0x31]
add rcx, 0xfffffffffffffff0
mov eax, dword [rcx]
nop
test eax, 0x30000000
jne 0x14008fa33
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, r14d
jne 0x14008fa33
call fcn.1400daaa8
mov eax, dword [r12]
mov dword [r12 + 4], eax
mov dword [rbp - 0x51], eax
mov dword [rbp - 0x4d], eax
mov rax, qword [rdi]
lea rdx, [rbp - 0x51]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xor esi, esi
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x39], rsi
mov rax, qword [rdi]
lea rdx, [rbp - 0x41]
mov rcx, rdi
call qword [rax + 0x20]
nop
mov dword [rbp - 0x35], esi
mov rcx, qword [rbp - 0x41]
call fcn.1400e1bf4
mov rcx, r13
call qword [sym.imp.IMM32.dll_ImmGetContext]
mov rdi, rax
test rax, rax
je 0x14008faaa
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rax
call qword [sym.imp.IMM32.dll_ImmNotifyIME]
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.IMM32.dll_ImmReleaseContext]
mov qword [rbp - 0x49], 0xffffffffffffffff
mov rax, qword [rbp - 0x49]
mov qword [r12], rax
mov byte [r12 + 8], 0
jmp case.0x14008fb42.515
lea rcx, [rdi + 0x148]
mov r9, qword [rbp + 0x7f]
mov r8, r13
mov rdx, rdi
call fcn.140090560
xor eax, eax
jmp 0x14008f177
mov r8, qword [rbp + 0x7f]
lea rdx, [rbp - 0x51]
call fcn.14008ee90
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rdi
call fcn.14008c720
xor eax, eax
jmp 0x14008f177
cmp r15d, 0x319
ja case.0x14008fb42.515
je 0x1400900e2
lea eax, [r8 - 0x201]
cmp eax, 0xdf
ja case.0x14008fb42.515
lea rsi, [0x140000000]
movzx eax, byte [rsi + rax + 0x90334]
mov ecx, dword [rsi + rax*4 + 0x902ec]
add rcx, rsi
jmp rcx
mov byte [rsp + 0x20], 0
jmp 0x14008fb6c
mov byte [rsp + 0x20], 0
mov r9b, 1
mov r8, qword [rbp + 0x7f]
mov rdx, rbx
mov rcx, rdi
call fcn.14008d2f0
jmp 0x14008f15c
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov r8, qword [rbp + 0x7f]
mov rdx, rbx
mov rcx, rdi
call fcn.14008d2f0
jmp 0x14008f15c
mov byte [rdi + 0xb2], 0
call fcn.14008c6b0
test al, al
jne case.0x14008f0de.136
call qword [sym.imp.USER32.dll_GetMessagePos]
mov eax, eax
movsx ecx, ax
shr rax, 0x10
cwde
mov dword [rbp - 0x51], ecx
mov dword [rbp - 0x4d], eax
mov r8, qword [rdi + 0x88]
mov rdx, qword [rbp - 0x51]
lea rcx, [rbp - 0x41]
call fcn.1401ee920
movd xmm2, dword [rax + 4]
cvtdq2ps xmm2, xmm2
movd xmm0, dword [rax]
cvtdq2ps xmm1, xmm0
mov rax, qword [rdi]
unpcklps xmm1, xmm2
movq r8, xmm1
lea rdx, [rbp - 0x49]
mov rcx, rdi
call qword [rax + 0x58]
nop
mov eax, dword [0x14043c87c]
mov dword [rsp + 0x20], eax
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rdx, qword [rbp - 0x49]
mov rcx, rdi
call fcn.14008c560
xor eax, eax
jmp 0x14008f177
mov r8, qword [rbp + 0x7f]
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.14008ee90
movss xmm0, dword [rax]
movss dword [rbp - 0x31], xmm0
movss xmm1, dword [rax + 4]
movss dword [rbp - 0x2d], xmm1
cmp qword [0x140441f20], 0
je 0x14008fc42
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515780
je case.0x14008f0de.136
call fcn.14008c6b0
test al, al
jne case.0x14008f0de.136
mov rsi, qword [rdi + 0x88]
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, rsi
je 0x14008fc66
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetCapture]
mov r8b, 1
movsd xmm6, qword [rbp - 0x31]
movq rdx, xmm6
mov rcx, rdi
call fcn.14008c720
mov rcx, rdi
call fcn.1401fe590
test al, al
je case.0x14008f0de.136
mov rcx, rbx
call fcn.14008a310
mov byte [rdi + 0xb1], 1
mov eax, dword [0x14043c87c]
mov dword [rsp + 0x20], eax
xorps xmm3, xmm3
xorps xmm2, xmm2
movq rdx, xmm6
mov rcx, rdi
call fcn.14008c560
xor eax, eax
jmp 0x14008f177
mov r8, qword [rbp + 0x7f]
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.14008ee90
mov r8, rbx
mov rdx, qword [rax]
mov rcx, rdi
call fcn.14008c9c0
xor eax, eax
jmp 0x14008f177
mov r8b, 1
mov rdx, rbx
mov rcx, rdi
call fcn.14008cb90
xor eax, eax
jmp 0x14008f177
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.14008cb90
xor eax, eax
jmp 0x14008f177
cmp byte [rdi + 0xb4], 0
je 0x14008fd2c
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14008fd25
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov byte [rdi + 0xb4], 0
cmp byte [rdi + 0xb1], 0
je case.0x14008f0de.136
call qword [sym.imp.USER32.dll_GetMessagePos]
mov eax, eax
movsx ecx, ax
shr rax, 0x10
cwde
mov dword [rbp - 0x51], ecx
mov dword [rbp - 0x4d], eax
mov r8, qword [rdi + 0x88]
mov rdx, qword [rbp - 0x51]
lea rcx, [rbp - 0x41]
call fcn.1401ee920
movd xmm2, dword [rax + 4]
cvtdq2ps xmm2, xmm2
movd xmm0, dword [rax]
cvtdq2ps xmm1, xmm0
mov rax, qword [rdi]
unpcklps xmm1, xmm2
movq r8, xmm1
lea rdx, [rbp - 0x49]
mov rcx, rdi
call qword [rax + 0x58]
nop
movss xmm0, dword [rbp - 0x49]
movss dword [rbp - 0x31], xmm0
movss xmm1, dword [rbp - 0x45]
movss dword [rbp - 0x2d], xmm1
cmp qword [0x140441f20], 0
je 0x14008fdba
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xffffff80
cmp eax, 0xff515780
je case.0x14008f0de.136
call fcn.14008c6b0
test al, al
jne case.0x14008f0de.136
and dword [0x14043c87c], 0xffffff8f
call fcn.14008a270
movzx ebx, byte [rdi + 0xb1]
mov byte [rdi + 0xb1], 0
call qword [sym.imp.USER32.dll_GetCapture]
cmp qword [rdi + 0x88], rax
jne 0x14008fdf6
call qword [sym.imp.USER32.dll_ReleaseCapture]
test bl, bl
je case.0x14008f0de.136
mov eax, dword [0x14043c87c]
mov dword [rsp + 0x20], eax
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rdx, qword [rbp - 0x31]
mov rcx, rdi
call fcn.14008c560
xor eax, eax
jmp 0x14008f177
cmp qword [0x140441f58], 0
je case.0x14008fb42.515
mov r8, qword [rbp + 0x7f]
mov edx, ebx
mov rcx, rdi
call fcn.14008cdd0
jmp 0x14008f177
mov r8, rbx
mov rdx, qword [rbp + 0x7f]
mov rcx, rdi
call fcn.14008de20
jmp 0x14008f177
mov rax, qword [rbp + 0x7f]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x41], xmm0
mov rsi, qword [rdi + 0x88]
call fcn.1401eee40
mov rax, qword [0x140441f68]
test rax, rax
je 0x14008fe99
cmp qword [0x140441f18], 0
je 0x14008fe99
mov rcx, rsi
call rax
mov rcx, rax
call qword [0x140441f18]
cmp eax, 2
sete al
jmp 0x14008fe9e
call fcn.1401eeda0
test al, al
je case.0x14008f0de.136
shr rbx, 0x10
movzx eax, bx
movd xmm3, eax
cvtdq2pd xmm3, xmm3
divsd xmm3, qword [0x1403ac888]
movsd xmm1, qword [rdi + 0x110]
movaps xmm2, xmm1
subsd xmm2, xmm3
andps xmm2, xmmword [0x1403acdd0]
movaps xmm0, xmm3
maxsd xmm0, xmm1
mulsd xmm0, qword [0x1403ac590]
comisd xmm0, xmm2
jae case.0x14008f0de.136
movsd xmm0, qword [0x1403ac560]
comisd xmm0, xmm2
ja case.0x14008f0de.136
movsd qword [rdi + 0x110], xmm3
movzx ebx, byte [rdi + 0x118]
mov byte [rdi + 0x118], 1
mov ecx, dword [rbp - 0x35]
mov r9d, dword [rbp - 0x3d]
sub ecx, r9d
mov eax, dword [rbp - 0x39]
mov r8d, dword [rbp - 0x41]
sub eax, r8d
mov dword [rsp + 0x30], reloc.WS2_32.dll_sendto
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [rdi + 0x88]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [rdi + 0x118], bl
test bl, bl
jne case.0x14008f0de.136
mov rcx, rdi
call fcn.14008b880
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x88]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov ebx, dword [rdi + 0x3c]
test ebx, ebx
jle case.0x14008f0de.136
mov eax, dword [rdi + 0x3c]
dec ebx
cmp ebx, eax
jl 0x14008ff93
lea ebx, [rax - 1]
mov eax, ebx
shr eax, 0x1f
xor al, 1
je case.0x14008f0de.136
movsxd rcx, ebx
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx]
movsd xmm1, qword [rdi + 0x110]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14008ff72
mov rax, qword [rdi + 8]
movzx ecx, byte [rax + 0xd1]
shr cl, 1
not cl
test cl, 1
jne case.0x14008fb42.515
mov eax, 3
jmp 0x14008f177
mov rcx, qword [0x14043c848]
test rcx, rcx
je case.0x14008fb42.515
mov rax, rbx
sub rax, 2
je 0x140090005
sub rax, 2
je 0x140090010
sub rax, 2
je 0x140090005
sub rax, 1
je 0x140090005
cmp rax, 0xb
jne case.0x14008fb42.515
mov rax, qword [rcx]
call qword [rax + 0x48]
jmp case.0x14008fb42.515
mov rax, qword [rcx]
call qword [rax + 0x40]
jmp case.0x14008fb42.515
mov rcx, rdi
call fcn.140090450
test al, al
jne case.0x14008fb42.515
lea rax, [rbx - 4]
cmp rax, 0xd
ja case.0x14008fb42.515
mov eax, dword [rsi + rax*4 + 0x90414]
add rax, rsi
jmp rax
cmp qword [rdi + 0x28], 0
je case.0x14008fb42.515
mov eax, dword [rdi + 0x10]
and eax, 0x18
cmp al, 0x18
jne case.0x14008fb42.515
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x80]
test al, al
jne case.0x14008fb42.515
mov byte [rdi + 0xb4], 1
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp case.0x14008fb42.515
cmp byte [rdi + 0x150], 0
je 0x1400900cf
cmp rbx, 1
je 0x1400900cf
mov byte [rdi + 0x150], 0
mov rcx, r13
call qword [sym.imp.IMM32.dll_ImmGetContext]
mov rdi, rax
test rax, rax
je 0x1400900cf
xor r9d, r9d
lea edx, [r9 + 0x15]
lea r8d, [r9 + 1]
mov rcx, rax
call qword [sym.imp.IMM32.dll_ImmNotifyIME]
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.IMM32.dll_ImmReleaseContext]
movabs rax, 0xffffffff7fffffff
and qword [rbp + 0x7f], rax
jmp case.0x14008fb42.515
mov rcx, qword [rbp + 0x7f]
shr rcx, 0x10
and ecx, 0xfff
sub ecx, 0xb
je 0x14009011d
sub ecx, 1
je 0x140090116
sub ecx, 1
je 0x14009010f
cmp ecx, 1
jne case.0x14008fb42.515
mov esi, 0x30000
jmp 0x140090122
mov esi, 0x30001
jmp 0x140090122
mov esi, 0x30003
jmp 0x140090122
mov esi, 0x30002
call fcn.14008a270
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp qword [rdi + 0x88], rax
jne case.0x14008fb42.515
mov eax, dword [0x14043c87c]
and eax, 0xffffff8f
mov dword [rbp - 0x41], esi
mov dword [rbp - 0x3d], eax
xor esi, esi
mov dword [rbp - 0x39], esi
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.1401fdbe0
test al, al
je case.0x14008fb42.515
mov eax, 1
jmp 0x14008f177