Function at 0x1400016f0
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Get graphical window text
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1228]
mov eax, 0x1328
call fcn.1400d9ac0
sub rsp, rax
mov edi, edx
mov ebx, ecx
mov byte [rsp + 0x4b], 0
mov r15d, 1
cmp edx, 2
jne 0x14000174c
mov edi, r15d
mov dword [rbp + 0x1278], r15d
cmp byte [0x140125ad7], 0
jne 0x14000174c
mov byte [0x140125ad7], dil
mov byte [rsp + 0x4b], dil
xor eax, eax
cmp ecx, 0x8000012f
jne 0x14000176e
mov ebx, 0xa
mov dword [rbp + 0x1270], ebx
mov byte [rsp + 0x49], r15b
mov esi, ebx
mov dword [rsp + 0x54], ebx
jmp 0x140001784
cmp ecx, 5
setle byte [rsp + 0x49]
mov esi, ecx
mov dword [rsp + 0x54], ecx
jle 0x140001784
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x44], eax
cmp dword [0x140125f8c], 0
je 0x140001795
call fcn.1400042d0
xor r14b, r14b
mov dword [rsp + 0x40], r14d
cmp dword [0x140127d5c], 0
je 0x1400017ba
call fcn.140003fb0
movzx r14d, r14b
test al, al
cmovne r14d, r15d
mov dword [rsp + 0x40], r14d
test ebx, ebx
jle 0x1400017fb
cmp edi, r15d
jne 0x1400017fb
mov byte [rsp + 0x4c], r15b
inc dword [0x140125b30]
cmp byte [0x140125ad6], 0
jne 0x140001800
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
mov rcx, qword [0x140125b28]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x140125ad6]
jmp 0x140001800
mov byte [rsp + 0x4c], 0
xor r15b, r15b
mov byte [rbp + 0x1288], r15b
xor dl, dl
mov byte [rbp + 0x1280], dl
xor r10d, r10d
mov dword [rsp + 0x44], r10d
mov r12, qword [rbp + 0x1280]
mov rax, qword [0x14011f188]
mov r13, qword [rbp + 0x1280]
mov rcx, qword [rbp + 0x1280]
mov qword [rsp + 0x60], rcx
mov r8d, dword [rbp + 0x1270]
mov dword [rbp - 0x48], r8d
movzx ecx, byte [rbp + 0x1270]
mov qword [rbp - 0x28], rcx
mov r9d, dword [rbp + 0x1270]
mov dword [rsp + 0x58], r9d
movzx r9d, byte [rbp + 0x1270]
mov byte [rsp + 0x4a], r9b
movzx ecx, byte [rbp + 0x1270]
mov byte [rsp + 0x48], cl
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x40], rcx
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x10], rcx
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x58], rcx
mov rdi, qword [rbp + 0x1280]
mov qword [rsp + 0x68], rdi
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x18], rcx
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x50], rcx
mov edi, r10d
jmp 0x1400018d5
mov esi, dword [rsp + 0x54]
movzx edx, byte [rbp + 0x1280]
mov edi, dword [rsp + 0x44]
nop dword [rax]
mov r14d, dword [rsp + 0x40]
test esi, esi
jle 0x1400019a0
test dl, dl
jne 0x1400019a0
nop word [rax + rax]
cmp byte [0x140125ad7], 0
jne 0x1400019ad
cmp dword [0x14011f180], 0
je 0x140001968
cmp dword [0x140125adc], 0
jne 0x140001968
cmp dword [0x140125b08], 0
jne 0x14000191f
mov eax, 1
jmp 0x14000196b
cmp byte [rax + 0x7f], 0
jne 0x140001962
cmp dword [rax + 0x70], 0xffffffff
jle 0x140001962
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov rax, qword [0x14011f188]
sub ecx, dword [rax + 0x74]
xor r10d, r10d
cmp ecx, dword [rax + 0x70]
jb 0x140001962
cmp dword [rax + 0x6c], r10d
je 0x140001962
mov byte [rax + 0x7f], 1
cmp byte [rax + 0xc2], r10b
jne 0x140001962
mov dword [rax + 0x88], 5
movzx eax, byte [rax + 0x7f]
jmp 0x14000196b
mov eax, r10d
mov r9d, 0x311
test eax, eax
cmovne r9d, r10d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
jne 0x140001c5a
mov rax, qword [0x14011f188]
xor r10d, r10d
jmp 0x1400018f0
cmp byte [0x140125ad7], 0
je 0x140001b8c
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140001b82
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401275f8]
jne 0x140001b82
cmp dword [0x140125b20], 0
je 0x140001a27
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x120]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
xor edi, edi
mov ecx, edi
lea rdx, [rbp + 0x120]
lea r8, str.32770
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140001a29
cmp rcx, 7
jne 0x140001a10
jmp 0x140001a80
xor edi, edi
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x140001b82
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x120]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, str.SysTreeView32
lea rcx, [rbp + 0x120]
call fcn.1400c0304
test eax, eax
je 0x140001a80
lea rdx, str.SysListView32
lea rcx, [rbp + 0x120]
call fcn.1400c0304
test eax, eax
jne 0x140001b82
cmp dword [0x14011f180], 0
je 0x140001aed
cmp dword [0x140125adc], 0
jne 0x140001aed
cmp dword [0x140125b08], 0
jne 0x140001aa2
mov eax, 1
jmp 0x140001aef
mov rcx, qword [0x14011f188]
cmp byte [rcx + 0x7f], 0
jne 0x140001ae7
cmp dword [rcx + 0x70], 0xffffffff
jle 0x140001ae7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011f188]
sub eax, dword [rcx + 0x74]
cmp eax, dword [rcx + 0x70]
jb 0x140001ae7
cmp dword [rcx + 0x6c], 0
je 0x140001ae7
mov byte [rcx + 0x7f], 1
cmp byte [rcx + 0xc2], 0
jne 0x140001ae7
mov dword [rcx + 0x88], 5
movzx eax, byte [rcx + 0x7f]
jmp 0x140001aef
mov eax, edi
mov ebx, 0x311
test eax, eax
mov eax, 0xffffffff
cmovne ebx, eax
mov dword [rsp + 0x20], edi
mov r9d, 0x1ff
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageW]
mov r9d, ebx
xor edx, edx
mov r8d, 0x20f
test eax, eax
je 0x140001c0d
mov edi, dword [rbp - 0x70]
xor ecx, ecx
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001b4e
mov r9d, 0x1ff
jmp 0x140001c08
mov eax, dword [rbp - 0x70]
sub eax, edi
mov dword [rsp + 0x20], 1
xor edx, edx
lea rcx, [rsp + 0x70]
test eax, eax
jle 0x140001b74
mov r9d, 0x1ff
xor r8d, r8d
jmp 0x140001c1a
mov r9d, ebx
mov r8d, 0x20f
jmp 0x140001c1a
mov rax, qword [0x14011f188]
xor r10d, r10d
cmp dword [0x14011f180], 0
je 0x140001bf4
cmp dword [0x140125adc], 0
jne 0x140001bf4
cmp dword [0x140125b08], 0
jne 0x140001bae
mov eax, 1
jmp 0x140001bf7
cmp byte [rax + 0x7f], 0
jne 0x140001bee
cmp dword [rax + 0x70], 0xffffffff
jle 0x140001bee
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov rax, qword [0x14011f188]
sub ecx, dword [rax + 0x74]
cmp ecx, dword [rax + 0x70]
jb 0x140001bee
cmp dword [rax + 0x6c], 0
je 0x140001bee
mov byte [rax + 0x7f], 1
cmp byte [rax + 0xc2], 0
jne 0x140001bee
mov dword [rax + 0x88], 5
movzx eax, byte [rax + 0x7f]
jmp 0x140001bf7
mov eax, r10d
mov r9d, 0x311
test eax, eax
mov ecx, 0
cmovne r9d, ecx
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001c56
test esi, esi
jne 0x1400022af
test r15b, r15b
jne 0x1400022af
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r15b, 1
mov byte [rbp + 0x1288], r15b
mov rax, qword [0x14011f188]
xor r10d, r10d
jmp 0x1400019a0
mov edi, dword [rsp + 0x44]
inc edi
mov dword [rsp + 0x44], edi
mov r8d, dword [0x140127610]
test r8d, r8d
je 0x140001d3b
mov rdi, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x80]
mov ebx, dword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
xor r15b, r15b
lea rax, [0x140127600]
mov qword [rbp + 0x50], rax
mov rax, qword [0x140127608]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x64], r8d
mov byte [rbp + 0x68], r15b
lea rax, [rbp + 0x50]
mov qword [0x140127608], rax
xor eax, eax
mov edx, eax
mov dword [rbp + 0x60], eax
test r8d, r8d
jle 0x140001d1a
nop dword [rax]
movsxd rcx, edx
add rcx, rcx
mov rax, qword [0x140127600]
cmp dword [rax + rcx*8 + 8], ebx
jne 0x140001d0b
lea rax, [rbp + 0x110]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov r8d, ebx
mov rdx, r14
lea rcx, [rbp + 0x50]
call fcn.1400044f0
test al, al
jne 0x140001d17
mov r8d, dword [rbp + 0x64]
mov edx, dword [rbp + 0x60]
inc edx
mov dword [rbp + 0x60], edx
cmp edx, r8d
jge 0x140001d1a
jmp 0x140001cc0
mov r15b, 1
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x50]
mov qword [rax + 8], rcx
test r15b, r15b
jne 0x140002350
movzx r15d, byte [rbp + 0x1288]
mov esi, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x78]
cmp qword [0x140125b38], 0
je 0x1400021ba
lea eax, [r8 - 0x100]
cmp eax, 9
jbe 0x140001d6a
lea eax, [r8 - 0x200]
cmp eax, 0xe
ja 0x1400021ba
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x140001dd7
nop dword [rax]
nop dword [rax + rax]
mov edx, 0xffffffe0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassLongW]
cmp ax, word [0x140128140]
jne 0x140001dad
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
jne 0x140001de9
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140001dd2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x140001d80
mov r8d, dword [rsp + 0x78]
xor r10d, r10d
mov r12d, r10d
mov rax, qword [0x14011f188]
jmp 0x1400021c4
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rax + 0x78]
test rdx, rdx
je 0x140001e0e
lea r8, [rsp + 0x70]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140002350
mov r8d, dword [rsp + 0x78]
cmp r8d, 0x100
jne 0x14000209c
cmp byte [r12 + 0x108], 0
je 0x140002013
mov rbx, qword [rbp - 0x80]
cmp rbx, 0x27
ja 0x140002013
movabs rax, 0xa600000200
bt rax, rbx
jae 0x140002013
mov rbx, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, dword [r12 + 0xa8]
jae 0x140001e79
mov rdx, qword [r12 + 0x50]
mov r13, qword [rdx + rax*8]
cmp qword [r13 + 0x28], rbx
je 0x140001eae
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
je 0x140001e91
cmp rax, qword [r12 + 0x30]
jne 0x140001e54
xor r14d, r14d
mov r13d, r14d
mov r8d, dword [rsp + 0x78]
cmp r8d, 0x100
je 0x140002016
jmp 0x14000209c
cmp eax, 0x2af8
je 0x140001e91
xor r14d, r14d
test r13, r13
je 0x140001e97
movzx eax, byte [r13 + 0x50]
cmp al, 0xf
je 0x140001e97
mov ebx, r14d
cmp al, 0x13
jne 0x140001ee4
mov rbx, r13
mov rax, qword [rbp - 0x80]
add rax, 0xffffffffffffffdb
test rax, 0xfffffffffffffffd
je 0x14000235e
mov rax, qword [rbp - 0x80]
add rax, 0xffffffffffffffdb
test rax, 0xfffffffffffffffd
je 0x140001e97
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140001e97
cmp qword [rbp - 0x80], 9
jne 0x140001f29
cmp byte [r13 + 0x50], 0xc
jne 0x140001f29
mov edx, 0xfffffff0
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x140001e97
test rbx, rbx
jne 0x140001fc8
movzx r9d, byte [r13 + 0x52]
cmp r9b, 0xff
je 0x140001f7a
xor dl, dl
mov ecx, r14d
mov r8d, dword [r12 + 0xa8]
test r8d, r8d
je 0x140001f7a
mov r10, qword [r12 + 0x50]
mov eax, ecx
mov rbx, qword [r10 + rax*8]
cmp byte [rbx + 0x50], 0x13
jne 0x140001f67
cmp dl, r9b
je 0x140001f75
inc dl
inc ecx
cmp ecx, r8d
jb 0x140001f54
xor dl, dl
mov ecx, r14d
jmp 0x140001f90
test rbx, rbx
jne 0x140001fc8
xor dl, dl
mov ecx, r14d
mov r8d, dword [r12 + 0xa8]
test r8d, r8d
je 0x140001e97
mov r9, qword [r12 + 0x50]
nop word [rax + rax]
mov eax, ecx
mov rbx, qword [r9 + rax*8]
cmp byte [rbx + 0x50], 0x13
jne 0x140001fb2
test dl, dl
je 0x140001fbf
inc dl
inc ecx
cmp ecx, r8d
jae 0x140001e97
jmp 0x140001fa0
test rbx, rbx
je 0x140001e97
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140001e97
mov rax, qword [rbp - 0x80]
cmp rax, 0x22
je 0x140002399
cmp rax, 9
jne 0x140002000
lea ecx, [rax + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140002399
xor r8d, r8d
mov byte [rsp + 0x20], 1
mov r9b, 1
mov rdx, rbx
jmp 0x140002372
xor r14d, r14d
mov rbx, qword [rbp - 0x80]
cmp rbx, 0x1b
je 0x140002050
cmp rbx, 9
je 0x140002050
cmp rbx, 0x41
jne 0x14000209c
lea ecx, [rbx - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140002097
lea ecx, [rbx + 0x64]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x140002097
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, dword [r12 + 0xa8]
jae 0x14000207c
mov rdx, qword [r12 + 0x50]
mov r13, qword [rdx + rax*8]
mov rcx, qword [r13 + 0x28]
cmp rcx, rdi
je 0x140002122
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
je 0x140002094
cmp rax, qword [r12 + 0x30]
jne 0x140002050
mov r13, r14
mov r8d, dword [rsp + 0x78]
mov rcx, qword [0x140127360]
test rcx, rcx
je 0x1400020c9
cmp r8d, 0x100
jne 0x1400020c9
mov rbx, qword [rbp - 0x80]
cmp rbx, 0xd
je 0x140002448
cmp rbx, 0x1b
je 0x140002431
cmp dword [r12 + 0xa8], 0
jne 0x1400020e1
cmp r8d, 0x106
je 0x1400021ba
mov rcx, qword [0x14011f188]
mov byte [rcx + 0x7e], 1
mov eax, dword [rsp + 0x78]
mov dword [rcx + 0x78], eax
lea rdx, [rsp + 0x70]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
mov ecx, eax
mov rax, qword [0x14011f188]
mov byte [rax + 0x7e], 0
test ecx, ecx
jne 0x140002381
mov r8d, dword [rsp + 0x78]
jmp 0x1400021c1
cmp eax, 0x2af8
je 0x140002094
test r13, r13
je 0x140002097
cmp byte [r13 + 0x50], 0xc
jne 0x140002097
mov rbx, qword [rbp - 0x80]
cmp rbx, 0x1b
je 0x1400023aa
movzx eax, byte [r13 + 0x51]
cmp rbx, 0x41
je 0x140002198
test al, al
jns 0x140002097
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0xb
jb 0x140002097
lea r9, [0x1400fbc34]
mov edx, 0xc2
mov r8d, 1
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000237a
test al, 2
jne 0x140002097
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000237a
mov rax, qword [0x14011f188]
xor r10d, r10d
cmp r8d, 0x402
ja 0x1400025a4
je 0x1400025de
cmp r8d, 0x113
ja 0x1400024c6
jne 0x14000245e
cmp qword [rbp - 0x78], 0
jne case.0x1400025c5.1046
mov rcx, qword [0x140125b28]
cmp qword [rsp + 0x70], rcx
jne case.0x1400025c5.1046
cmp dword [0x140125f8c], 0
je 0x14000221c
call fcn.1400042d0
mov rax, qword [0x14011f188]
cmp dword [0x140127d5c], 0
je 0x14000224c
call fcn.140003fb0
mov r10d, dword [rsp + 0x40]
movzx r14d, r10b
test al, al
mov eax, 1
cmovne r14d, eax
mov dword [rsp + 0x40], r14d
mov rax, qword [0x14011f188]
jmp 0x140002251
mov r14d, dword [rsp + 0x40]
cmp dword [rbp + 0x1278], 0
je 0x140002381
cmp esi, 1
jl 0x140002381
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [rbp + 0x1270]
cmp byte [rsp + 0x49], 0
jne 0x140003dda
mov ecx, dword [rbp - 0x44]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jle 0x140003dda
mov byte [rbp + 0x1288], r15b
mov rax, qword [0x14011f188]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018dd
mov edi, dword [rsp + 0x44]
test edi, edi
jne 0x1400022ec
cmp byte [rsp + 0x49], dil
je 0x1400022ec
test esi, esi
jle 0x1400022cb
lea ecx, [rdi + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov edi, eax
mov dword [rsp + 0x44], eax
mov rax, qword [0x14011f188]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018d5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [rbp + 0x1270]
cmp byte [rsp + 0x49], 0
jne 0x140003dda
mov ecx, dword [rbp - 0x44]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jle 0x140003dda
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x40], r14d
mov byte [rbp + 0x1288], r15b
mov dword [rsp + 0x44], edi
mov rax, qword [0x14011f188]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018d5
movzx r15d, byte [rbp + 0x1288]
mov esi, dword [rsp + 0x54]
jmp 0x14000237a
cmp qword [rbp - 0x80], 0x27
sete r8b
mov byte [rsp + 0x20], r14b
xor r9d, r9d
mov rdx, r13
mov rcx, r12
call fcn.1400886c0
mov rax, qword [0x14011f188]
mov r14d, dword [rsp + 0x40]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018d5
mov r8b, 1
mov byte [rsp + 0x20], r8b
movzx r9d, r8b
mov rdx, rbx
jmp 0x140002372
xor r10d, r10d
mov ecx, r10d
movsxd rdx, dword [r12 + 0xa0]
test edx, edx
jle 0x140002712
mov rax, qword [r12 + 0x90]
add rax, 0xe
nop dword [rax]
cmp dword [rax - 6], 3
jne 0x1400023db
cmp byte [rax], r10b
je 0x1400023ed
inc rcx
add rax, 0x10
cmp rcx, rdx
jge 0x140003d7f
jmp 0x1400023d0
xor r9d, r9d
mov edx, 0x414
mov r8d, 0x2af80003
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.USER32.dll_PostMessageW]
mov r14d, dword [rsp + 0x40]
mov dword [rsp + 0x40], r14d
mov byte [rbp + 0x1288], r15b
mov rax, qword [0x14011f188]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018d5
xor r9d, r9d
mov edx, 0x1116
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000237a
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1116
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000237a
cmp r8d, 0x12
je 0x1400024b0
cmp r8d, 0x4b
je 0x14000249c
cmp r8d, 0x100
jne case.0x1400025c5.1046
mov rax, qword [0x140125af8]
cmp qword [rsp + 0x70], rax
jne case.0x1400025c5.1046
cmp qword [rbp - 0x80], 0x1b
jne case.0x1400025c5.1046
xor edx, edx
mov rcx, qword [0x140125b28]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14000237a
mov qword [0x140125b00], r10
mov dl, 1
mov byte [rbp + 0x1280], dl
jmp 0x1400018c8
mov edx, 4
lea rcx, [0x140127620]
call fcn.1400475b0
jmp 0x14000237a
mov ecx, r8d
sub ecx, 0x312
je 0x1400025de
sub ecx, 0xee
je case.0x1400025c5.1045
cmp ecx, 1
je case.0x1400025c5.1045
xor edi, edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140003d53
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401275f8]
jne 0x140003d53
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x120]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
mov rcx, rdi
lea rdx, [rbp + 0x120]
lea r8, str.32770
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140003d53
cmp rcx, 7
jne 0x140002540
mov rcx, qword [0x14011f188]
mov byte [rcx + 0x7e], 1
mov eax, dword [rsp + 0x78]
mov dword [rcx + 0x78], eax
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x140003d46
mov rax, qword [0x14011f188]
mov byte [rax + 0x7e], 0
mov r14d, dword [rsp + 0x40]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018d5
lea ecx, [r8 - 0x414]
cmp ecx, 0xa
ja case.0x1400025c5.1046
lea rbx, [0x140000000]
mov edx, dword [rbx + rcx*4 + 0x3e58]
add rdx, rbx
jmp rdx
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400025de
cmp rbx, qword [0x140125b28]
jne case.0x1400025c5.1046
lea rbx, [0x140000000]
mov r14, r10
lea ecx, [r8 - 0x401]
cmp ecx, 0x1d
ja case.0x14000260a.1031
movzx ecx, byte [rbx + rcx + 0x3ea0]
mov edx, dword [rbx + rcx*4 + 0x3e84]
add rdx, rbx
jmp rdx
mov rbx, qword [rsp + 0x70]
mov edx, 0xffffffe0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassLongW]
cmp ax, word [0x140128140]
je 0x140002632
xor edi, edi
mov r12d, edi
jmp 0x1400024ec
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
je case.0x1400025c5.1046
mov r8, qword [rbp - 0x78]
mov qword [rsp + 0x60], r8
mov rcx, qword [rbp - 0x80]
movzx r10d, cl
mov dword [rbp - 0x48], r10d
mov r11, rcx
shr r11, 8
mov qword [rbp - 0x28], r11
shr rcx, 0x10
movzx edx, cx
xor eax, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x58], r10d
cmp edx, dword [r12 + 0xa8]
jae 0x140002693
mov rax, qword [r12 + 0x50]
mov r13, qword [rax + rdx*8]
jmp 0x140002696
mov r13, rax
lea rbx, [r12 + 0x90]
mov byte [rsp + 0x4a], 0
xor dil, dil
mov byte [rsp + 0x48], dil
lea eax, [r10 - 1]
cmp eax, 0x10
ja case.0x1400026c6.6
lea r9, [0x140000000]
mov ecx, dword [r9 + rax*4 + 0x3ec0]
add rcx, r9
jmp rcx
mov r14, qword [r12 + 0x60]
test r14, r14
jne 0x1400026e1
xor r10d, r10d
mov rax, qword [0x14011f188]
jmp 0x1400018c1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov r8d, eax
mov qword [rsp + 0x60], r8
test eax, eax
jne case.0x1400026c6.2
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r10d, r10d
mov qword [r12 + 0x60], r10
mov rax, qword [0x14011f188]
jmp 0x1400018c1
mov dil, 2
mov byte [rsp + 0x48], dil
mov dword [rsp + 0x58], r8d
test r13, r13
je 0x14000237a
lea rbx, [r13 + 0x38]
mov byte [rsp + 0x4a], 1
test rbx, rbx
je case.0x1400026c6.5
mov rdx, qword [rbx + 8]
test rdx, rdx
je case.0x1400026c6.5
cmp byte [rdx + 0x18], 0
jne 0x14000276e
movsxd rcx, dword [rdx + 0x10]
add rcx, rcx
mov rax, qword [rbx]
mov r9d, dword [rsp + 0x58]
cmp dword [rax + rcx*8 + 8], r9d
jne 0x14000276e
cmp byte [rax + rcx*8 + 0xe], dil
je 0x140002774
mov rdx, qword [rdx + 8]
jmp 0x140002746
test r14, r14
je 0x14000278c
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r10d, r10d
mov qword [r12 + 0x60], r10
jmp 0x14000278f
xor r10d, r10d
mov r14d, dword [rsp + 0x40]
mov dword [rsp + 0x40], r14d
mov byte [rbp + 0x1288], r15b
mov rax, qword [0x14011f188]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d5
xor r10d, r10d
mov edi, r10d
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011f188]
jmp 0x140002cb6
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x140002845
mov edx, 0xffffffe0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassLongW]
cmp ax, word [0x140128140]
je 0x1400027f6
xor r10d, r10d
mov r12d, r10d
jmp 0x14000280f
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
jne 0x140002834
xor r10d, r10d
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140002834
cmp rax, qword [0x140125b28]
jne case.0x1400025c5.1046
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011f188]
jmp 0x140002848
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011f188]
xor r10d, r10d
jmp 0x140002848
mov r12, r10
mov rdx, qword [0x140127d60]
test rdx, rdx
je 0x14000288b
mov rcx, qword [rbp - 0x78]
nop dword [rax + rax]
mov rsi, qword [rdx + 0x20]
mov qword [rbp - 0x40], rsi
test rsi, rsi
je 0x140002882
nop dword [rax]
cmp dword [rsi + 0x28], ecx
je 0x140002894
mov rsi, qword [rsi + 0x38]
mov qword [rbp - 0x40], rsi
test rsi, rsi
jne 0x140002870
mov rdx, qword [rdx + 0x38]
test rdx, rdx
jne 0x140002860
mov qword [rbp - 0x40], r10
jmp 0x1400018bd
cmp qword [rsi + 0x10], 0
je 0x1400018bd
mov edi, dword [rsi + 0x2c]
jmp 0x140002cba
mov ecx, dword [0x140125f88]
mov rbx, qword [rbp - 0x80]
cmp rbx, rcx
jae 0x1400018bd
mov rax, qword [0x140125f80]
mov rdi, qword [rax + rbx*8]
mov qword [rbp - 0x10], rdi
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140002911
mov rdx, qword [rdi + 8]
call fcn.140017d70
mov qword [rbp - 0x58], rax
test rax, rax
je 0x14000237a
mov rcx, qword [rdi + 0x20]
movzx edx, byte [rcx]
lea ecx, [rdx - 2]
test cl, 0xfd
je 0x140002909
cmp dl, 5
jne 0x140002915
mov rbx, qword [0x140125b18]
mov qword [rbp - 0x58], rbx
jmp 0x140002915
xor eax, eax
mov qword [rbp - 0x58], rax
jmp 0x140002915
mov qword [rbp - 0x58], r10
mov rdx, qword [rbp - 0x78]
mov rcx, rdi
call fcn.14001b300
cmp qword [rdi + 0x18], 0
jne 0x14000237a
xor r10d, r10d
cmp byte [rdi + 0x3e], r10b
je 0x140002954
movzx eax, word [rbp - 0x78]
mov word [0x140127d7c], ax
mov edi, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011f188]
jmp 0x140002cb6
mov word [0x140127d7c], r10w
mov edi, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011f188]
jmp 0x140002cb6
cmp byte [0x140127d40], 0
jne 0x1400018bd
mov edi, r10d
jmp 0x140002cb6
mov rbx, qword [rbp - 0x80]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call fcn.14002ca60
test rax, rax
jne 0x1400029af
xor r10d, r10d
mov qword [rsp + 0x68], r10
mov rax, qword [0x14011f188]
jmp 0x1400018c1
cmp qword [rbx + 0x10], 0
je 0x140002a30
cmp qword [0x140125b10], 0
jne 0x1400029d7
cmp dword [0x140125f9c], 0
jne 0x1400029d7
test byte [0x140125d2c], 1
jne 0x1400029d7
call fcn.1400180c0
mov rcx, qword [rbx + 0x10]
cmp qword [rcx + 0x398], 0
je 0x140002a00
xor r10d, r10d
mov edi, r10d
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011f188]
mov rsi, qword [rbp - 0x40]
jmp 0x140002cbf
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
cmp dword [0x140125b08], 0
jne 0x140002a30
lea rcx, [0x140127620]
call fcn.140047190
test al, al
jne 0x140002a30
mov edx, 6
lea rcx, [0x140127620]
call fcn.1400475b0
xor r10d, r10d
mov qword [rsp + 0x68], r10
mov rax, qword [0x14011f188]
jmp 0x1400018c1
mov rbx, qword [0x140125b10]
mov qword [rsp + 0x68], rbx
test rbx, rbx
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
je 0x1400018d0
mov r10d, dword [rsp + 0x40]
nop dword [rax]
movzx edx, r15b
movzx r9d, r10b
cmp rbx, qword [rbp - 0x80]
je 0x140002aa0
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x68], rbx
test rbx, rbx
jne 0x140002a70
mov r14d, dword [rsp + 0x40]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018d5
mov rcx, qword [rbx + 0x10]
cmp r8d, 0x41c
jne 0x140002ab6
mov rcx, qword [rcx + 0x3a0]
jmp 0x140002acf
cmp r8d, 0x41e
jne 0x140002ac8
mov rcx, qword [rcx + 0x3b0]
jmp 0x140002acf
mov rcx, qword [rcx + 0x3a8]
mov dword [rsp + 0x40], r10d
mov byte [rbp + 0x1288], dl
test rcx, rcx
je 0x140002c52
xor ecx, ecx
mov edi, ecx
movzx r10d, r9b
mov dword [rsp + 0x40], r10d
mov byte [rbp + 0x1288], dl
mov rsi, qword [rbp - 0x40]
xor r10d, r10d
jmp 0x140002cbf
mov rbx, qword [rbp - 0x80]
movzx ecx, bx
mov edx, 0x7fff
and cx, dx
cmp cx, word [0x140125e14]
jae 0x1400018bd
movzx edx, cx
mov rcx, qword [0x140125f90]
mov r11, qword [rcx + rdx*8]
mov qword [rbp - 0x18], r11
shr rbx, 0x10
test bx, bx
je 0x140002b66
mov ecx, 0xffff
add bx, cx
mov r10, qword [r11 + 0x28]
mov qword [rbp - 0x50], r10
je 0x140002b5d
nop dword [rax + rax]
mov r10, qword [r10 + 0x18]
add bx, cx
jne 0x140002b50
mov qword [rbp - 0x50], r10
test r10, r10
jne 0x140002c5a
cmp r8d, 0x400
jne 0x140002b89
mov rcx, qword [rbp - 0x78]
shr rcx, 0x10
movzx edx, cx
lea esi, [rdx + 0x3c2bb3]
mov edi, WSAAsyncSelect
sub edi, edx
jmp 0x140002b91
mov esi, r10d
mov edi, 0x3c2c17
cmp byte [r11 + 0x19], 0
jne 0x140002ba1
mov qword [rbp - 0x50], r10
jmp 0x1400018bd
mov qword [rbp - 0x58], r10
mov rbx, r10
mov r10, qword [r11 + 0x28]
mov qword [rbp - 0x50], r10
test r10, r10
je 0x140002c46
nop dword [rax]
cmp byte [r10 + 0x30], 0
je 0x140002c19
cmp byte [0x140125b5d], 0
je 0x140002bd7
cmp byte [r10 + 0x31], 0
je 0x140002c19
cmp edi, 0x66
lea ecx, [rsi - 0x3c2bb3]
jbe 0x140002be7
mov ecx, reloc.WSOCK32.dll_WSAAsyncSelect
movzx eax, byte [r10 + 0x2c]
cmp ecx, eax
jle 0x140002c19
mov rcx, qword [r10 + 0x10]
test rcx, rcx
je 0x140002c0f
mov rdx, qword [r11 + 0x20]
call fcn.140017d70
mov qword [rbp - 0x58], rax
mov r10, qword [rbp - 0x50]
test rax, rax
je 0x140002c19
cmp qword [r10 + 0x10], 0
jne 0x140002c2c
mov rbx, r10
mov r10, qword [r10 + 0x18]
mov qword [rbp - 0x50], r10
test r10, r10
je 0x140002c3a
mov r11, qword [rbp - 0x18]
jmp 0x140002bc0
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011f188]
jmp 0x140002c4d
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011f188]
mov r10, rbx
mov qword [rbp - 0x50], rbx
test r10, r10
jne 0x140002c5a
xor r10d, r10d
jmp 0x1400018bd
movzx ecx, byte [r10 + 0x2b]
cmp byte [r10 + 0x2a], cl
jb 0x140002c87
cmp byte [r10 + 0x2e], 0
je 0x140002c71
mov byte [r10 + 0x2f], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbp - 0x50]
mov dword [rcx + 0x20], eax
mov esi, dword [rsp + 0x54]
jmp 0x14000237a
mov rcx, qword [r10 + 0x10]
test rcx, rcx
je 0x140002ca9
movzx edx, byte [rcx]
lea ecx, [rdx - 2]
test cl, 0xfd
je 0x140002ca9
cmp dl, 5
jne 0x140002caf
mov rcx, qword [0x140125b18]
jmp 0x140002cab
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov edi, dword [r10 + 0x24]
xor r10d, r10d
mov rsi, qword [rbp - 0x40]
mov rbx, qword [rsp + 0x68]
mov ecx, dword [reloc.WSOCK32.dll_inet_addr]
cmp dword [0x140125b08], ecx
jl 0x140002d0f
test r14, r14
je 0x140002cef
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r10d, r10d
mov qword [r12 + 0x60], r10
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011f188]
cmp r8d, 0x41b
jne 0x1400018bd
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov esi, dword [rsp + 0x54]
jmp 0x14000237a
cmp edi, dword [rax + 0x68]
jge 0x140002d44
test r14, r14
je 0x140002d36
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r10d, r10d
mov qword [r12 + 0x60], r10
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011f188]
cmp r8d, 0x41b
je 0x140002cfc
jmp 0x1400018bd
mov r10b, 1
mov dword [rsp + 0x40], r10d
lea ecx, [r8 - 0x402]
cmp ecx, 0x1c
ja case.0x140002d73.1027
lea r9, [0x140000000]
movzx ecx, byte [r9 + rcx + 0x3f0c]
mov edx, dword [r9 + rcx*4 + 0x3f04]
add rdx, r9
jmp rdx
mov rax, qword [0x140127ce8]
mov qword [0x140127cf0], rax
mov eax, dword [0x140127d74]
mov dword [0x140127d78], eax
cmp r8d, 0x401
jne 0x140002da2
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
jmp 0x140002daa
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x20]
mov qword [0x140127ce8], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140127d74], eax
mov rax, qword [0x14011f188]
inc dword [0x140125b08]
lea rbx, [rax + 0xc8]
mov qword [0x14011f188], rbx
mov rax, qword [0x140125ae0]
test rax, rax
je 0x140002def
lea rcx, [rax + 0x80]
xor eax, eax
jmp 0x140002df2
mov rcx, rax
test rbx, rbx
je 0x140002dfe
lea rax, [rbx + 0x80]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [rcx + 0x40]
movsd qword [rax + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm1
movups xmmword [rbx + 0x30], xmm1
movups xmmword [rbx + 0x40], xmm1
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x60], xmm1
movups xmmword [rbx + 0x70], xmm1
mov byte [rbx + 0x7f], 1
mov dword [rbx + 0x68], edi
xor edx, edx
lea rcx, [0x140127620]
call fcn.140046930
movzx eax, byte [rbx + 0xc2]
test al, al
jne 0x140002e6e
mov byte [rbx + 0xc2], al
cmp dword [0x140127dd4], 0
je 0x140002e80
cmp dword [0x140127dd0], 0
jne 0x140002e84
test al, al
je 0x140002eba
mov dword [rbx + 0x88], reloc.WSOCK32.dll_recv
mov byte [rbx + 0x7f], 0
test al, al
jne 0x140002eba
cmp dword [0x140127dd4], 0
jge 0x140002ea8
mov dword [rbx + 0x70], 0xffffffff
jmp 0x140002eba
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x74], eax
mov eax, dword [0x140127dd4]
mov dword [rbx + 0x70], eax
mov rbx, qword [0x14011f188]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140127dd8], eax
mov edx, dword [rsp + 0x78]
lea eax, [rdx - 0x401]
cmp eax, 0x1d
ja case.0x140002efb.1032
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x3f4c]
mov ecx, dword [r8 + rax*4 + 0x3f2c]
add rcx, r8
jmp rcx
movsxd rbx, dword [rsp + 0x50]
lea rcx, [rbx + rbx*2]
inc ebx
mov dword [rsp + 0x50], ebx
mov dword [rbp + rcx*8 + 0x90], 5
mov rax, r12
cmp byte [rsp + 0x4a], 0
cmovne rax, r13
mov qword [rbp + rcx*8 + 0x80], rax
mov edi, dword [rbp - 0x48]
lea eax, [rdi - 1]
cmp eax, 0x10
ja case.0x140002f45.6
mov ecx, dword [r8 + rax*4 + 0x3f6c]
add rcx, r8
jmp rcx
mov rax, qword [rbp - 0x6c]
mov qword [rbp - 0x60], rax
mov rsi, qword [rbp - 0x28]
test r13, r13
je 0x140003111
test sil, sil
je 0x14000306b
mov dword [rbp - 0x38], 0x80000000
movzx ecx, byte [r13 + 0x50]
sub ecx, 9
je 0x140002fef
sub ecx, 1
je 0x140002fbf
sub ecx, 1
je 0x140002f93
cmp ecx, 6
jne 0x140003020
xor r8d, r8d
mov edx, 0x419
jmp 0x140003012
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140003020
mov qword [rbp - 0x38], rax
mov edx, 0x1104
mov r8d, 1
jmp 0x140003012
mov edx, 0x100c
mov r9d, 1
lea r8, [r9 - 2]
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, eax
cmp r8, 0xffffffffffffffff
je 0x140003020
mov dword [rbp - 0x38], 2
mov edx, 0x100e
jmp 0x140003012
xor r9d, r9d
xor r8d, r8d
mov edx, OleCreatePictureIndirect
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x140003020
mov r8, rax
mov edx, 0x198
lea r9, [rbp - 0x38]
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r13 + 0x28]
cmp dword [rbp - 0x38], 0x80000000
jne 0x140003039
lea rdx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x14000304b
mov r9d, 2
lea r8, [rbp - 0x38]
xor edx, edx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [rbp - 0x38]
mov dword [rbp - 0x60], eax
mov eax, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x34]
sub eax, ecx
jns 0x14000305d
inc eax
sar eax, 1
add eax, 2
add eax, ecx
mov dword [rbp - 0x5c], eax
mov rax, qword [rbp - 0x6c]
movzx edx, byte [r13 + 0x50]
sub edx, 9
je 0x140003104
sub edx, 1
je 0x1400030da
cmp edx, 1
jne 0x140003111
mov rcx, qword [r13 + 0x28]
test sil, sil
je 0x1400030ac
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
mov qword [rsp + 0x60], rax
jmp 0x140003116
mov qword [rbp], rax
lea rdx, [rbp]
call qword [sym.imp.USER32.dll_ScreenToClient]
lea r9, [rbp]
xor r8d, r8d
mov edx, 0x1111
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
mov qword [rsp + 0x60], rax
jmp 0x140003116
test sil, sil
je 0x140003111
mov edx, 0x100c
mov r9d, 1
lea r8, [r9 - 2]
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
inc eax
movsxd rdi, eax
mov qword [rsp + 0x60], rdi
jmp 0x140003116
xor r9d, r9d
xor r8d, r8d
mov edx, OleCreatePictureIndirect
jmp 0x1400030ee
mov rdi, qword [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
movsxd rax, ebx
lea rcx, [rax + rax*2]
lea rdx, [rbp + 0x80]
lea rdx, [rdx + rcx*8]
lea r8d, [rbx + 1]
xor ebx, ebx
test r13, r13
je 0x14000314a
mov rax, r13
lea ecx, [rbx + 5]
jmp 0x14000315b
mov qword [rdx + 8], 0xffffffffffffffff
lea rax, [0x1400fbbd0]
mov ecx, ebx
mov dword [rdx + 0x10], ecx
mov qword [rdx], rax
movsxd rax, r8d
lea rcx, [rax + rax*2]
lea r14d, [r8 + 1]
mov edx, 1
mov dword [rbp + rcx*8 + 0x90], edx
mov qword [rbp + rcx*8 + 0x80], rdi
movsxd rax, r14d
lea rcx, [rax + rax*2]
inc r14d
mov dword [rbp + rcx*8 + 0x90], edx
mov rax, rbx
test sil, sil
sete al
mov qword [rbp + rcx*8 + 0x80], rax
movsxd rax, r14d
lea rcx, [rax + rax*2]
inc r14d
mov dword [rbp + rcx*8 + 0x90], edx
movsxd rax, dword [rbp - 0x60]
mov qword [rbp + rcx*8 + 0x80], rax
movsxd rax, r14d
lea rcx, [rax + rax*2]
inc r14d
mov dword [rsp + 0x50], r14d
mov dword [rbp + rcx*8 + 0x90], edx
movsxd rax, dword [rbp - 0x5c]
mov qword [rbp + rcx*8 + 0x80], rax
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
jmp 0x14000358c
mov rax, qword [rbp - 0x6c]
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x60]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov edx, 0xffffffec
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffffffef
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.USER32.dll_SetWindowLongW]
lea r10, [rbp + 0x80]
movsxd rcx, ebx
xor esi, esi
test r13, r13
je 0x140003247
mov r8, r13
lea r9d, [rsi + 5]
jmp 0x140003261
lea rax, [rcx + rcx*2]
mov qword [rbp + rax*8 + 0x88], 0xffffffffffffffff
lea r8, [0x1400fbbd0]
mov r9d, esi
lea rax, [rcx + rcx*2]
lea edx, [rbx + 1]
mov dword [r10 + rax*8 + 0x10], r9d
mov qword [r10 + rax*8], r8
movsxd rax, edx
lea rcx, [rax + rax*2]
lea rbx, [rbp + 0x80]
lea rbx, [rbx + rcx*8]
lea edi, [rdx + 1]
mov rcx, r14
call fcn.14007c460
mov dword [rbx + 0x10], 5
mov qword [rbx], rax
movsxd rax, edi
lea rcx, [rax + rax*2]
lea rbx, [rbp + 0x80]
lea rbx, [rbx + rcx*8]
inc edi
cmp byte [r12 + 0x112], 0
je 0x1400032ce
mov r8d, dword [0x1401275fc]
mov edx, 0x60
mov ecx, dword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400032d1
mov eax, dword [rbp - 0x60]
mov dword [rbx + 0x10], 1
cdqe
mov qword [rbx], rax
movsxd rax, edi
lea rcx, [rax + rax*2]
lea rbx, [rbp + 0x80]
lea rbx, [rbx + rcx*8]
inc edi
mov dword [rsp + 0x50], edi
cmp byte [r12 + 0x112], 0
je 0x140003317
mov r8d, dword [0x1401275fc]
mov edx, 0x60
mov ecx, dword [rbp - 0x5c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x14000331a
mov eax, dword [rbp - 0x5c]
mov dword [rbx + 0x10], 1
cdqe
mov qword [rbx], rax
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
mov qword [r12 + 0x60], rsi
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
mov r14d, edi
jmp 0x140003409
cmp edi, 4
jne 0x140003574
movsxd r14, ebx
lea rcx, [r14 + r14*2]
inc r14d
mov esi, 1
mov dword [rbp + rcx*8 + 0x90], esi
movsx rax, byte [rbp - 0x28]
mov qword [rbp + rcx*8 + 0x80], rax
movsxd rax, r14d
lea rcx, [rax + rax*2]
lea rbx, [rbp + 0x80]
lea rbx, [rbx + rcx*8]
inc r14d
mov rdi, qword [rsp + 0x60]
movzx eax, di
cmp byte [r12 + 0x112], 0
je 0x1400033ac
mov r8d, dword [0x1401275fc]
lea edx, [rsi + 0x5f]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rbx + 0x10], esi
cdqe
mov qword [rbx], rax
movsxd rax, r14d
lea rcx, [rax + rax*2]
lea rbx, [rbp + 0x80]
lea rbx, [rbx + rcx*8]
inc r14d
mov dword [rsp + 0x50], r14d
mov rax, rdi
shr rax, 0x10
movzx eax, ax
cmp byte [r12 + 0x112], 0
je 0x1400033f7
mov r8d, dword [0x1401275fc]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rbx + 0x10], esi
cdqe
mov qword [rbx], rax
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
movzx edi, byte [rsp + 0x48]
mov esi, dword [rsp + 0x58]
cmp byte [rsp + 0x4a], 0
je 0x1400035e4
lea rcx, [r13 + 0x38]
lea rbx, [r12 + 0x90]
jmp 0x1400035ef
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
mov r14d, ebx
jmp 0x140003409
cmp byte [r13 + 0x50], 0x17
jne 0x14000350c
cmp edi, 7
jne 0x14000350c
mov dword [rbp + 0x160], shutdown
mov rdi, qword [rsp + 0x60]
lea eax, [rdi - 1]
mov dword [rbp + 0x164], eax
lea r9, [rbp + 0x160]
xor r8d, r8d
mov edx, 0x703
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
test rax, rax
movzx edx, r9w
je 0x140003495
movzx edx, word [rbp + 0x170]
movsxd rax, ebx
lea rcx, [rax + rax*2]
lea r8d, [rbx + 1]
test dx, dx
je 0x1400034bd
mov qword [rbp + rcx*8 + 0x88], 0xffffffffffffffff
lea rax, [rbp + 0x170]
mov edx, r9d
jmp 0x1400034c5
movsxd rax, edi
mov edx, 1
mov dword [rbp + rcx*8 + 0x90], edx
mov qword [rbp + rcx*8 + 0x80], rax
movsxd rax, r8d
lea rcx, [rax + rax*2]
lea r14d, [r8 + 1]
mov dword [rsp + 0x50], r14d
mov dword [rbp + rcx*8 + 0x90], r9d
lea rax, [rbp + 0x1d0]
mov qword [rbp + rcx*8 + 0x80], rax
mov qword [rbp + rcx*8 + 0x88], 0xffffffffffffffff
jmp 0x1400033ff
movsxd r14, ebx
lea rcx, [r14 + r14*2]
inc r14d
mov dword [rsp + 0x50], r14d
mov edx, 1
mov dword [rbp + rcx*8 + 0x90], edx
mov rax, qword [rsp + 0x60]
mov qword [rbp + rcx*8 + 0x80], rax
mov eax, edi
sub eax, 0xa
je 0x14000354d
sub eax, edx
je 0x140003546
cmp eax, 2
je 0x14000354d
jmp 0x140003577
cmp byte [r13 + 0x50], 0xa
jne 0x140003577
movsxd rax, r14d
lea rcx, [rax + rax*2]
inc r14d
mov dword [rsp + 0x50], r14d
mov dword [rbp + rcx*8 + 0x90], edx
movzx eax, byte [rbp - 0x28]
dec rax
mov qword [rbp + rcx*8 + 0x80], rax
jmp 0x140003577
mov r14d, ebx
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
cmp edi, 5
jne 0x140003409
xor ebx, ebx
movzx edi, byte [rsp + 0x48]
mov esi, dword [rsp + 0x58]
test r13, r13
je 0x140003412
lea r8d, [r14 - 1]
lea rcx, [r13 + 0x38]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r12
mov byte [rsp + 0x20], dil
mov r9d, esi
lea rdx, [rbp + 0x98]
call fcn.140093e50
cmp eax, 7
je 0x1400035d5
cmp qword [r12 + 0x30], 0
jne 0x140003412
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003cdd
lea rcx, [r12 + 0x90]
mov rbx, rcx
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov byte [rsp + 0x20], dil
mov r9d, esi
mov r8d, r14d
lea rdx, [rbp + 0x80]
call fcn.140093e50
mov r9, qword [r12 + 0x30]
mov r8d, dword [rbp - 0x48]
test r9, r9
je 0x140003746
mov eax, r8d
sub eax, 1
je 0x1400036c7
cmp eax, 1
jne 0x140003746
cmp qword [rbp + 0x70], 0
jne 0x140003765
xor edx, edx
mov rcx, r9
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne cl
cmp cl, byte [r12 + 0x115]
je 0x140003686
mov byte [r12 + 0x115], cl
mov rdx, qword [r12]
mov rcx, r12
test eax, eax
je 0x140003683
call qword [rdx + reloc.WSOCK32.dll_htonl]
jmp 0x140003686
call qword [rdx + reloc.WSOCK32.dll_recv]
cmp dword [0x140125b08], 0
jne 0x140003765
lea rcx, [0x140127620]
call fcn.140047190
test al, al
jne 0x140003765
mov edx, 4
lea rcx, [0x140127620]
call fcn.1400475b0
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003cdd
xor eax, eax
mov ecx, eax
movsxd rdx, dword [rbx + 0x10]
test edx, edx
jle 0x14000374c
mov rax, qword [rbx]
mov r8, rdx
add rax, 0xe
mov rdx, qword [rsp + 0x60]
mov rsi, rdx
cmp dword [rax - 6], 1
jne 0x1400036f0
cmp byte [rax], 0
je 0x14000370f
inc rcx
add rax, 0x10
cmp rcx, r8
jl 0x1400036e2
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x50], r14d
mov byte [rbp + 0x1288], r15b
jmp 0x14000374c
mov edx, 0xffffffec
mov rcx, r9
call qword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x10
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x50], r14d
mov byte [rbp + 0x1288], r15b
jmp 0x14000374c
cmp r8d, 1
jne 0x140003765
movsxd rax, r14d
sub rax, 3
lea rax, [rax + rax*2]
mov rcx, qword [rbp + rax*8 + 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003cdd
test r12, r12
je 0x140003795
mov rax, qword [r12 + 0x30]
mov qword [rbx + 0x38], rax
mov rax, qword [r12 + 0x30]
mov qword [rbx + 0x40], rax
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rbx, qword [rsi + 0x20]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_htonl]
xor r8d, r8d
mov dword [rbp + 0x10], r8d
mov rax, qword [rsi]
mov qword [rbp], rax
mov qword [rbp + 8], 0xffffffffffffffff
mov edx, r8d
mov rax, qword [rsi + 0x20]
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1400037d8
cmp rcx, rsi
je 0x1400037dd
mov rcx, qword [rcx + 0x38]
inc edx
test rcx, rcx
jne 0x1400037c8
mov edx, 0xffffffff
mov eax, 1
mov dword [rbp + 0x28], eax
lea ecx, [rdx + 1]
mov qword [rbp + 0x18], rcx
mov dword [rbp + 0x40], 5
mov qword [rbp + 0x30], rbx
mov rcx, qword [0x140121a58]
cmp rcx, qword [0x140121a60]
jne 0x140003816
call fcn.140007ba8
mov rcx, qword [0x140121a58]
xor r8d, r8d
cmp rcx, qword [0x140121a50]
jb 0x140003830
mov rax, qword [0x140127cd8]
mov qword [rcx], rax
mov rcx, qword [0x140121a58]
add rcx, 0x18
mov qword [0x140121a58], rcx
mov qword [rcx], r8
lea rax, str.Menu
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], r8d
mov rcx, qword [rsi + 0x10]
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 3
lea r9, [rbp]
xor r8d, r8d
mov rdx, rcx
call fcn.14008c560
mov rax, qword [0x140121a58]
sub rax, 0x18
mov qword [0x140121a58], rax
cmp rax, qword [0x140121a50]
jb 0x14000389e
mov rax, qword [rax]
mov qword [0x140121a78], rax
mov qword [0x140127cd8], rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_recv]
test r12, r12
je 0x140003cdd
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003cdd
mov rax, qword [rbp - 0x58]
mov qword [rbx + 0x38], rax
mov rdi, qword [rbp - 0x10]
movzx eax, byte [rdi + 0x35]
mov byte [rbx + 0xc5], al
mov rax, qword [rdi + 0x20]
mov qword [rbx + 0x80], rax
movzx eax, byte [rdi + 0x39]
cmp byte [rdi + 0x38], al
jae 0x140003cdd
mov byte [0x140127d7e], 0
inc byte [rdi + 0x38]
xor eax, eax
mov dword [rbp + 0x10], eax
mov rax, qword [rdi + 8]
mov qword [rbp], rax
mov qword [rbp + 8], 0xffffffffffffffff
mov byte [rsp + 0x20], 0
mov r9d, 1
lea r8, [rbp]
mov rdx, qword [0x140127ce8]
mov rcx, rdi
call fcn.140093be0
dec byte [rdi + 0x38]
jmp 0x140003cdd
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x140003966
mov ecx, recv
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14000395d
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
mov eax, 2
je 0x140003962
mov eax, 1
xor ebx, ebx
jmp 0x14000396a
xor ebx, ebx
mov eax, ebx
mov edi, 1
mov dword [rbp + 0x10], edi
mov qword [rbp], rax
mov byte [0x140127d40], dil
mov rcx, qword [0x140121a58]
cmp rcx, qword [0x140121a60]
jne 0x140003999
call fcn.140007ba8
mov rcx, qword [0x140121a58]
cmp rcx, qword [0x140121a50]
jb 0x1400039b3
mov rax, qword [0x140127cd8]
mov qword [rcx], rax
mov rcx, qword [0x140121a58]
add rcx, 0x18
mov qword [0x140121a58], rcx
mov qword [rcx], rbx
lea rax, [0x1400fbc38]
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], ebx
mov qword [rsp + 0x20], rbx
mov r9d, edi
mov r8d, edi
lea rdx, [rbp]
lea rcx, [0x140127d10]
call fcn.140093cc0
mov rax, qword [0x140121a58]
sub rax, 0x18
mov qword [0x140121a58], rax
cmp rax, qword [0x140121a50]
jb 0x140003a16
mov rax, qword [rax]
mov qword [0x140121a78], rax
mov qword [0x140127cd8], rax
mov byte [0x140127d40], 0
jmp 0x140003cdd
mov dword [rbp + 0x10], 5
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rdi + 0x10]
mov qword [rbp], rbx
mov rbx, qword [rbx + 0x398]
mov rcx, qword [0x140121a58]
cmp rcx, qword [0x140121a60]
jne 0x140003a59
call fcn.140007ba8
mov rcx, qword [0x140121a58]
cmp rcx, qword [0x140121a50]
jb 0x140003a73
mov rax, qword [0x140127cd8]
mov qword [rcx], rax
mov rcx, qword [0x140121a58]
add rcx, 0x18
mov qword [0x140121a58], rcx
xor eax, eax
mov qword [rcx], rax
lea rdx, str.InputHook
mov qword [rcx + 8], rdx
mov dword [rcx + 0x10], eax
mov byte [rsp + 0x38], al
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9, [rbp]
xor r8d, r8d
mov rdx, rbx
mov rcx, rbx
call fcn.14008c560
mov rax, qword [0x140121a58]
sub rax, 0x18
mov qword [0x140121a58], rax
cmp rax, qword [0x140121a50]
jb 0x140003ae0
mov rax, qword [rax]
mov qword [0x140121a78], rax
mov qword [0x140127cd8], rax
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003cdd
mov dword [rbp + 0x10], 5
mov rdi, qword [rsp + 0x68]
mov r8, qword [rdi + 0x10]
mov qword [rbp], r8
mov r9d, 1
mov dword [rbp + 0x28], r9d
mov rcx, qword [rbp - 0x78]
movzx eax, cl
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x40], r9d
sar rcx, 0x10
movzx eax, cx
mov qword [rbp + 0x30], rax
cmp edx, 0x41c
jne 0x140003b38
mov rbx, qword [r8 + 0x3a0]
jmp 0x140003b3f
mov rbx, qword [r8 + 0x3b0]
mov rcx, qword [0x140121a58]
cmp rcx, qword [0x140121a60]
jne 0x140003b5b
call fcn.140007ba8
mov rcx, qword [0x140121a58]
cmp rcx, qword [0x140121a50]
jb 0x140003b75
mov rax, qword [0x140127cd8]
mov qword [rcx], rax
mov rcx, qword [0x140121a58]
add rcx, 0x18
mov qword [0x140121a58], rcx
xor eax, eax
mov qword [rcx], rax
lea rdx, str.InputHook
mov qword [rcx + 8], rdx
mov dword [rcx + 0x10], eax
mov byte [rsp + 0x38], al
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
lea r9, [rbp]
xor r8d, r8d
mov rdx, rbx
mov rcx, rbx
call fcn.14008c560
mov rax, qword [0x140121a58]
sub rax, 0x18
mov qword [0x140121a58], rax
cmp rax, qword [0x140121a50]
jb 0x140003cdd
mov rax, qword [rax]
mov qword [0x140121a78], rax
mov qword [0x140127cd8], rax
jmp 0x140003cdd
mov rax, qword [rbp - 0x78]
mov word [rbp - 0x20], ax
sar rax, 0x10
mov word [rbp - 0x1e], ax
xor edx, edx
mov word [rbp - 0x1c], dx
mov dword [rbp + 0x10], 5
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rdi + 0x10]
mov qword [rbp], rbx
mov dword [rbp + 0x28], edx
lea rax, [rbp - 0x20]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], 0xffffffffffffffff
mov rbx, qword [rbx + 0x3a8]
mov rcx, qword [0x140121a58]
cmp rcx, qword [0x140121a60]
jne 0x140003c4d
call fcn.140007ba8
mov rcx, qword [0x140121a58]
xor edx, edx
cmp rcx, qword [0x140121a50]
jb 0x140003c67
mov rax, qword [0x140127cd8]
mov qword [rcx], rax
mov rcx, qword [0x140121a58]
add rcx, 0x18
mov qword [0x140121a58], rcx
mov qword [rcx], rdx
lea rax, str.InputHook
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], edx
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 2
lea r9, [rbp]
jmp 0x140003ba8
mov rcx, qword [rbp - 0x18]
movzx eax, byte [rcx + 0x10]
add al, 0x64
cmp al, 3
ja 0x140003cb4
movzx eax, word [rbp - 0x78]
mov qword [rbx + 0x40], rax
mov rax, qword [rbp - 0x58]
mov qword [rbx + 0x38], rax
mov rdi, qword [rbp - 0x50]
movzx eax, byte [rdi + 0x2c]
mov byte [rbx + 0xc5], al
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x80], rax
mov rdx, rdi
call fcn.140018b70
call fcn.140004840
cmp dword [rbp + 0x1278], 0
jne 0x140003cf4
mov esi, dword [rsp + 0x54]
jmp 0x14000237a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [rsp + 0x49], 0
jne 0x140003d11
mov ecx, dword [rbp - 0x44]
sub ecx, eax
add ecx, dword [rbp + 0x1270]
cmp ecx, 5
jg 0x140003d7c
mov dword [0x140127dd8], eax
mov dl, 1
mov byte [rbp + 0x1280], dl
mov byte [rsp + 0x49], dl
mov byte [rbp + 0x1288], r15b
mov rax, qword [0x14011f188]
mov esi, dword [rsp + 0x54]
mov r14d, dword [rsp + 0x40]
mov edi, dword [rsp + 0x44]
xor r10d, r10d
jmp 0x1400018d5
mov rcx, qword [0x14011f188]
mov byte [rcx + 0x7e], 0
jmp 0x140003d5a
mov rcx, qword [0x14011f188]
mov rdx, qword [0x140125af0]
test rdx, rdx
je 0x140003d96
lea r8, [rsp + 0x70]
mov rcx, qword [0x140125b28]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x140003d8f
xor r10d, r10d
mov esi, dword [rsp + 0x54]
mov rax, qword [0x14011f188]
jmp 0x1400018c1
mov rcx, qword [0x14011f188]
mov byte [rcx + 0x7e], 1
mov eax, dword [rsp + 0x78]
mov dword [rcx + 0x78], eax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rax, qword [0x14011f188]
mov byte [rax + 0x7e], 0
mov r14d, dword [rsp + 0x40]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018d5
cmp byte [rsp + 0x4b], 0
mov dword [0x140127dd8], eax
je 0x140003dee
mov byte [0x140125ad7], 0
cmp byte [rsp + 0x4c], 0
je 0x140003e3e
mov eax, dword [0x140125b30]
dec eax
test ebx, ebx
mov dword [0x140125b30], eax
jle 0x140003e3e
test eax, eax
jne 0x140003e3e
cmp dword [0x140127d5c], eax
jne 0x140003e3e
cmp dword [0x140125f8c], eax
jne 0x140003e3e
cmp byte [0x140125ad6], al
je 0x140003e3e
lea edx, [rax + 9]
mov rcx, qword [0x140125b28]
call qword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x140003e3e
mov byte [0x140125ad6], 0
movzx eax, r14b
add rsp, 0x1328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret