Function at 0x1400135f0
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 [0x14005c010]
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 0x140013670
lock inc qword [rdi + 8]
mov qword [rsi + 0x238], 1
test rdi, rdi
je 0x140013766
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 0x1400136af
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001375d
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013733
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 0x140013716
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 0x140014416
jmp 0x140013766
mov qword [rbp - 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013753
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 0x140013ad8
je case.0x140013af8.513
add eax, 0xfffffff9
cmp eax, 0xfe
ja case.0x140013b54.518
lea rbx, [0x140000000]
movzx eax, byte [rbx + rax + 0x14720]
mov ecx, dword [rbx + rax*4 + 0x14704]
add rcx, rbx
jmp rcx
mov rcx, qword [r14 + 0x10]
call fcn.14001a400
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 0x1400137e2
lock inc qword [rdi + 8]
mov qword [rsi + 0x198], 1
test rdi, rdi
je case.0x140013b54.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 0x140013822
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400138ca
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001389f
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 0x140013880
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 0x140014416
jmp case.0x140013b54.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400138c0
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.0x140013b54.518
mov rcx, qword [r14 + 0x10]
call fcn.14001a400
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 0x14001390f
lock inc qword [rdi + 8]
mov qword [rsi + 0x1b8], 1
test rdi, rdi
je case.0x140013b54.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 0x14001394f
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400139f7
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400139cc
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 0x1400139ad
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 0x140014416
jmp case.0x140013b54.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400139ed
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.0x140013b54.518
lea rcx, [rsi + 0x1d8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018e60
mov rdi, rax
test rax, rax
je case.0x140013b54.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.140018f40
test ebx, ebx
jne 0x140014416
jmp case.0x140013b54.518
lea rcx, [rsi + 0x1f8]
jmp 0x140013a0c
movzx edi, word [r14 + 0x10]
xor r15d, r15d
lea rcx, [rsi + 0x218]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018e60
mov rbx, rax
test rax, rax
je 0x140013a9c
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.140018f40
movsxd rax, r15d
test r15d, r15d
js 0x140014416
jle case.0x140013b54.518
mov qword [r14 + 0x10], rax
jmp case.0x140013b54.518
mov rcx, qword [rsi + 0x18]
mov rcx, qword [rcx + 0x70]
test rcx, rcx
je case.0x140013b54.518
call qword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x1400146d9
add eax, 0xfffffdff
cmp eax, 0x32
ja case.0x140013b54.518
movzx eax, byte [rbx + rax + 0x14830]
mov ecx, dword [rbx + rax*4 + 0x14820]
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 0x140013b38
bts r15d, 0xe
mov eax, dword [r14 + 8]
add eax, 0xfffffe00
cmp eax, 8
ja case.0x140013b54.518
mov ecx, dword [rbx + rax*4 + 0x14864]
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 0x140013b86
lock inc qword [rdi + 8]
mov qword [rsi + 0x78], 1
test rdi, rdi
je case.0x140013b54.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 0x140013bc3
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013c65
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013c3a
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 0x140013c1b
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 0x140014416
jmp case.0x140013b54.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013c5b
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.0x140013b54.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 0x140013ca6
lock inc qword [rdi + 8]
mov qword [rsi + 0x98], 1
test rdi, rdi
je case.0x140013b54.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 0x140013ce6
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013d88
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013d5d
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 0x140013d3e
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 0x140014416
jmp case.0x140013b54.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013d7e
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.0x140013b54.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 0x140013dc9
lock inc qword [rdi + 8]
mov qword [rsi + 0xb8], 1
test rdi, rdi
je case.0x140013b54.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 0x140013e09
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013eab
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013e80
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 0x140013e61
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 0x140014416
jmp case.0x140013b54.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013ea1
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.0x140013b54.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 0x140013eec
lock inc qword [rdi + 8]
mov qword [rsi + 0xd8], 1
test rdi, rdi
je case.0x140013b54.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 0x140013f2c
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013fce
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013fa3
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 0x140013f84
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 0x140014416
jmp case.0x140013b54.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013fc4
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.0x140013b54.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 0x14001400f
lock inc qword [rdi + 8]
mov qword [rsi + 0xf8], 1
test rdi, rdi
je case.0x140013b54.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 0x14001404f
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400140f1
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400140c6
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 0x1400140a7
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 0x140014416
jmp case.0x140013b54.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400140e7
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.0x140013b54.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 0x140014132
lock inc qword [rdi + 8]
mov qword [rsi + 0x118], 1
test rdi, rdi
je case.0x140013b54.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 0x140014172
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140014214
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400141e9
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 0x1400141ca
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 0x140014416
jmp case.0x140013b54.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001420a
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.0x140013b54.518
lea rcx, [rsi + 0x138]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018e60
mov rdi, rax
test rax, rax
je case.0x140013b54.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 0x140014288
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 0x140014416
jmp case.0x140013b54.518
lea rcx, [rsi + 0x158]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018e60
mov rdi, rax
test rax, rax
je case.0x140013b54.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 0x140013a37
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 0x14001431f
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 0x14001436a
lock inc qword [rdi + 8]
mov qword [rsi + 0x178], 1
test rdi, rdi
je case.0x140013b54.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 0x1400143aa
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001444b
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140014420
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 0x1400143fc
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.0x140013b54.518
mov eax, 1
jmp 0x1400146d9
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140014441
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.0x140013b54.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 0x1400145ba
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 0x140014541
test rbx, rbx
jle 0x14001457a
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.140027b50
mov word [rbx + rdi], r15w
jmp 0x14001457d
mov rdi, r15
mov rax, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x48]
sub rax, rbx
cmp rax, 8
jl 0x14001459d
mov rax, qword [rbp - 0x58]
mov qword [rax + rbx], rdi
add qword [rbp - 0x48], 8
jmp 0x1400145ae
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x70]
call fcn.14001ab50
mov qword [rax + rbx], rdi
inc r14d
cmp r14d, r13d
jb 0x140014520
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragFinish]
cmp qword [rbp - 0x48], 0
je 0x1400146cd
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 0x1400145f9
lock inc qword [rdi + 8]
mov qword [rsi + 0x278], 1
test rdi, rdi
je 0x1400146cd
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 0x140014639
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400146c3
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140014698
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 0x140014684
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 0x1400146cd
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x1400146b9
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.140025ab0
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret