Function at 0x1400138e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140058010]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r14, rdx
mov rsi, rcx
mov r12, qword [rdx + 0x18]
mov r13, qword [rdx + 0x10]
mov eax, dword [rdx + 8]
mov dword [rsp + 0x50], eax
mov rax, qword [rdx]
mov qword [rsp + 0x58], rax
add rcx, 0x238
call fcn.140001000
mov rax, qword [rsi + 0x240]
mov qword [rsp + 0x48], rax
mov eax, dword [rsi + 0x250]
mov dword [rsp + 0x40], eax
mov rdi, qword [rsi + 0x248]
test rdi, rdi
je 0x140013960
lock inc qword [rdi + 8]
mov qword [rsi + 0x238], 1
test rdi, rdi
je 0x140013a56
lea rbx, [rdi + 0x18]
mov qword [rbp - 0x30], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x10], 0
jne 0x14001399f
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013a4d
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013a23
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call qword [rsp + 0x48]
mov r15d, eax
lea rbx, [rdi + 0x18]
mov qword [rbp - 0x28], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013a06
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test r15d, r15d
jne 0x140014706
jmp 0x140013a56
mov qword [rbp - 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013a43
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [r14 + 8]
lea rbx, [0x140000000]
cmp eax, 0x200
ja 0x140013dc8
je case.0x140013de8.513
add eax, 0xfffffff9
cmp eax, 0xfe
ja case.0x140013e44.518
lea rbx, [0x140000000]
movzx eax, byte [rbx + rax + 0x14a10]
mov ecx, dword [rbx + rax*4 + 0x149f4]
add rcx, rbx
jmp rcx
mov rcx, qword [r14 + 0x10]
call fcn.14001a4f0
mov r15, rax
lea rcx, [rsi + 0x198]
call fcn.140001000
mov r12, qword [rsi + 0x1a0]
mov r13d, dword [rsi + 0x1b0]
mov rdi, qword [rsi + 0x1a8]
test rdi, rdi
je 0x140013ad2
lock inc qword [rdi + 8]
mov qword [rsi + 0x198], 1
test rdi, rdi
je case.0x140013e44.518
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x10], 0
jne 0x140013b12
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013bba
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013b8f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, r15d
and eax, 0xe000
and r15d, 0xffff1fff
mov dword [rsp + 0x20], eax
mov r9d, r15d
mov r8d, r13d
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call r12
mov esi, eax
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013b70
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test esi, esi
jne 0x140014706
jmp case.0x140013e44.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013bb0
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013e44.518
mov rcx, qword [r14 + 0x10]
call fcn.14001a4f0
mov r15, rax
lea rcx, [rsi + 0x1b8]
call fcn.140001000
mov r12, qword [rsi + 0x1c0]
mov r13d, dword [rsi + 0x1d0]
mov rdi, qword [rsi + 0x1c8]
test rdi, rdi
je 0x140013bff
lock inc qword [rdi + 8]
mov qword [rsi + 0x1b8], 1
test rdi, rdi
je case.0x140013e44.518
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x10], 0
jne 0x140013c3f
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013ce7
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013cbc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, r15d
and eax, 0xe000
and r15d, 0xffff1fff
mov dword [rsp + 0x20], eax
mov r9d, r15d
mov r8d, r13d
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call r12
mov esi, eax
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013c9d
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test esi, esi
jne 0x140014706
jmp case.0x140013e44.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013cdd
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013e44.518
lea rcx, [rsi + 0x1d8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018f50
mov rdi, rax
test rax, rax
je case.0x140013e44.518
mov r8d, dword [rsp + 0x40]
mov rdx, rsi
mov rcx, qword [rax + 0x68]
call qword [rsp + 0x48]
mov ebx, eax
mov rcx, rdi
call fcn.140019030
test ebx, ebx
jne 0x140014706
jmp case.0x140013e44.518
lea rcx, [rsi + 0x1f8]
jmp 0x140013cfc
movzx edi, word [r14 + 0x10]
xor r15d, r15d
lea rcx, [rsi + 0x218]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018f50
mov rbx, rax
test rax, rax
je 0x140013d8c
movzx r9d, di
mov r8d, dword [rsp + 0x40]
mov rdx, rsi
mov rcx, qword [rax + 0x68]
call qword [rsp + 0x48]
mov r15d, eax
mov rcx, rbx
call fcn.140019030
movsxd rax, r15d
test r15d, r15d
js 0x140014706
jle case.0x140013e44.518
mov qword [r14 + 0x10], rax
jmp case.0x140013e44.518
mov rcx, qword [rsi + 0x18]
mov rcx, qword [rcx + 0x70]
test rcx, rcx
je case.0x140013e44.518
call qword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x1400149c9
add eax, 0xfffffdff
cmp eax, 0x32
ja case.0x140013e44.518
movzx eax, byte [rbx + rax + 0x14b20]
mov ecx, dword [rbx + rax*4 + 0x14b10]
add rcx, rbx
jmp rcx
movsx r12d, word [r14 + 0x18]
movsx r13d, word [r14 + 0x1a]
mov rcx, qword [r14 + 0x10]
shl rcx, 0xa
and ecx, 0x2000
mov r15d, ecx
bts r15d, 0xf
test byte [r14 + 0x10], 4
cmove r15d, ecx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140013e28
bts r15d, 0xe
mov eax, dword [r14 + 8]
add eax, 0xfffffe00
cmp eax, 8
ja case.0x140013e44.518
mov ecx, dword [rbx + rax*4 + 0x14b54]
add rcx, rbx
jmp rcx
lea rcx, [rsi + 0x78]
call fcn.140001000
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x58], rax
mov eax, dword [rsi + 0x90]
mov dword [rsp + 0x50], eax
mov rdi, qword [rsi + 0x88]
test rdi, rdi
je 0x140013e76
lock inc qword [rdi + 8]
mov qword [rsi + 0x78], 1
test rdi, rdi
je case.0x140013e44.518
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x10], 0
jne 0x140013eb3
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013f55
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013f2a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov r9d, r12d
mov r8d, dword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call qword [rsp + 0x58]
mov esi, eax
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013f0b
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test esi, esi
jne 0x140014706
jmp case.0x140013e44.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013f4b
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013e44.518
lea rcx, [rsi + 0x98]
call fcn.140001000
mov rax, qword [rsi + 0xa0]
mov qword [rsp + 0x58], rax
mov eax, dword [rsi + 0xb0]
mov dword [rsp + 0x50], eax
mov rdi, qword [rsi + 0xa8]
test rdi, rdi
je 0x140013f96
lock inc qword [rdi + 8]
mov qword [rsi + 0x98], 1
test rdi, rdi
je case.0x140013e44.518
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x10], 0
jne 0x140013fd6
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140014078
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001404d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov r9d, r12d
mov r8d, dword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call qword [rsp + 0x58]
mov esi, eax
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001402e
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test esi, esi
jne 0x140014706
jmp case.0x140013e44.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001406e
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013e44.518
lea rcx, [rsi + 0xb8]
call fcn.140001000
mov rax, qword [rsi + 0xc0]
mov qword [rsp + 0x58], rax
mov eax, dword [rsi + 0xd0]
mov dword [rsp + 0x50], eax
mov rdi, qword [rsi + 0xc8]
test rdi, rdi
je 0x1400140b9
lock inc qword [rdi + 8]
mov qword [rsi + 0xb8], 1
test rdi, rdi
je case.0x140013e44.518
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x10], 0
jne 0x1400140f9
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001419b
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140014170
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov r9d, r12d
mov r8d, dword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call qword [rsp + 0x58]
mov esi, eax
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140014151
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test esi, esi
jne 0x140014706
jmp case.0x140013e44.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140014191
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013e44.518
lea rcx, [rsi + 0xd8]
call fcn.140001000
mov rax, qword [rsi + 0xe0]
mov qword [rsp + 0x58], rax
mov eax, dword [rsi + 0xf0]
mov dword [rsp + 0x50], eax
mov rdi, qword [rsi + 0xe8]
test rdi, rdi
je 0x1400141dc
lock inc qword [rdi + 8]
mov qword [rsi + 0xd8], 1
test rdi, rdi
je case.0x140013e44.518
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x10], 0
jne 0x14001421c
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400142be
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140014293
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov r9d, r12d
mov r8d, dword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call qword [rsp + 0x58]
mov esi, eax
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140014274
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test esi, esi
jne 0x140014706
jmp case.0x140013e44.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400142b4
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013e44.518
lea rcx, [rsi + 0xf8]
call fcn.140001000
mov rax, qword [rsi + 0x100]
mov qword [rsp + 0x58], rax
mov eax, dword [rsi + 0x110]
mov dword [rsp + 0x50], eax
mov rdi, qword [rsi + 0x108]
test rdi, rdi
je 0x1400142ff
lock inc qword [rdi + 8]
mov qword [rsi + 0xf8], 1
test rdi, rdi
je case.0x140013e44.518
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x10], 0
jne 0x14001433f
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400143e1
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400143b6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov r9d, r12d
mov r8d, dword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call qword [rsp + 0x58]
mov esi, eax
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140014397
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test esi, esi
jne 0x140014706
jmp case.0x140013e44.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400143d7
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013e44.518
lea rcx, [rsi + 0x118]
call fcn.140001000
mov rax, qword [rsi + 0x120]
mov qword [rsp + 0x58], rax
mov eax, dword [rsi + 0x130]
mov dword [rsp + 0x50], eax
mov rdi, qword [rsi + 0x128]
test rdi, rdi
je 0x140014422
lock inc qword [rdi + 8]
mov qword [rsi + 0x118], 1
test rdi, rdi
je case.0x140013e44.518
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x10], 0
jne 0x140014462
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140014504
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400144d9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov r9d, r12d
mov r8d, dword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call qword [rsp + 0x58]
mov esi, eax
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400144ba
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test esi, esi
jne 0x140014706
jmp case.0x140013e44.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400144fa
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013e44.518
lea rcx, [rsi + 0x138]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018f50
mov rdi, rax
test rax, rax
je case.0x140013e44.518
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov r9d, r12d
mov r8d, dword [rsp + 0x40]
mov rdx, rsi
mov rcx, qword [rax + 0x68]
call qword [rsp + 0x48]
mov esi, eax
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140014578
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test esi, esi
jne 0x140014706
jmp case.0x140013e44.518
lea rcx, [rsi + 0x158]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018f50
mov rdi, rax
test rax, rax
je case.0x140013e44.518
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov r9d, r12d
mov r8d, dword [rsp + 0x40]
mov rdx, rsi
mov rcx, qword [rax + 0x68]
call qword [rsp + 0x48]
jmp 0x140013d27
mov rcx, qword [r14 + 0x10]
shl rcx, 0xa
and ecx, 0x2000
mov r15d, ecx
bts r15d, 0xf
test byte [r14 + 0x10], 4
cmove r15d, ecx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001460f
bts r15d, 0xe
movsx ecx, word [r14 + 0x12]
mov eax, 0x88888889
imul ecx
lea r14d, [rcx + rdx]
sar r14d, 6
mov eax, r14d
shr eax, 0x1f
add r14d, eax
lea rcx, [rsi + 0x178]
call fcn.140001000
mov r13, qword [rsi + 0x180]
mov eax, dword [rsi + 0x190]
mov dword [rsp + 0x50], eax
mov rdi, qword [rsi + 0x188]
test rdi, rdi
je 0x14001465a
lock inc qword [rdi + 8]
mov qword [rsi + 0x178], 1
test rdi, rdi
je case.0x140013e44.518
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x10], 0
jne 0x14001469a
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001473b
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140014710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x20], r15d
mov r9d, r14d
mov r8d, dword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call r13
mov esi, eax
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400146ec
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
test esi, esi
je case.0x140013e44.518
mov eax, 1
jmp 0x1400149c9
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140014731
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013e44.518
mov r12, qword [r14 + 0x10]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov r13d, eax
lea rdx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x70], rdx
lea rcx, vtable.CVolObject.0
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lea rax, vtable.rg_n1::rg_n2366.0
mov qword [rsp + 0x70], rax
lea rax, vtable.rg_n1::rg_n1941.0
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x78], rdx
lea rax, vtable.CMStringArray.0
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
lea rax, vtable.CVolMem.0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], 0x40
mov qword [rbp - 0x40], 0x100
mov r14d, r15d
test r13d, r13d
je 0x1400148aa
nop dword [rax]
nop dword [rax + rax]
mov r9d, 0x104
lea r8, [rbp - 0x10]
mov edx, r14d
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea rax, [rbp - 0x10]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140014831
test rbx, rbx
jle 0x14001486a
add rbx, rbx
lea rdx, [rbx + 2]
lea rcx, [rbp - 0x78]
mov rax, qword [rbp - 0x78]
call qword [rax]
mov rdi, rax
mov r8, rbx
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.140027c40
mov word [rbx + rdi], r15w
jmp 0x14001486d
mov rdi, r15
mov rax, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x48]
sub rax, rbx
cmp rax, 8
jl 0x14001488d
mov rax, qword [rbp - 0x58]
mov qword [rax + rbx], rdi
add qword [rbp - 0x48], 8
jmp 0x14001489e
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x70]
call fcn.14001ac40
mov qword [rax + rbx], rdi
inc r14d
cmp r14d, r13d
jb 0x140014810
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragFinish]
cmp qword [rbp - 0x48], 0
je 0x1400149bd
lea rcx, [rsi + 0x278]
call fcn.140001000
mov r15, qword [rsi + 0x280]
mov r12d, dword [rsi + 0x290]
mov rdi, qword [rsi + 0x288]
test rdi, rdi
je 0x1400148e9
lock inc qword [rdi + 8]
mov qword [rsi + 0x278], 1
test rdi, rdi
je 0x1400149bd
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [rdi + 0x10], 0
jne 0x140014929
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400149b3
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140014988
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea r9, [rsp + 0x70]
mov r8d, r12d
mov rdx, rsi
mov rcx, qword [rdi + 0x68]
call r15
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140014974
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
jmp 0x1400149bd
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400149a9
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0x70]
call fcn.140002230
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140025ba0
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret