Function at 0x140001710
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.1400daca0
sub rsp, rax
mov edi, edx
mov ebx, ecx
mov byte [rsp + 0x5c], 0
mov r14d, 1
cmp edx, 2
jne 0x14000176c
mov edi, r14d
mov dword [rbp + 0x1278], r14d
cmp byte [0x140125a27], 0
jne 0x14000176c
mov byte [0x140125a27], dil
mov byte [rsp + 0x5c], dil
xor ecx, ecx
cmp ebx, 0x8000012f
jne 0x14000178f
mov ebx, 0xa
mov dword [rbp + 0x1270], ebx
mov byte [rsp + 0x48], r14b
mov dword [rsp + 0x4c], ebx
mov dword [rbp - 0x44], ecx
jmp 0x1400017ab
cmp ebx, 5
setle byte [rsp + 0x48]
mov dword [rsp + 0x4c], ebx
jg 0x1400017a2
mov dword [rbp - 0x44], ecx
jmp 0x1400017ab
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x44], eax
cmp dword [0x140125ec0], 0
je 0x1400017b9
call fcn.140004260
xor sil, sil
mov dword [rsp + 0x50], esi
cmp dword [0x140127c5c], 0
je 0x1400017dc
call fcn.140003f50
movzx esi, sil
test al, al
cmovne esi, r14d
mov dword [rsp + 0x50], esi
test ebx, ebx
jle 0x14000181d
cmp edi, r14d
jne 0x14000181d
mov byte [rsp + 0x5d], r14b
inc dword [0x140125a6c]
cmp byte [0x140125a26], 0
jne 0x140001822
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
mov rcx, qword [0x140125a70]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x140125a26]
jmp 0x140001822
mov byte [rsp + 0x5d], 0
xor r15b, r15b
mov byte [rbp + 0x1288], r15b
xor dl, dl
mov byte [rbp + 0x1280], dl
xor r11d, r11d
mov dword [rsp + 0x44], r11d
mov r12, qword [rbp + 0x1280]
mov r13, qword [rbp + 0x1280]
mov rax, qword [rbp + 0x1280]
mov qword [rsp + 0x68], rax
mov ecx, dword [rbp + 0x1270]
mov dword [rbp - 0x48], ecx
movzx eax, byte [rbp + 0x1270]
mov qword [rbp - 0x20], rax
mov r9d, dword [rbp + 0x1270]
mov dword [rsp + 0x60], r9d
movzx r9d, byte [rbp + 0x1270]
mov byte [rsp + 0x54], r9b
movzx eax, byte [rbp + 0x1270]
mov byte [rsp + 0x40], al
mov rax, qword [rbp + 0x1280]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x1280]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x1280]
mov qword [rbp - 0x38], rax
mov rdi, qword [rbp + 0x1280]
mov qword [rsp + 0x70], rdi
mov rax, qword [rbp + 0x1280]
mov qword [rbp - 0x10], rax
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x50], rcx
mov edi, r11d
mov r14d, dword [rsp + 0x4c]
mov eax, 1
test r14d, r14d
jle 0x140001990
test dl, dl
jne 0x140001990
nop
cmp byte [0x140125a27], 0
jne 0x14000199d
cmp dword [0x14011f180], 0
je 0x14000195a
cmp dword [0x140125a2c], 0
jne 0x14000195a
cmp dword [0x140125a3c], 0
je 0x14000195d
mov rcx, qword [0x14011f188]
cmp byte [rcx + 0x7f], 0
jne 0x14000194d
cmp dword [rcx + 0x70], 0xffffffff
jle 0x14000194d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011f188]
sub eax, dword [rcx + 0x74]
xor r11d, r11d
cmp eax, dword [rcx + 0x70]
jb 0x14000194d
cmp dword [rcx + 0x6c], r11d
je 0x14000194d
mov byte [rcx + 0x7f], 1
mov rax, qword [0x14011f188]
movzx eax, byte [rax + 0x7f]
jmp 0x14000195d
mov eax, r11d
mov r9d, 0x311
test eax, eax
cmovne r9d, r11d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
mov eax, 1
lea r11d, [rax - 1]
je 0x1400018f0
jmp 0x140001c25
cmp byte [0x140125a27], 0
je 0x140001b63
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140001b60
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140127508]
jne 0x140001b60
cmp dword [0x140125a68], 0
je 0x140001a17
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x120]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
xor edi, edi
mov eax, edi
lea rdx, [rbp + 0x120]
lea r8, str.32770
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x140001a19
cmp rax, 7
jne 0x140001a00
jmp 0x140001a70
xor edi, edi
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x140001b60
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.1400c1404
test eax, eax
je 0x140001a70
lea rdx, str.SysListView32
lea rcx, [rbp + 0x120]
call fcn.1400c1404
test eax, eax
jne 0x140001b60
cmp dword [0x14011f180], 0
je 0x140001aca
cmp dword [0x140125a2c], 0
jne 0x140001aca
cmp dword [0x140125a3c], 0
jne 0x140001a92
mov eax, 1
jmp 0x140001acc
mov rcx, qword [0x14011f188]
cmp byte [rcx + 0x7f], 0
jne 0x140001ac4
cmp dword [rcx + 0x70], 0xffffffff
jle 0x140001ac4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011f188]
sub eax, dword [rcx + 0x74]
cmp eax, dword [rcx + 0x70]
jb 0x140001ac4
cmp dword [rcx + 0x6c], 0
je 0x140001ac4
mov byte [rcx + 0x7f], 1
movzx eax, byte [rcx + 0x7f]
jmp 0x140001acc
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 + 0x78]
call qword [sym.imp.USER32.dll_PeekMessageW]
mov r9d, ebx
xor edx, edx
mov r8d, 0x20f
lea rcx, [rsp + 0x78]
test eax, eax
je 0x140001be2
mov edi, dword [rbp - 0x68]
xor eax, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001b2b
mov r9d, 0x1ff
jmp 0x140001bd8
mov eax, dword [rbp - 0x68]
sub eax, edi
xor edx, edx
lea rcx, [rsp + 0x78]
test eax, eax
mov eax, 1
mov dword [rsp + 0x20], eax
jle 0x140001b52
mov r9d, 0x1ff
xor r8d, r8d
jmp 0x140001beb
mov r9d, ebx
mov r8d, 0x20f
jmp 0x140001beb
xor r11d, r11d
cmp dword [0x14011f180], 0
je 0x140001bc4
cmp dword [0x140125a2c], 0
jne 0x140001bc4
cmp dword [0x140125a3c], 0
jne 0x140001b85
mov eax, 1
jmp 0x140001bc7
mov rcx, qword [0x14011f188]
cmp byte [rcx + 0x7f], 0
jne 0x140001bb7
cmp dword [rcx + 0x70], 0xffffffff
jle 0x140001bb7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011f188]
sub eax, dword [rcx + 0x74]
cmp eax, dword [rcx + 0x70]
jb 0x140001bb7
cmp dword [rcx + 0x6c], 0
je 0x140001bb7
mov byte [rcx + 0x7f], 1
mov rax, qword [0x14011f188]
movzx eax, byte [rax + 0x7f]
jmp 0x140001bc7
mov eax, r11d
mov r9d, 0x311
test eax, eax
mov eax, 0
cmovne r9d, eax
xor r8d, r8d
lea rcx, [rsp + 0x78]
xor edx, edx
mov eax, 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001c21
test r14d, r14d
jne 0x14000221b
test r15b, r15b
jne 0x14000221b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r15b, 1
mov byte [rbp + 0x1288], r15b
xor r11d, r11d
jmp 0x140001990
mov edi, dword [rsp + 0x44]
inc edi
mov dword [rsp + 0x44], edi
mov r8d, dword [0x140127520]
test r8d, r8d
je 0x140001d03
mov rdi, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x78]
mov ebx, dword [rbp - 0x80]
mov r14, qword [rsp + 0x78]
xor r15b, r15b
lea rax, [0x140127510]
mov qword [rbp + 0x50], rax
mov rax, qword [0x140127518]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x64], r8d
mov byte [rbp + 0x68], r15b
lea rax, [rbp + 0x50]
mov qword [0x140127518], rax
xor eax, eax
mov edx, eax
mov dword [rbp + 0x60], eax
test r8d, r8d
jle 0x140001cdd
movsxd rcx, edx
add rcx, rcx
mov rax, qword [0x140127510]
cmp dword [rax + rcx*8 + 8], ebx
jne 0x140001cce
lea rax, [rbp + 0x110]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
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.140004480
test al, al
jne 0x140001cda
mov r8d, dword [rbp + 0x64]
mov edx, dword [rbp + 0x60]
inc edx
mov dword [rbp + 0x60], edx
cmp edx, r8d
jge 0x140001cdd
jmp 0x140001c83
mov r15b, 1
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x50]
mov qword [rax + 8], rcx
test r15b, r15b
jne 0x1400022a2
movzx r15d, byte [rbp + 0x1288]
mov esi, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x4c]
cmp qword [0x140125a78], 0
je 0x140001f23
mov eax, dword [rbp - 0x80]
add eax, 0xffffff00
cmp eax, 9
ja 0x140001f23
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140002210
mov edx, 0xffffffe0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassLongW]
cmp ax, word [0x140128040]
jne 0x140001d5d
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
jne 0x140001d86
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140002210
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jmp 0x140001d2a
mov rdi, qword [rsp + 0x78]
mov rdx, qword [rax + 0x78]
test rdx, rdx
je 0x140001dab
lea r8, [rsp + 0x78]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400022a2
cmp dword [rbp - 0x80], 0x100
jne 0x140001eae
cmp byte [r12 + 0x108], 0
je 0x140001e2f
mov rbx, qword [rbp - 0x78]
cmp rbx, 0x27
ja 0x140001e2f
movabs rax, 0xa600000200
bt rax, rbx
jae 0x140001e2f
mov rbx, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, dword [r12 + 0xa8]
jae 0x140001e09
mov rdx, qword [r12 + 0x50]
mov r13, qword [rdx + rax*8]
cmp qword [r13 + 0x28], rbx
je 0x140001ff2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
je 0x140001e21
cmp rax, qword [r12 + 0x30]
jne 0x140001de0
xor eax, eax
mov r13d, eax
cmp dword [rbp - 0x80], 0x100
jne 0x140001eae
mov rbx, qword [rbp - 0x78]
cmp rbx, 0x1b
je 0x140001e65
cmp rbx, 9
je 0x140001e65
cmp rbx, 0x41
jne 0x140001eae
lea ecx, [rbx - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x140001eae
lea ecx, [rbx + 0x64]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140001eae
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, dword [r12 + 0xa8]
jae 0x140001e91
mov rdx, qword [r12 + 0x50]
mov r13, qword [rdx + rax*8]
mov rcx, qword [r13 + 0x28]
cmp rcx, rdi
je 0x14000215c
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
je 0x140001ea9
cmp rax, qword [r12 + 0x30]
jne 0x140001e65
xor eax, eax
mov r13d, eax
mov rcx, qword [0x140127288]
test rcx, rcx
je 0x140001edb
cmp dword [rbp - 0x80], 0x100
jne 0x140001edb
mov rbx, qword [rbp - 0x78]
cmp rbx, 0xd
je 0x1400023b9
cmp rbx, 0x1b
je 0x140002394
cmp dword [r12 + 0xa8], 0
jne 0x140001eef
cmp dword [rbp - 0x80], 0x106
je 0x140001f23
mov rcx, qword [0x14011f188]
mov byte [rcx + 0x7e], 1
mov eax, dword [rbp - 0x80]
mov dword [rcx + 0x78], eax
lea rdx, [rsp + 0x78]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
mov rcx, qword [0x14011f188]
mov byte [rcx + 0x7e], 0
test eax, eax
jne 0x1400022e2
xor r11d, r11d
mov eax, dword [rbp - 0x80]
cmp eax, 0x402
ja 0x140002553
je 0x14000258e
cmp eax, 0x113
ja 0x140002470
jne 0x1400023dd
cmp qword [rbp - 0x70], 0
jne case.0x140002575.1046
mov rax, qword [0x140125a70]
cmp qword [rsp + 0x78], rax
jne case.0x140002575.1046
cmp dword [0x140125ec0], 0
je 0x140001f76
call fcn.140004260
cmp dword [0x140127c5c], 0
je 0x140001f96
call fcn.140003f50
movzx esi, sil
test al, al
mov eax, 1
cmovne esi, eax
mov dword [rsp + 0x50], esi
cmp dword [rbp + 0x1278], 0
je 0x1400022e2
cmp r14d, 1
jl 0x1400022e2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [rbp + 0x1270]
cmp byte [rsp + 0x48], 0
jne 0x140003d64
mov ecx, dword [rbp - 0x44]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jle 0x140003d64
mov byte [rbp + 0x1288], r15b
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
lea eax, [r11 + 1]
jmp 0x1400018e7
cmp eax, 0x2af8
je 0x140001e21
test r13, r13
je 0x140001e26
movzx eax, byte [r13 + 0x50]
cmp al, 0xf
je 0x140001e26
xor r11d, r11d
mov ebx, r11d
cmp al, 0x13
jne 0x140002034
mov rbx, r13
mov rax, qword [rbp - 0x78]
add rax, 0xffffffffffffffdb
test rax, 0xfffffffffffffffd
je 0x1400022c6
mov rax, qword [rbp - 0x78]
add rax, 0xffffffffffffffdb
test rax, 0xfffffffffffffffd
je 0x140001e26
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x140001e26
cmp qword [rbp - 0x78], 9
jne 0x140002083
cmp byte [r13 + 0x50], 0xc
jne 0x140002083
mov edx, 0xfffffff0
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x140001e26
test rbx, rbx
jne 0x14000211a
movzx r9d, byte [r13 + 0x52]
xor r11d, r11d
cmp r9b, 0xff
je 0x1400020d7
xor dl, dl
mov ecx, r11d
mov r8d, dword [r12 + 0xa8]
test r8d, r8d
je 0x1400020d7
mov r10, qword [r12 + 0x50]
mov eax, ecx
mov rbx, qword [r10 + rax*8]
cmp byte [rbx + 0x50], 0x13
jne 0x1400020c4
cmp dl, r9b
je 0x1400020d2
inc dl
inc ecx
cmp ecx, r8d
jb 0x1400020b1
xor dl, dl
mov ecx, r11d
jmp 0x1400020ed
test rbx, rbx
jne 0x14000211a
xor dl, dl
mov ecx, r11d
mov r8d, dword [r12 + 0xa8]
test r8d, r8d
je 0x140001e26
mov r9, qword [r12 + 0x50]
mov eax, ecx
mov rbx, qword [r9 + rax*8]
cmp byte [rbx + 0x50], 0x13
jne 0x140002104
test dl, dl
je 0x140002111
inc dl
inc ecx
cmp ecx, r8d
jae 0x140001e26
jmp 0x1400020f2
test rbx, rbx
je 0x140001e26
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140001e26
mov rax, qword [rbp - 0x78]
cmp rax, 0x22
je 0x1400022f5
cmp rax, 9
jne 0x140002154
lea ecx, [rax + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1400022f5
xor r8d, r8d
jmp 0x1400022f8
cmp eax, 0x2af8
je 0x140001ea9
test r13, r13
je 0x140001eae
cmp byte [r13 + 0x50], 0xc
jne 0x140001eae
mov rbx, qword [rbp - 0x78]
cmp rbx, 0x1b
je 0x14000231e
movzx eax, byte [r13 + 0x51]
cmp rbx, 0x41
je 0x1400021e0
test al, al
jns 0x140001eae
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0xb
jb 0x140001eae
lea r9, [0x1400fcbb4]
mov edx, 0xc2
mov r8d, 1
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
test al, 2
jne 0x140001eae
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
xor r11d, r11d
mov r12d, r11d
jmp 0x140001f26
mov edi, dword [rsp + 0x44]
test edi, edi
jne 0x140002252
cmp byte [rsp + 0x48], dil
je 0x140002252
test r14d, r14d
jle 0x140002238
lea ecx, [rdi + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov edi, eax
mov dword [rsp + 0x44], eax
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018de
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [rbp + 0x1270]
cmp byte [rsp + 0x48], 0
jne 0x140003d64
mov ecx, dword [rbp - 0x44]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jle 0x140003d64
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x44], edi
mov byte [rbp + 0x1288], r15b
mov dword [rsp + 0x50], esi
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
movzx r15d, byte [rbp + 0x1288]
mov esi, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
cmp qword [rbp - 0x78], 0x27
sete r8b
mov byte [rsp + 0x20], r11b
xor r9d, r9d
mov rdx, r13
mov rcx, r12
call fcn.140089e50
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
mov r8b, 1
mov byte [rsp + 0x20], 1
mov r9b, 1
mov rdx, rbx
mov rcx, r12
call fcn.140089e50
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
xor r11d, r11d
mov ecx, r11d
movsxd rdx, dword [r12 + 0xa0]
test edx, edx
jle 0x14000290f
mov rax, qword [r12 + 0x90]
add rax, 0xe
cmp dword [rax - 6], 3
jne 0x14000234b
cmp byte [rax], r11b
je 0x14000235d
inc rcx
add rax, 0x10
cmp rcx, rdx
jge 0x140003d24
jmp 0x140002340
xor r9d, r9d
mov edx, 0x414
mov r8d, 0x2af80003
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [rsp + 0x44]
mov byte [rbp + 0x1288], r15b
mov dword [rsp + 0x50], esi
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
xor r9d, r9d
mov edx, 0x1116
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1116
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
mov eax, dword [rbp - 0x80]
cmp eax, 0x12
je 0x14000244c
cmp eax, 0x4b
je 0x140002434
cmp eax, 0x100
jne case.0x140002575.1046
mov rax, qword [0x140125a48]
cmp qword [rsp + 0x78], rax
jne case.0x140002575.1046
cmp qword [rbp - 0x78], 0x1b
jne case.0x140002575.1046
xor edx, edx
mov rcx, qword [0x140125a70]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
mov qword [0x140125a50], r11
mov dl, 1
mov byte [rbp + 0x1280], dl
mov edi, dword [rsp + 0x44]
jmp 0x1400018d9
mov edx, 4
lea rcx, [0x140127530]
call fcn.140046bc0
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
mov eax, dword [rbp - 0x80]
sub eax, 0x312
je 0x14000258e
sub eax, 0xee
je case.0x140002575.1045
cmp eax, 1
je case.0x140002575.1045
xor edi, edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140003cf8
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140127508]
jne 0x140003cf8
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]
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140003cf8
cmp rcx, 7
jne 0x1400024f0
mov rcx, qword [0x14011f188]
mov byte [rcx + 0x7e], 1
mov eax, dword [rbp - 0x80]
mov dword [rcx + 0x78], eax
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x140003ceb
mov rax, qword [0x14011f188]
mov byte [rax + 0x7e], 0
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
mov eax, dword [rbp - 0x80]
add eax, 0xfffffbec
cmp eax, 0xa
ja case.0x140002575.1046
lea rbx, [0x140000000]
mov ecx, dword [rbx + rax*4 + 0x3df4]
add rcx, rbx
jmp rcx
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14000258e
cmp rbx, qword [0x140125a70]
jne case.0x140002575.1046
lea rbx, [0x140000000]
mov r14, r11
mov eax, dword [rbp - 0x80]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x1400025bb.1031
movzx eax, byte [rbx + rax + 0x3e3c]
mov ecx, dword [rbx + rax*4 + 0x3e20]
add rcx, rbx
jmp rcx
mov rbx, qword [rsp + 0x78]
mov edx, 0xffffffe0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassLongW]
cmp ax, word [0x140128040]
je 0x1400025e3
xor edi, edi
mov r12d, edi
jmp 0x140002494
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
je case.0x140002575.1046
mov r8, qword [rbp - 0x70]
mov qword [rsp + 0x68], r8
mov rcx, qword [rbp - 0x78]
movzx r10d, cl
mov dword [rbp - 0x48], r10d
mov r11, rcx
shr r11, 8
mov qword [rbp - 0x20], r11
shr rcx, 0x10
movzx edx, cx
xor r11d, r11d
mov dword [rsp + 0x58], r11d
mov dword [rsp + 0x60], r10d
cmp edx, dword [rax + 0xa8]
jae 0x140002643
mov rax, qword [rax + 0x50]
mov r13, qword [rax + rdx*8]
jmp 0x140002646
mov r13, r11
lea rbx, [r12 + 0x90]
mov byte [rsp + 0x54], r11b
xor dil, dil
mov byte [rsp + 0x40], dil
lea eax, [r10 - 1]
cmp eax, 0x10
ja case.0x140002676.6
lea r9, [0x140000000]
mov ecx, dword [r9 + rax*4 + 0x3e5c]
add rcx, r9
jmp rcx
mov r14, qword [r12 + 0x60]
test r14, r14
je 0x14000290f
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 + 0x68], r8
test eax, eax
jne 0x1400026f5
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r11d, r11d
mov qword [r12 + 0x60], r11
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d4
mov byte [rsp + 0x40], 2
mov dword [rsp + 0x60], r8d
test r13, r13
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
je 0x1400018d4
lea rbx, [r13 + 0x38]
mov byte [rsp + 0x54], 1
movzx edi, byte [rsp + 0x40]
jmp case.0x140002676.2
xor r11d, r11d
test rbx, rbx
je case.0x140002676.5
mov rdx, qword [rbx + 8]
test rdx, rdx
je case.0x140002676.5
cmp byte [rdx + 0x18], 0
jne 0x140002731
movsxd rcx, dword [rdx + 0x10]
add rcx, rcx
mov rax, qword [rbx]
mov r9d, dword [rsp + 0x60]
cmp dword [rax + rcx*8 + 8], r9d
jne 0x140002731
cmp byte [rax + rcx*8 + 0xe], dil
je 0x140002737
mov rdx, qword [rdx + 8]
jmp 0x140002705
test r14, r14
je 0x14000274d
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r11d, r11d
mov qword [r12 + 0x60], r11
mov dword [rsp + 0x50], esi
mov byte [rbp + 0x1288], r15b
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d4
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x1400027c7
mov edx, 0xffffffe0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassLongW]
cmp ax, word [0x140128040]
je 0x140002790
xor r11d, r11d
mov r12d, r11d
jmp 0x1400027a9
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
jne 0x1400027c2
xor r11d, r11d
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400027c2
cmp rax, qword [0x140125a70]
jne case.0x140002575.1046
jmp 0x1400027ca
xor r11d, r11d
jmp 0x1400027ca
mov r12, r11
mov rcx, qword [0x140127c60]
test rcx, rcx
je 0x14000280b
mov rax, qword [rbp - 0x70]
nop word [rax + rax]
mov rsi, qword [rcx + 0x20]
mov qword [rbp - 0x40], rsi
test rsi, rsi
je 0x140002802
nop dword [rax]
cmp dword [rsi + 0x28], eax
je 0x140002823
mov rsi, qword [rsi + 0x38]
mov qword [rbp - 0x40], rsi
test rsi, rsi
jne 0x1400027f0
mov rcx, qword [rcx + 0x38]
test rcx, rcx
jne 0x1400027e0
mov qword [rbp - 0x40], r11
mov esi, dword [rsp + 0x50]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d4
cmp qword [rsi + 0x10], 0
je 0x140002841
mov edi, dword [rsi + 0x2c]
jmp 0x140002c15
mov eax, dword [0x140125e9c]
mov rbx, qword [rbp - 0x78]
cmp rbx, rax
jb 0x140002855
mov esi, dword [rsp + 0x50]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d4
mov rax, qword [0x140125eb8]
mov rdi, qword [rax + rbx*8]
mov qword [rbp - 8], rdi
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140002899
mov rdx, qword [rdi + 8]
call fcn.140017e50
mov qword [rbp - 0x38], rax
test rax, rax
je 0x14000253b
mov rcx, qword [rdi + 0x20]
movzx edx, byte [rcx]
dec dl
test dl, 0xfd
je 0x14000289d
xor eax, eax
mov qword [rbp - 0x38], rax
jmp 0x14000289d
mov qword [rbp - 0x38], r11
mov rdx, qword [rbp - 0x70]
mov rcx, rdi
call fcn.14001b640
cmp qword [rdi + 0x18], 0
jne 0x14000253b
xor r11d, r11d
cmp byte [rdi + 0x3e], r11b
je 0x1400028d0
movzx eax, word [rbp - 0x70]
mov word [0x140127c7c], ax
mov edi, dword [rdi + 0x28]
jmp 0x140002c11
mov word [0x140127c7c], r11w
mov edi, dword [rdi + 0x28]
jmp 0x140002c11
cmp byte [0x140127c40], 0
jne 0x14000290f
mov edi, r11d
jmp 0x140002c11
mov rbx, qword [rbp - 0x78]
mov qword [rsp + 0x70], rbx
mov rcx, rbx
call fcn.14002cdf0
test rax, rax
jne 0x14000291f
xor r11d, r11d
mov qword [rsp + 0x70], r11
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d4
cmp qword [rbx + 0x10], 0
je 0x140002907
cmp qword [0x140125a60], 0
jne 0x140002947
cmp dword [0x140125ed0], 0
jne 0x140002947
test byte [0x140125e87], 1
jne 0x140002947
call fcn.1400181a0
mov rcx, qword [rbx + 0x10]
cmp qword [rcx + 0x398], 0
je 0x140002964
xor r11d, r11d
mov edi, r11d
mov rsi, qword [rbp - 0x40]
jmp 0x140002c1a
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
cmp dword [0x140125a3c], 0
jne 0x140002907
lea rcx, [0x140127530]
call fcn.1400467a0
test al, al
jne 0x140002907
mov edx, 6
lea rcx, [0x140127530]
call fcn.140046bc0
xor r11d, r11d
mov qword [rsp + 0x70], r11
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d4
mov rbx, qword [0x140125a60]
mov qword [rsp + 0x70], rbx
test rbx, rbx
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
je 0x1400018d4
nop dword [rax]
movzx ecx, r15b
movzx edx, sil
cmp rbx, qword [rbp - 0x78]
je 0x1400029f8
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x70], rbx
test rbx, rbx
jne 0x1400029d0
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d4
mov rax, qword [rbx + 0x10]
cmp dword [rbp - 0x80], 0x41c
jne 0x140002a0e
mov rax, qword [rax + 0x3a0]
jmp 0x140002a27
cmp dword [rbp - 0x80], 0x41e
jne 0x140002a20
mov rax, qword [rax + 0x3b0]
jmp 0x140002a27
mov rax, qword [rax + 0x3a8]
mov dword [rsp + 0x50], esi
mov byte [rbp + 0x1288], cl
test rax, rax
je 0x14000290f
mov edi, r11d
movzx eax, dl
mov dword [rsp + 0x50], eax
mov byte [rbp + 0x1288], cl
mov rsi, qword [rbp - 0x40]
jmp 0x140002c1a
mov rbx, qword [rbp - 0x78]
movzx eax, bx
mov ecx, 0x7fff
and ax, cx
cmp ax, word [0x140125ed8]
jae 0x14000290f
movzx ecx, ax
mov rax, qword [0x140125ec8]
mov r9, qword [rax + rcx*8]
mov qword [rbp - 0x10], r9
shr rbx, 0x10
test bx, bx
je 0x140002ab7
mov r10d, 0xffff
add bx, r10w
mov r8, qword [r9 + 0x28]
mov qword [rbp - 0x50], r8
je 0x140002aae
nop
mov r8, qword [r8 + 0x18]
add bx, r10w
jne 0x140002aa0
mov qword [rbp - 0x50], r8
test r8, r8
jne 0x140002ba4
cmp dword [rbp - 0x80], 0x400
jne 0x140002ada
mov rax, qword [rbp - 0x70]
shr rax, 0x10
movzx ecx, ax
lea esi, [rcx + 0x3c2bb3]
mov edi, WSAAsyncSelect
sub edi, ecx
jmp 0x140002ae2
mov esi, r11d
mov edi, 0x3c2c17
cmp byte [r9 + 0x19], 0
jne 0x140002b01
mov qword [rbp - 0x50], r11
mov esi, dword [rsp + 0x50]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d4
mov qword [rbp - 0x38], r11
mov rbx, r11
mov r8, qword [r9 + 0x28]
mov qword [rbp - 0x50], r8
test r8, r8
je 0x140002b81
cmp byte [r8 + 0x30], 0
je 0x140002b6e
cmp byte [0x140125d45], 0
je 0x140002b2c
cmp byte [r8 + 0x31], 0
je 0x140002b6e
cmp edi, 0x66
lea ecx, [rsi - 0x3c2bb3]
jbe 0x140002b3c
mov ecx, reloc.WSOCK32.dll_WSAAsyncSelect
movzx eax, byte [r8 + 0x2c]
cmp ecx, eax
jle 0x140002b6e
mov rcx, qword [r8 + 0x10]
test rcx, rcx
je 0x140002b64
mov rdx, qword [r9 + 0x20]
call fcn.140017e50
mov qword [rbp - 0x38], rax
mov r8, qword [rbp - 0x50]
test rax, rax
je 0x140002b6e
cmp qword [r8 + 0x10], 0
jne 0x140002b88
mov rbx, r8
mov r8, qword [r8 + 0x18]
mov qword [rbp - 0x50], r8
test r8, r8
je 0x140002b81
mov r9, qword [rbp - 0x10]
jmp 0x140002b15
mov r8, rbx
mov qword [rbp - 0x50], rbx
xor r11d, r11d
test r8, r8
jne 0x140002ba4
mov esi, dword [rsp + 0x50]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d4
movzx eax, byte [r8 + 0x2b]
cmp byte [r8 + 0x2a], al
jb 0x140002be4
cmp byte [r8 + 0x2e], 0
je 0x140002bbb
mov byte [r8 + 0x2f], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbp - 0x50]
mov dword [rcx + 0x20], eax
mov esi, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
mov rax, qword [r8 + 0x10]
test rax, rax
je 0x140002c09
movzx ecx, byte [rax]
lea eax, [rcx - 2]
test al, 0xfd
je 0x140002c09
cmp cl, 5
jne 0x140002c0d
mov rax, qword [0x140125a58]
mov qword [rbp - 0x38], rax
jmp 0x140002c0d
mov qword [rbp - 0x38], r11
mov edi, dword [r8 + 0x24]
mov rsi, qword [rbp - 0x40]
mov rbx, qword [rsp + 0x70]
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
cmp dword [0x140125a3c], eax
jl 0x140002c71
test r14, r14
je 0x140002c3e
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r11d, r11d
mov qword [r12 + 0x60], r11
cmp dword [rbp - 0x80], 0x41b
jne 0x140002841
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov esi, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018d9
mov rax, qword [0x14011f188]
cmp edi, dword [rax + 0x68]
jge 0x140002cb0
test r14, r14
je 0x140002c93
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r11d, r11d
mov qword [r12 + 0x60], r11
cmp dword [rbp - 0x80], 0x41b
je 0x140002c4b
mov esi, dword [rsp + 0x50]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d4
mov al, 1
mov dword [rsp + 0x50], eax
mov eax, dword [rbp - 0x80]
add eax, 0xfffffbfe
cmp eax, 0x1c
ja case.0x140002cdc.1027
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x3ea8]
mov ecx, dword [rdx + rax*4 + 0x3ea0]
add rcx, rdx
jmp rcx
mov rax, qword [0x140127be8]
mov qword [0x140127bf0], rax
mov eax, dword [0x140127c74]
mov dword [0x140127c78], eax
cmp dword [rbp - 0x80], 0x401
jne 0x140002d0b
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
jmp 0x140002d13
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x20]
mov qword [0x140127be8], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140127c74], eax
xor r11d, r11d
inc dword [0x140125a3c]
mov rbx, qword [0x14011f188]
add rbx, 0xc8
mov qword [0x14011f188], rbx
mov rax, qword [0x140125a30]
test rax, rax
lea rcx, [rax + 0x80]
jne 0x140002d5a
mov rcx, r11
test rbx, rbx
lea rax, [rbx + 0x80]
jne 0x140002d69
mov rax, r11
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, [0x140127530]
call fcn.140045f00
movzx eax, byte [rbx + 0xc2]
test al, al
jne 0x140002dd9
mov byte [rbx + 0xc2], al
cmp dword [0x140127cd4], 0
je 0x140002deb
cmp dword [0x140127cd0], 0
jne 0x140002def
test al, al
je 0x140002e1b
mov byte [rbx + 0x7f], 0
test al, al
jne 0x140002e1b
cmp dword [0x140127cd4], 0
jge 0x140002e09
mov dword [rbx + 0x70], 0xffffffff
jmp 0x140002e1b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x74], eax
mov eax, dword [0x140127cd4]
mov dword [rbx + 0x70], eax
mov rbx, qword [0x14011f188]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140127cd8], eax
mov edx, dword [rbp - 0x80]
lea eax, [rdx - 0x401]
cmp eax, 0x1d
ja case.0x140002e5b.1032
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x3ee8]
mov ecx, dword [r8 + rax*4 + 0x3ec8]
add rcx, r8
jmp rcx
movzx edx, byte [rsp + 0x54]
test dl, dl
jne 0x140002e70
cmp qword [r12 + 0x88], r12
je 0x140002e9d
movsxd rbx, dword [rsp + 0x58]
lea rcx, [rbx + rbx*2]
inc ebx
mov dword [rsp + 0x58], ebx
mov dword [rbp + rcx*8 + 0x90], 5
mov rax, r12
test dl, dl
cmovne rax, r13
mov qword [rbp + rcx*8 + 0x80], rax
jmp 0x140002ea1
mov ebx, dword [rsp + 0x58]
mov edi, dword [rbp - 0x48]
lea eax, [rdi - 1]
cmp eax, 0x10
ja case.0x140002ebb.6
mov ecx, dword [r8 + rax*4 + 0x3f08]
add rcx, r8
jmp rcx
mov rax, qword [rbp - 0x64]
mov qword [rbp - 0x58], rax
mov rsi, qword [rbp - 0x20]
test r13, r13
je 0x140003087
test sil, sil
je 0x140002fe1
mov dword [rbp - 0x30], 0x80000000
movzx ecx, byte [r13 + 0x50]
sub ecx, 9
je 0x140002f65
sub ecx, 1
je 0x140002f35
sub ecx, 1
je 0x140002f09
cmp ecx, 6
jne 0x140002f96
xor r8d, r8d
mov edx, 0x419
jmp 0x140002f88
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 0x140002f96
mov qword [rbp - 0x30], rax
mov edx, 0x1104
mov r8d, 1
jmp 0x140002f88
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 0x140002f96
mov dword [rbp - 0x30], 2
mov edx, 0x100e
jmp 0x140002f88
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 0x140002f96
mov r8, rax
mov edx, 0x198
lea r9, [rbp - 0x30]
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r13 + 0x28]
cmp dword [rbp - 0x30], 0x80000000
jne 0x140002faf
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x140002fc1
mov r9d, 2
lea r8, [rbp - 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x58], eax
mov eax, dword [rbp - 0x24]
mov ecx, dword [rbp - 0x2c]
sub eax, ecx
jns 0x140002fd3
inc eax
sar eax, 1
add eax, 2
add eax, ecx
mov dword [rbp - 0x54], eax
mov rax, qword [rbp - 0x64]
movzx edx, byte [r13 + 0x50]
sub edx, 9
je 0x14000307a
sub edx, 1
je 0x140003050
cmp edx, 1
jne 0x140003087
mov rcx, qword [r13 + 0x28]
test sil, sil
je 0x140003022
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
mov qword [rsp + 0x68], rax
jmp 0x14000308c
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 + 0x68], rax
jmp 0x14000308c
test sil, sil
je 0x140003087
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 + 0x68], rdi
jmp 0x14000308c
xor r9d, r9d
xor r8d, r8d
mov edx, OleCreatePictureIndirect
jmp 0x140003064
mov rdi, qword [rsp + 0x68]
lea rdx, [rbp - 0x58]
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 0x1400030c0
mov rax, r13
lea ecx, [rbx + 5]
jmp 0x1400030d1
mov qword [rdx + 8], 0xffffffffffffffff
lea rax, [0x1400fcb50]
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 - 0x58]
mov qword [rbp + rcx*8 + 0x80], rax
movsxd rax, r14d
lea rcx, [rax + rax*2]
inc r14d
mov dword [rsp + 0x58], r14d
mov dword [rbp + rcx*8 + 0x90], edx
movsxd rax, dword [rbp - 0x54]
mov qword [rbp + rcx*8 + 0x80], rax
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
jmp 0x14000350a
mov rax, qword [rbp - 0x64]
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x58]
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 0x1400031bd
mov r8, r13
lea r9d, [rsi + 5]
jmp 0x1400031d7
lea rax, [rcx + rcx*2]
mov qword [rbp + rax*8 + 0x88], 0xffffffffffffffff
lea r8, [0x1400fcb50]
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.14007dab0
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 0x140003244
mov r8d, dword [0x14012750c]
mov edx, 0x60
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x140003247
mov eax, dword [rbp - 0x58]
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 + 0x58], edi
cmp byte [r12 + 0x112], 0
je 0x14000328d
mov r8d, dword [0x14012750c]
mov edx, 0x60
mov ecx, dword [rbp - 0x54]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x140003290
mov eax, dword [rbp - 0x54]
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 0x140003381
cmp edi, 4
jne 0x1400034f0
movsxd r14, dword [rsp + 0x58]
lea rcx, [r14 + r14*2]
inc r14d
mov esi, 1
mov dword [rbp + rcx*8 + 0x90], esi
movsx rax, byte [rbp - 0x20]
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 + 0x68]
movzx eax, di
cmp byte [r12 + 0x112], 0
je 0x140003324
mov r8d, dword [0x14012750c]
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 + 0x58], r14d
mov rax, rdi
shr rax, 0x10
movzx eax, ax
cmp byte [r12 + 0x112], 0
je 0x14000336f
mov r8d, dword [0x14012750c]
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 + 0x40]
mov esi, dword [rsp + 0x60]
cmp byte [rsp + 0x54], 0
je 0x14000357b
lea rcx, [r13 + 0x38]
lea rbx, [r12 + 0x90]
jmp 0x140003586
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
mov r14d, dword [rsp + 0x58]
jmp 0x140003381
cmp byte [r13 + 0x50], 0x17
jne 0x140003486
cmp edi, 7
jne 0x140003486
mov dword [rbp + 0x160], shutdown
mov rdi, qword [rsp + 0x68]
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 0x14000340f
movzx edx, word [rbp + 0x170]
movsxd rax, ebx
lea rcx, [rax + rax*2]
lea r8d, [rbx + 1]
test dx, dx
je 0x140003437
mov qword [rbp + rcx*8 + 0x88], 0xffffffffffffffff
lea rax, [rbp + 0x170]
mov edx, r9d
jmp 0x14000343f
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 + 0x58], 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 0x140003377
movsxd r14, dword [rsp + 0x58]
lea rcx, [r14 + r14*2]
inc r14d
mov dword [rsp + 0x58], r14d
mov edx, 1
mov dword [rbp + rcx*8 + 0x90], edx
mov rax, qword [rsp + 0x68]
mov qword [rbp + rcx*8 + 0x80], rax
mov eax, edi
sub eax, 0xa
je 0x1400034c9
sub eax, edx
je 0x1400034c2
cmp eax, 2
je 0x1400034c9
jmp 0x1400034f5
cmp byte [r13 + 0x50], 0xa
jne 0x1400034f5
movsxd rax, r14d
lea rcx, [rax + rax*2]
inc r14d
mov dword [rsp + 0x58], r14d
mov dword [rbp + rcx*8 + 0x90], edx
movzx eax, byte [rbp - 0x20]
dec rax
mov qword [rbp + rcx*8 + 0x80], rax
jmp 0x1400034f5
mov r14d, dword [rsp + 0x58]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
cmp edi, 5
jne 0x140003381
xor ebx, ebx
movzx edi, byte [rsp + 0x40]
mov esi, dword [rsp + 0x60]
test r13, r13
je 0x14000338a
mov eax, ebx
cmp qword [r12 + 0x88], r12
setne al
mov ecx, eax
mov r8d, r14d
sub r8d, eax
lea rax, [rcx + rcx*2]
lea rdx, [rbp + 0x80]
lea rdx, [rdx + rax*8]
lea rcx, [r13 + 0x38]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r12
mov byte [rsp + 0x20], dil
mov r9d, esi
call fcn.140095330
cmp eax, 7
je 0x14000356c
cmp qword [r12 + 0x30], 0
jne 0x14000338a
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003c7a
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.140095330
mov r9, qword [r12 + 0x30]
mov ecx, dword [rbp - 0x48]
test r9, r9
je 0x1400036db
mov eax, ecx
sub eax, 1
je 0x14000365c
cmp eax, 1
jne 0x1400036db
cmp qword [rbp + 0x70], 0
jne 0x1400036f9
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 al
cmp al, byte [r12 + 0x115]
je 0x14000361b
mov byte [r12 + 0x115], al
mov rdx, qword [r12]
mov rcx, r12
test al, al
je 0x140003618
call qword [rdx + reloc.WSOCK32.dll_htonl]
jmp 0x14000361b
call qword [rdx + reloc.WSOCK32.dll_recv]
cmp dword [0x140125a3c], 0
jne 0x1400036f9
lea rcx, [0x140127530]
call fcn.1400467a0
test al, al
jne 0x1400036f9
mov edx, 4
lea rcx, [0x140127530]
call fcn.140046bc0
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003c7a
xor eax, eax
mov ecx, eax
movsxd rdx, dword [rbx + 0x10]
test edx, edx
jle 0x1400036e0
mov rax, qword [rbx]
mov r8, rdx
add rax, 0xe
mov rdx, qword [rsp + 0x68]
mov rsi, rdx
cmp dword [rax - 6], 1
jne 0x140003685
cmp byte [rax], 0
je 0x1400036a4
inc rcx
add rax, 0x10
cmp rcx, r8
jl 0x140003677
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x58], r14d
mov byte [rbp + 0x1288], r15b
jmp 0x1400036e0
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 + 0x68], rsi
mov dword [rsp + 0x58], r14d
mov byte [rbp + 0x1288], r15b
jmp 0x1400036e0
cmp ecx, 1
jne 0x1400036f9
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 0x140003c7a
test r12, r12
je 0x140003729
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 0x140003770
nop dword [rax]
cmp rcx, rsi
je 0x140003775
mov rcx, qword [rcx + 0x38]
inc edx
test rcx, rcx
jne 0x140003760
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 [0x140121a48]
cmp rcx, qword [0x140121a50]
jne 0x1400037ae
call fcn.140007a98
mov rcx, qword [0x140121a48]
xor r8d, r8d
cmp rcx, qword [0x140121a40]
jb 0x1400037c8
mov rax, qword [0x140127be0]
mov qword [rcx], rax
mov rcx, qword [0x140121a48]
add rcx, 0x18
mov qword [0x140121a48], 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.14008dc80
mov rax, qword [0x140121a48]
sub rax, 0x18
mov qword [0x140121a48], rax
cmp rax, qword [0x140121a40]
jb 0x140003836
mov rax, qword [rax]
mov qword [0x140121a68], rax
mov qword [0x140127be0], rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_recv]
test r12, r12
je 0x140003c7a
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003c7a
mov rax, qword [rbp - 0x38]
mov qword [rbx + 0x38], rax
mov rdi, qword [rbp - 8]
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 0x140003c7a
mov byte [0x140127c7e], 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 [0x140127be8]
mov rcx, rdi
call fcn.1400950c0
dec byte [rdi + 0x38]
jmp 0x140003c7a
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x1400038fe
mov ecx, recv
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x1400038f5
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
mov eax, 2
je 0x1400038fa
mov eax, 1
xor ebx, ebx
jmp 0x140003902
xor ebx, ebx
mov eax, ebx
mov edx, 1
mov dword [rbp + 0x10], edx
mov qword [rbp], rax
mov byte [0x140127c40], dl
mov rcx, qword [0x140121a48]
cmp rcx, qword [0x140121a50]
jne 0x140003935
call fcn.140007a98
mov rcx, qword [0x140121a48]
mov edx, 1
cmp rcx, qword [0x140121a40]
jb 0x14000394f
mov rax, qword [0x140127be0]
mov qword [rcx], rax
mov rcx, qword [0x140121a48]
add rcx, 0x18
mov qword [0x140121a48], rcx
mov qword [rcx], rbx
lea rax, [0x1400fcbb8]
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], ebx
mov qword [rsp + 0x20], rbx
mov r9d, edx
mov r8d, edx
lea rdx, [rbp]
lea rcx, [0x140127c10]
call fcn.1400951a0
mov rax, qword [0x140121a48]
sub rax, 0x18
mov qword [0x140121a48], rax
cmp rax, qword [0x140121a40]
jb 0x1400039b2
mov rax, qword [rax]
mov qword [0x140121a68], rax
mov qword [0x140127be0], rax
mov byte [0x140127c40], 0
jmp 0x140003c7a
mov dword [rbp + 0x10], 5
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rdi + 0x10]
mov qword [rbp], rbx
mov rbx, qword [rbx + 0x398]
mov rcx, qword [0x140121a48]
cmp rcx, qword [0x140121a50]
jne 0x1400039f5
call fcn.140007a98
mov rcx, qword [0x140121a48]
cmp rcx, qword [0x140121a40]
jb 0x140003a0f
mov rax, qword [0x140127be0]
mov qword [rcx], rax
mov rcx, qword [0x140121a48]
add rcx, 0x18
mov qword [0x140121a48], 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 eax, 1
mov dword [rsp + 0x20], eax
lea r9, [rbp]
xor r8d, r8d
mov rdx, rbx
mov rcx, rbx
call fcn.14008dc80
mov rax, qword [0x140121a48]
sub rax, 0x18
mov qword [0x140121a48], rax
cmp rax, qword [0x140121a40]
jb 0x140003a7d
mov rax, qword [rax]
mov qword [0x140121a68], rax
mov qword [0x140127be0], rax
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003c7a
mov dword [rbp + 0x10], 5
mov rdi, qword [rsp + 0x70]
mov r8, qword [rdi + 0x10]
mov qword [rbp], r8
mov r9d, 1
mov dword [rbp + 0x28], r9d
mov rcx, qword [rbp - 0x70]
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 0x140003ad5
mov rbx, qword [r8 + 0x3a0]
jmp 0x140003adc
mov rbx, qword [r8 + 0x3b0]
mov rcx, qword [0x140121a48]
cmp rcx, qword [0x140121a50]
jne 0x140003af8
call fcn.140007a98
mov rcx, qword [0x140121a48]
cmp rcx, qword [0x140121a40]
jb 0x140003b12
mov rax, qword [0x140127be0]
mov qword [rcx], rax
mov rcx, qword [0x140121a48]
add rcx, 0x18
mov qword [0x140121a48], 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.14008dc80
mov rax, qword [0x140121a48]
sub rax, 0x18
mov qword [0x140121a48], rax
cmp rax, qword [0x140121a40]
jb 0x140003c7a
mov rax, qword [rax]
mov qword [0x140121a68], rax
mov qword [0x140127be0], rax
jmp 0x140003c7a
mov rax, qword [rbp - 0x70]
mov word [rbp - 0x18], ax
sar rax, 0x10
mov word [rbp - 0x16], ax
xor edx, edx
mov word [rbp - 0x14], dx
mov dword [rbp + 0x10], 5
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rdi + 0x10]
mov qword [rbp], rbx
mov dword [rbp + 0x28], edx
lea rax, [rbp - 0x18]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], 0xffffffffffffffff
mov rbx, qword [rbx + 0x3a8]
mov rcx, qword [0x140121a48]
cmp rcx, qword [0x140121a50]
jne 0x140003bea
call fcn.140007a98
mov rcx, qword [0x140121a48]
xor edx, edx
cmp rcx, qword [0x140121a40]
jb 0x140003c04
mov rax, qword [0x140127be0]
mov qword [rcx], rax
mov rcx, qword [0x140121a48]
add rcx, 0x18
mov qword [0x140121a48], 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 0x140003b45
mov rcx, qword [rbp - 0x10]
movzx eax, byte [rcx + 0x10]
add al, 0x64
cmp al, 3
ja 0x140003c51
movzx eax, word [rbp - 0x70]
mov qword [rbx + 0x40], rax
mov rax, qword [rbp - 0x38]
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.140018d90
call fcn.1400047c0
cmp dword [rbp + 0x1278], 0
mov esi, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
mov eax, 1
lea r11d, [rax - 1]
je 0x1400018de
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [rsp + 0x48], 0
jne 0x140003cc6
mov ecx, dword [rbp - 0x44]
sub ecx, eax
add ecx, dword [rbp + 0x1270]
cmp ecx, 5
jg 0x140003d21
mov dword [0x140127cd8], eax
mov dl, 1
mov byte [rbp + 0x1280], dl
mov byte [rsp + 0x48], dl
mov byte [rbp + 0x1288], r15b
mov esi, dword [rsp + 0x50]
xor r11d, r11d
jmp 0x1400018d9
mov rcx, qword [0x14011f188]
mov byte [rcx + 0x7e], 0
jmp 0x140003cff
mov rcx, qword [0x14011f188]
mov rdx, qword [0x140125a40]
test rdx, rdx
je 0x140003d3f
lea r8, [rsp + 0x78]
mov rcx, qword [0x140125a70]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x140003d38
xor r11d, r11d
mov esi, dword [rsp + 0x50]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018d4
mov rcx, qword [0x14011f188]
mov byte [rcx + 0x7e], 1
mov eax, dword [rbp - 0x80]
mov dword [rcx + 0x78], eax
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x140002530
mov dword [0x140127cd8], eax
movzx eax, byte [0x140125a27]
cmp byte [rsp + 0x5c], 0
mov edi, 0
cmovne eax, edi
cmp byte [rsp + 0x5d], dil
mov byte [0x140125a27], al
je 0x140003ddc
mov eax, dword [0x140125a6c]
dec eax
test ebx, ebx
mov dword [0x140125a6c], eax
jle 0x140003ddc
test eax, eax
jne 0x140003ddc
cmp dword [0x140127c5c], edi
jne 0x140003ddc
cmp dword [0x140125ec0], edi
jne 0x140003ddc
cmp byte [0x140125a26], dil
je 0x140003ddc
lea edx, [rdi + 9]
mov rcx, qword [0x140125a70]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140125a26]
test eax, eax
cmovne ecx, edi
mov byte [0x140125a26], cl
movzx eax, sil
add rsp, 0x1328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret