Function at 0x1400135b0
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 0x140013630
lock inc qword [rdi + 8]
mov qword [rsi + 0x238], 1
test rdi, rdi
je 0x140013726
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 0x14001366f
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001371d
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400136f3
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 0x1400136d6
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 0x1400143d6
jmp 0x140013726
mov qword [rbp - 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140013713
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 0x140013a98
je case.0x140013ab8.513
add eax, 0xfffffff9
cmp eax, 0xfe
ja case.0x140013b14.518
lea rbx, [0x140000000]
movzx eax, byte [rbx + rax + 0x146e0]
mov ecx, dword [rbx + rax*4 + 0x146c4]
add rcx, rbx
jmp rcx
mov rcx, qword [r14 + 0x10]
call fcn.14001a3c0
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 0x1400137a2
lock inc qword [rdi + 8]
mov qword [rsi + 0x198], 1
test rdi, rdi
je case.0x140013b14.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 0x1400137e2
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001388a
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001385f
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 0x140013840
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 0x1400143d6
jmp case.0x140013b14.518
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]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013b14.518
mov rcx, qword [r14 + 0x10]
call fcn.14001a3c0
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 0x1400138cf
lock inc qword [rdi + 8]
mov qword [rsi + 0x1b8], 1
test rdi, rdi
je case.0x140013b14.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 0x14001390f
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400139b7
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001398c
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 0x14001396d
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 0x1400143d6
jmp case.0x140013b14.518
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]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013b14.518
lea rcx, [rsi + 0x1d8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018e20
mov rdi, rax
test rax, rax
je case.0x140013b14.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.140018f00
test ebx, ebx
jne 0x1400143d6
jmp case.0x140013b14.518
lea rcx, [rsi + 0x1f8]
jmp 0x1400139cc
movzx edi, word [r14 + 0x10]
xor r15d, r15d
lea rcx, [rsi + 0x218]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018e20
mov rbx, rax
test rax, rax
je 0x140013a5c
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.140018f00
movsxd rax, r15d
test r15d, r15d
js 0x1400143d6
jle case.0x140013b14.518
mov qword [r14 + 0x10], rax
jmp case.0x140013b14.518
mov rcx, qword [rsi + 0x18]
mov rcx, qword [rcx + 0x70]
test rcx, rcx
je case.0x140013b14.518
call qword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x140014699
add eax, 0xfffffdff
cmp eax, 0x32
ja case.0x140013b14.518
movzx eax, byte [rbx + rax + 0x147f0]
mov ecx, dword [rbx + rax*4 + 0x147e0]
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 0x140013af8
bts r15d, 0xe
mov eax, dword [r14 + 8]
add eax, 0xfffffe00
cmp eax, 8
ja case.0x140013b14.518
mov ecx, dword [rbx + rax*4 + 0x14824]
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 0x140013b46
lock inc qword [rdi + 8]
mov qword [rsi + 0x78], 1
test rdi, rdi
je case.0x140013b14.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 0x140013b83
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013c25
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013bfa
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 0x140013bdb
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 0x1400143d6
jmp case.0x140013b14.518
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]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013b14.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 0x140013c66
lock inc qword [rdi + 8]
mov qword [rsi + 0x98], 1
test rdi, rdi
je case.0x140013b14.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 0x140013ca6
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013d48
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013d1d
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 0x140013cfe
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 0x1400143d6
jmp case.0x140013b14.518
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]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013b14.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 0x140013d89
lock inc qword [rdi + 8]
mov qword [rsi + 0xb8], 1
test rdi, rdi
je case.0x140013b14.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 0x140013dc9
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013e6b
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013e40
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 0x140013e21
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 0x1400143d6
jmp case.0x140013b14.518
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]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013b14.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 0x140013eac
lock inc qword [rdi + 8]
mov qword [rsi + 0xd8], 1
test rdi, rdi
je case.0x140013b14.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 0x140013eec
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140013f8e
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140013f63
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 0x140013f44
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 0x1400143d6
jmp case.0x140013b14.518
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]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013b14.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 0x140013fcf
lock inc qword [rdi + 8]
mov qword [rsi + 0xf8], 1
test rdi, rdi
je case.0x140013b14.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 0x14001400f
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400140b1
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140014086
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 0x140014067
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 0x1400143d6
jmp case.0x140013b14.518
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]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013b14.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 0x1400140f2
lock inc qword [rdi + 8]
mov qword [rsi + 0x118], 1
test rdi, rdi
je case.0x140013b14.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 0x140014132
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1400141d4
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400141a9
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 0x14001418a
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 0x1400143d6
jmp case.0x140013b14.518
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]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x140013b14.518
lea rcx, [rsi + 0x138]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018e20
mov rdi, rax
test rax, rax
je case.0x140013b14.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 0x140014248
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 0x1400143d6
jmp case.0x140013b14.518
lea rcx, [rsi + 0x158]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140018e20
mov rdi, rax
test rax, rax
je case.0x140013b14.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 0x1400139f7
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 0x1400142df
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 0x14001432a
lock inc qword [rdi + 8]
mov qword [rsi + 0x178], 1
test rdi, rdi
je case.0x140013b14.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 0x14001436a
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001440b
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x1400143e0
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 0x1400143bc
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.0x140013b14.518
mov eax, 1
jmp 0x140014699
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140014401
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.0x140013b14.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 0x14001457a
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 0x140014501
test rbx, rbx
jle 0x14001453a
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.140027b10
mov word [rbx + rdi], r15w
jmp 0x14001453d
mov rdi, r15
mov rax, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x48]
sub rax, rbx
cmp rax, 8
jl 0x14001455d
mov rax, qword [rbp - 0x58]
mov qword [rax + rbx], rdi
add qword [rbp - 0x48], 8
jmp 0x14001456e
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x70]
call fcn.14001ab10
mov qword [rax + rbx], rdi
inc r14d
cmp r14d, r13d
jb 0x1400144e0
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragFinish]
cmp qword [rbp - 0x48], 0
je 0x14001468d
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 0x1400145b9
lock inc qword [rdi + 8]
mov qword [rsi + 0x278], 1
test rdi, rdi
je 0x14001468d
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 0x1400145f9
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x140014683
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x140014658
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 0x140014644
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 0x14001468d
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x140014679
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.140025a70
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret