Function at 0x14001ed60
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 [0x1400f00c0]
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 0x14001ede0
lock inc qword [rdi + 8]
mov qword [rsi + 0x238], 1
test rdi, rdi
je 0x14001eed6
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 0x14001ee1f
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001eecd
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001eea3
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 0x14001ee86
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 0x14001fb86
jmp 0x14001eed6
mov qword [rbp - 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001eec3
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 0x14001f248
je case.0x14001f268.513
add eax, 0xfffffff9
cmp eax, 0xfe
ja case.0x14001f2c4.518
lea rbx, [0x140000000]
movzx eax, byte [rbx + rax + 0x1fe90]
mov ecx, dword [rbx + rax*4 + 0x1fe74]
add rcx, rbx
jmp rcx
mov rcx, qword [r14 + 0x10]
call fcn.1400249f0
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 0x14001ef52
lock inc qword [rdi + 8]
mov qword [rsi + 0x198], 1
test rdi, rdi
je case.0x14001f2c4.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 0x14001ef92
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001f03a
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001f00f
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 0x14001eff0
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 0x14001fb86
jmp case.0x14001f2c4.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001f030
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.0x14001f2c4.518
mov rcx, qword [r14 + 0x10]
call fcn.1400249f0
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 0x14001f07f
lock inc qword [rdi + 8]
mov qword [rsi + 0x1b8], 1
test rdi, rdi
je case.0x14001f2c4.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 0x14001f0bf
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001f167
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001f13c
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 0x14001f11d
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 0x14001fb86
jmp case.0x14001f2c4.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001f15d
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.0x14001f2c4.518
lea rcx, [rsi + 0x1d8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.1400234d0
mov rdi, rax
test rax, rax
je case.0x14001f2c4.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.1400235b0
test ebx, ebx
jne 0x14001fb86
jmp case.0x14001f2c4.518
lea rcx, [rsi + 0x1f8]
jmp 0x14001f17c
movzx edi, word [r14 + 0x10]
xor r15d, r15d
lea rcx, [rsi + 0x218]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.1400234d0
mov rbx, rax
test rax, rax
je 0x14001f20c
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.1400235b0
movsxd rax, r15d
test r15d, r15d
js 0x14001fb86
jle case.0x14001f2c4.518
mov qword [r14 + 0x10], rax
jmp case.0x14001f2c4.518
mov rcx, qword [rsi + 0x18]
mov rcx, qword [rcx + 0x70]
test rcx, rcx
je case.0x14001f2c4.518
call qword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x14001fe49
add eax, 0xfffffdff
cmp eax, 0x32
ja case.0x14001f2c4.518
movzx eax, byte [rbx + rax + 0x1ffa0]
mov ecx, dword [rbx + rax*4 + 0x1ff90]
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, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001f2a8
bts r15d, 0xe
mov eax, dword [r14 + 8]
add eax, 0xfffffe00
cmp eax, 8
ja case.0x14001f2c4.518
mov ecx, dword [rbx + rax*4 + 0x1ffd4]
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 0x14001f2f6
lock inc qword [rdi + 8]
mov qword [rsi + 0x78], 1
test rdi, rdi
je case.0x14001f2c4.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 0x14001f333
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001f3d5
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001f3aa
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 0x14001f38b
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 0x14001fb86
jmp case.0x14001f2c4.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001f3cb
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.0x14001f2c4.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 0x14001f416
lock inc qword [rdi + 8]
mov qword [rsi + 0x98], 1
test rdi, rdi
je case.0x14001f2c4.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 0x14001f456
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001f4f8
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001f4cd
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 0x14001f4ae
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 0x14001fb86
jmp case.0x14001f2c4.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001f4ee
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.0x14001f2c4.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 0x14001f539
lock inc qword [rdi + 8]
mov qword [rsi + 0xb8], 1
test rdi, rdi
je case.0x14001f2c4.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 0x14001f579
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001f61b
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001f5f0
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 0x14001f5d1
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 0x14001fb86
jmp case.0x14001f2c4.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001f611
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.0x14001f2c4.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 0x14001f65c
lock inc qword [rdi + 8]
mov qword [rsi + 0xd8], 1
test rdi, rdi
je case.0x14001f2c4.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 0x14001f69c
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001f73e
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001f713
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 0x14001f6f4
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 0x14001fb86
jmp case.0x14001f2c4.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001f734
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.0x14001f2c4.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 0x14001f77f
lock inc qword [rdi + 8]
mov qword [rsi + 0xf8], 1
test rdi, rdi
je case.0x14001f2c4.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 0x14001f7bf
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001f861
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001f836
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 0x14001f817
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 0x14001fb86
jmp case.0x14001f2c4.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001f857
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.0x14001f2c4.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 0x14001f8a2
lock inc qword [rdi + 8]
mov qword [rsi + 0x118], 1
test rdi, rdi
je case.0x14001f2c4.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 0x14001f8e2
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001f984
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001f959
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 0x14001f93a
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 0x14001fb86
jmp case.0x14001f2c4.518
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001f97a
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.0x14001f2c4.518
lea rcx, [rsi + 0x138]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.1400234d0
mov rdi, rax
test rax, rax
je case.0x14001f2c4.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 0x14001f9f8
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 0x14001fb86
jmp case.0x14001f2c4.518
lea rcx, [rsi + 0x158]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.1400234d0
mov rdi, rax
test rax, rax
je case.0x14001f2c4.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 0x14001f1a7
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, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001fa8f
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 0x14001fada
lock inc qword [rdi + 8]
mov qword [rsi + 0x178], 1
test rdi, rdi
je case.0x14001f2c4.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 0x14001fb1a
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001fbbb
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001fb90
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 0x14001fb6c
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.0x14001f2c4.518
mov eax, 1
jmp 0x14001fe49
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001fbb1
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.0x14001f2c4.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_n43::rg_n2192.0
mov qword [rsp + 0x70], rax
lea rax, vtable.rg_n43::rg_n1769.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 0x14001fd2a
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 0x14001fcb1
test rbx, rbx
jle 0x14001fcea
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.140090290
mov word [rbx + rdi], r15w
jmp 0x14001fced
mov rdi, r15
mov rax, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x48]
sub rax, rbx
cmp rax, 8
jl 0x14001fd0d
mov rax, qword [rbp - 0x58]
mov qword [rax + rbx], rdi
add qword [rbp - 0x48], 8
jmp 0x14001fd1e
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x70]
call fcn.1400250b0
mov qword [rax + rbx], rdi
inc r14d
cmp r14d, r13d
jb 0x14001fc90
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragFinish]
cmp qword [rbp - 0x48], 0
je 0x14001fe3d
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 0x14001fd69
lock inc qword [rdi + 8]
mov qword [rsi + 0x278], 1
test rdi, rdi
je 0x14001fe3d
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 0x14001fda9
lea rcx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x14001fe33
inc qword [rdi + 0x10]
cmp qword [rdi + 0x68], 0
je 0x14001fe08
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 0x14001fdf4
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 0x14001fe3d
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
sub qword [rdi + 0x10], 1
jne 0x14001fe29
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.140005140
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14008dd20
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret