Function at 0x140013600
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 [0x140059010]
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 0x140013680
lock inc qword [rdi + 8]
mov qword [rsi + 0x238], 1
test rdi, rdi
je 0x140013776
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 0x1400136bf
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001376d
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013743
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 0x140013726
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 0x140014426
jmp 0x140013776
mov qword [rbp - 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013763
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 0x140013ae8
je case.0x140013b08.513
add eax, 0xfffffff9
cmp eax, 0xfe
ja case.0x140013b64.518
lea rbx, [0x140000000]
movzx eax, byte [rbx + rax + 0x14730]
mov ecx, dword [rbx + rax*4 + 0x14714]
add rcx, rbx
jmp rcx
mov rcx, qword [r14 + 0x10]
call fcn.140019f80
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 0x1400137f2
lock inc qword [rdi + 8]
mov qword [rsi + 0x198], 1
test rdi, rdi
je case.0x140013b64.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 0x140013832
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400138da
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400138af
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 0x140013890
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 0x140014426
jmp case.0x140013b64.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400138d0
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.0x140013b64.518
mov rcx, qword [r14 + 0x10]
call fcn.140019f80
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 0x14001391f
lock inc qword [rdi + 8]
mov qword [rsi + 0x1b8], 1
test rdi, rdi
je case.0x140013b64.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 0x14001395f
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013a07
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400139dc
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 0x1400139bd
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 0x140014426
jmp case.0x140013b64.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400139fd
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.0x140013b64.518
lea rcx, [rsi + 0x1d8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018d20
mov rdi, rax
test rax, rax
je case.0x140013b64.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.140018e00
test ebx, ebx
jne 0x140014426
jmp case.0x140013b64.518
lea rcx, [rsi + 0x1f8]
jmp 0x140013a1c
movzx edi, word [r14 + 0x10]
xor r15d, r15d
lea rcx, [rsi + 0x218]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018d20
mov rbx, rax
test rax, rax
je 0x140013aac
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.140018e00
movsxd rax, r15d
test r15d, r15d
js 0x140014426
jle case.0x140013b64.518
mov qword [r14 + 0x10], rax
jmp case.0x140013b64.518
mov rcx, qword [rsi + 0x18]
mov rcx, qword [rcx + 0x70]
test rcx, rcx
je case.0x140013b64.518
call qword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x1400146e9
add eax, 0xfffffdff
cmp eax, 0x32
ja case.0x140013b64.518
movzx eax, byte [rbx + rax + 0x14840]
mov ecx, dword [rbx + rax*4 + 0x14830]
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 0x140013b48
bts r15d, 0xe
mov eax, dword [r14 + 8]
add eax, 0xfffffe00
cmp eax, 8
ja case.0x140013b64.518
mov ecx, dword [rbx + rax*4 + 0x14874]
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 0x140013b96
lock inc qword [rdi + 8]
mov qword [rsi + 0x78], 1
test rdi, rdi
je case.0x140013b64.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 0x140013bd3
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013c75
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013c4a
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 0x140013c2b
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 0x140014426
jmp case.0x140013b64.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013c6b
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.0x140013b64.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 0x140013cb6
lock inc qword [rdi + 8]
mov qword [rsi + 0x98], 1
test rdi, rdi
je case.0x140013b64.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 0x140013cf6
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013d98
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013d6d
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 0x140013d4e
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 0x140014426
jmp case.0x140013b64.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013d8e
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.0x140013b64.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 0x140013dd9
lock inc qword [rdi + 8]
mov qword [rsi + 0xb8], 1
test rdi, rdi
je case.0x140013b64.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 0x140013e19
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013ebb
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013e90
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 0x140013e71
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 0x140014426
jmp case.0x140013b64.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013eb1
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.0x140013b64.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 0x140013efc
lock inc qword [rdi + 8]
mov qword [rsi + 0xd8], 1
test rdi, rdi
je case.0x140013b64.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 0x140013f3c
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013fde
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013fb3
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 0x140013f94
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 0x140014426
jmp case.0x140013b64.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013fd4
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.0x140013b64.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 0x14001401f
lock inc qword [rdi + 8]
mov qword [rsi + 0xf8], 1
test rdi, rdi
je case.0x140013b64.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 0x14001405f
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140014101
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400140d6
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 0x1400140b7
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 0x140014426
jmp case.0x140013b64.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400140f7
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.0x140013b64.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 0x140014142
lock inc qword [rdi + 8]
mov qword [rsi + 0x118], 1
test rdi, rdi
je case.0x140013b64.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 0x140014182
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140014224
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400141f9
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 0x1400141da
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 0x140014426
jmp case.0x140013b64.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001421a
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.0x140013b64.518
lea rcx, [rsi + 0x138]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018d20
mov rdi, rax
test rax, rax
je case.0x140013b64.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 0x140014298
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 0x140014426
jmp case.0x140013b64.518
lea rcx, [rsi + 0x158]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018d20
mov rdi, rax
test rax, rax
je case.0x140013b64.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 0x140013a47
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 0x14001432f
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 0x14001437a
lock inc qword [rdi + 8]
mov qword [rsi + 0x178], 1
test rdi, rdi
je case.0x140013b64.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 0x1400143ba
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001445b
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140014430
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 0x14001440c
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.0x140013b64.518
mov eax, 1
jmp 0x1400146e9
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140014451
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.0x140013b64.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 0x1400145ca
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 0x140014551
test rbx, rbx
jle 0x14001458a
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.140028240
mov word [rbx + rdi], r15w
jmp 0x14001458d
mov rdi, r15
mov rax, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x48]
sub rax, rbx
cmp rax, 8
jl 0x1400145ad
mov rax, qword [rbp - 0x58]
mov qword [rax + rbx], rdi
add qword [rbp - 0x48], 8
jmp 0x1400145be
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x70]
call fcn.14001a6d0
mov qword [rax + rbx], rdi
inc r14d
cmp r14d, r13d
jb 0x140014530
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragFinish]
cmp qword [rbp - 0x48], 0
je 0x1400146dd
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 0x140014609
lock inc qword [rdi + 8]
mov qword [rsi + 0x278], 1
test rdi, rdi
je 0x1400146dd
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 0x140014649
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400146d3
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400146a8
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 0x140014694
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 0x1400146dd
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400146c9
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.1400130e0
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400260a0
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret