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.1400d7a10
sub rsp, rax
mov edi, edx
mov ebx, ecx
mov byte [rsp + 0x4b], 0
mov r15d, 1
cmp edx, 2
jne 0x14000176c
mov edi, r15d
mov dword [rbp + 0x1278], r15d
cmp byte [0x140122a27], 0
jne 0x14000176c
mov byte [0x140122a27], dil
mov byte [rsp + 0x4b], dil
xor eax, eax
cmp ecx, 0x8000012f
jne 0x14000178e
mov ebx, 0xa
mov dword [rbp + 0x1270], ebx
mov byte [rsp + 0x49], r15b
mov esi, ebx
mov dword [rsp + 0x54], ebx
jmp 0x1400017a4
cmp ecx, 5
setle byte [rsp + 0x49]
mov esi, ecx
mov dword [rsp + 0x54], ecx
jle 0x1400017a4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x4c], eax
cmp dword [0x140122ec0], 0
je 0x1400017b5
call fcn.140004280
xor r14b, r14b
mov dword [rsp + 0x40], r14d
cmp dword [0x140124c5c], 0
je 0x1400017da
call fcn.140003f60
movzx r14d, r14b
test al, al
cmovne r14d, r15d
mov dword [rsp + 0x40], r14d
test ebx, ebx
jle 0x14000181b
cmp edi, r15d
jne 0x14000181b
mov byte [rsp + 0x4c], r15b
inc dword [0x140122a6c]
cmp byte [0x140122a26], 0
jne 0x140001820
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
mov rcx, qword [0x140122a70]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x140122a26]
jmp 0x140001820
mov byte [rsp + 0x4c], 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 rax, qword [0x14011c188]
mov r13, qword [rbp + 0x1280]
mov rcx, qword [rbp + 0x1280]
mov qword [rsp + 0x60], rcx
mov r8d, dword [rbp + 0x1270]
mov dword [rbp - 0x50], 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 - 0x48], rcx
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x10], rcx
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x40], 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 - 0x58], rcx
mov edi, r11d
jmp 0x1400018f5
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 0x1400019c0
test dl, dl
jne 0x1400019c0
nop word [rax + rax]
cmp byte [0x140122a27], 0
jne 0x1400019cd
cmp dword [0x14011c180], 0
je 0x140001988
cmp dword [0x140122a2c], 0
jne 0x140001988
cmp dword [0x140122a3c], 0
jne 0x14000193f
mov eax, 1
jmp 0x14000198b
cmp byte [rax + 0x7f], 0
jne 0x140001982
cmp dword [rax + 0x70], 0xffffffff
jle 0x140001982
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov rax, qword [0x14011c188]
sub ecx, dword [rax + 0x74]
xor r11d, r11d
cmp ecx, dword [rax + 0x70]
jb 0x140001982
cmp dword [rax + 0x6c], r11d
je 0x140001982
mov byte [rax + 0x7f], 1
cmp byte [rax + 0xc2], r11b
jne 0x140001982
mov dword [rax + 0x88], 5
movzx eax, byte [rax + 0x7f]
jmp 0x14000198b
mov eax, r11d
mov r9d, 0x311
test eax, eax
cmovne r9d, r11d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
jne 0x140001c7c
mov rax, qword [0x14011c188]
xor r11d, r11d
jmp 0x140001910
cmp byte [0x140122a27], 0
je 0x140001bad
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140001ba3
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140124508]
jne 0x140001ba3
cmp dword [0x140122a68], 0
je 0x140001a47
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 0x140001a49
cmp rcx, 7
jne 0x140001a30
jmp 0x140001aa0
xor edi, edi
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x140001ba3
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.1400be170
test eax, eax
je 0x140001aa0
lea rdx, str.SysListView32
lea rcx, [rbp + 0x120]
call fcn.1400be170
test eax, eax
jne 0x140001ba3
cmp dword [0x14011c180], 0
je 0x140001b0d
cmp dword [0x140122a2c], 0
jne 0x140001b0d
cmp dword [0x140122a3c], 0
jne 0x140001ac2
mov eax, 1
jmp 0x140001b0f
mov rcx, qword [0x14011c188]
cmp byte [rcx + 0x7f], 0
jne 0x140001b07
cmp dword [rcx + 0x70], 0xffffffff
jle 0x140001b07
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14011c188]
sub eax, dword [rcx + 0x74]
cmp eax, dword [rcx + 0x70]
jb 0x140001b07
cmp dword [rcx + 0x6c], 0
je 0x140001b07
mov byte [rcx + 0x7f], 1
cmp byte [rcx + 0xc2], 0
jne 0x140001b07
mov dword [rcx + 0x88], 5
movzx eax, byte [rcx + 0x7f]
jmp 0x140001b0f
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
lea rcx, [rsp + 0x70]
test eax, eax
je 0x140001c33
mov edi, dword [rbp - 0x70]
xor eax, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001b6e
mov r9d, 0x1ff
jmp 0x140001c29
mov eax, dword [rbp - 0x70]
sub eax, edi
xor edx, edx
lea rcx, [rsp + 0x70]
test eax, eax
mov eax, 1
mov dword [rsp + 0x20], eax
jle 0x140001b95
mov r9d, 0x1ff
xor r8d, r8d
jmp 0x140001c3c
mov r9d, ebx
mov r8d, 0x20f
jmp 0x140001c3c
mov rax, qword [0x14011c188]
xor r11d, r11d
cmp dword [0x14011c180], 0
je 0x140001c15
cmp dword [0x140122a2c], 0
jne 0x140001c15
cmp dword [0x140122a3c], 0
jne 0x140001bcf
mov eax, 1
jmp 0x140001c18
cmp byte [rax + 0x7f], 0
jne 0x140001c0f
cmp dword [rax + 0x70], 0xffffffff
jle 0x140001c0f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov rax, qword [0x14011c188]
sub ecx, dword [rax + 0x74]
cmp ecx, dword [rax + 0x70]
jb 0x140001c0f
cmp dword [rax + 0x6c], 0
je 0x140001c0f
mov byte [rax + 0x7f], 1
cmp byte [rax + 0xc2], 0
jne 0x140001c0f
mov dword [rax + 0x88], 5
movzx eax, byte [rax + 0x7f]
jmp 0x140001c18
mov eax, r11d
mov r9d, 0x311
test eax, eax
mov eax, 0
cmovne r9d, eax
xor r8d, r8d
lea rcx, [rsp + 0x70]
xor edx, edx
mov eax, 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001c78
test esi, esi
jne 0x1400022a8
test r15b, r15b
jne 0x1400022a8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r15b, 1
mov byte [rbp + 0x1288], r15b
mov rax, qword [0x14011c188]
xor r11d, r11d
jmp 0x1400019c0
mov edi, dword [rsp + 0x44]
inc edi
mov dword [rsp + 0x44], edi
mov r8d, dword [0x140124520]
test r8d, r8d
je 0x140001d5b
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, [0x140124510]
mov qword [rbp + 0x50], rax
mov rax, qword [0x140124518]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x64], r8d
mov byte [rbp + 0x68], r15b
lea rax, [rbp + 0x50]
mov qword [0x140124518], rax
xor eax, eax
mov edx, eax
mov dword [rbp + 0x60], eax
test r8d, r8d
jle 0x140001d3a
nop dword [rax + rax]
movsxd rcx, edx
add rcx, rcx
mov rax, qword [0x140124510]
cmp dword [rax + rcx*8 + 8], ebx
jne 0x140001d2b
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.1400044a0
test al, al
jne 0x140001d37
mov r8d, dword [rbp + 0x64]
mov edx, dword [rbp + 0x60]
inc edx
mov dword [rbp + 0x60], edx
cmp edx, r8d
jge 0x140001d3a
jmp 0x140001ce0
mov r15b, 1
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x50]
mov qword [rax + 8], rcx
test r15b, r15b
jne 0x140002340
movzx r15d, byte [rbp + 0x1288]
mov esi, dword [rsp + 0x54]
cmp qword [0x140122a78], 0
je 0x1400021b1
mov eax, dword [rsp + 0x78]
add eax, 0xffffff00
cmp eax, 9
ja 0x1400021b1
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400021a2
mov edx, 0xffffffe0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassLongW]
cmp ax, word [0x140125040]
jne 0x140001db6
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
jne 0x140001ddf
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400021a2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jmp 0x140001d83
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rax + 0x78]
test rdx, rdx
je 0x140001e04
lea r8, [rsp + 0x70]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140002340
cmp dword [rsp + 0x78], 0x100
jne 0x140002087
cmp byte [r12 + 0x108], 0
je 0x140002005
mov rbx, qword [rbp - 0x80]
cmp rbx, 0x27
ja 0x140002005
movabs rax, 0xa600000200
bt rax, rbx
jae 0x140002005
mov rbx, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, dword [r12 + 0xa8]
jae 0x140001e6b
mov rdx, qword [r12 + 0x50]
mov r13, qword [rdx + rax*8]
cmp qword [r13 + 0x28], rbx
je 0x140001e9c
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
je 0x140001e83
cmp rax, qword [r12 + 0x30]
jne 0x140001e46
xor r14d, r14d
mov r13d, r14d
cmp dword [rsp + 0x78], 0x100
je 0x140002008
jmp 0x140002087
cmp eax, 0x2af8
je 0x140001e83
xor r14d, r14d
test r13, r13
je 0x140001e89
movzx eax, byte [r13 + 0x50]
cmp al, 0xf
je 0x140001e89
mov ebx, r14d
cmp al, 0x13
jne 0x140001ed2
mov rbx, r13
mov rax, qword [rbp - 0x80]
add rax, 0xffffffffffffffdb
test rax, 0xfffffffffffffffd
je 0x14000234e
mov rax, qword [rbp - 0x80]
add rax, 0xffffffffffffffdb
test rax, 0xfffffffffffffffd
je 0x140001e89
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x140001e89
cmp qword [rbp - 0x80], 9
jne 0x140001f19
cmp byte [r13 + 0x50], 0xc
jne 0x140001f19
mov edx, 0xfffffff0
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x140001e89
test rbx, rbx
jne 0x140001fb8
movzx r9d, byte [r13 + 0x52]
cmp r9b, 0xff
je 0x140001f6a
xor dl, dl
mov ecx, r14d
mov r8d, dword [r12 + 0xa8]
test r8d, r8d
je 0x140001f6a
mov r10, qword [r12 + 0x50]
mov eax, ecx
mov rbx, qword [r10 + rax*8]
cmp byte [rbx + 0x50], 0x13
jne 0x140001f57
cmp dl, r9b
je 0x140001f65
inc dl
inc ecx
cmp ecx, r8d
jb 0x140001f44
xor dl, dl
mov ecx, r14d
jmp 0x140001f80
test rbx, rbx
jne 0x140001fb8
xor dl, dl
mov ecx, r14d
mov r8d, dword [r12 + 0xa8]
test r8d, r8d
je 0x140001e89
mov r9, qword [r12 + 0x50]
nop word [rax + rax]
mov eax, ecx
mov rbx, qword [r9 + rax*8]
cmp byte [rbx + 0x50], 0x13
jne 0x140001fa2
test dl, dl
je 0x140001faf
inc dl
inc ecx
cmp ecx, r8d
jae 0x140001e89
jmp 0x140001f90
test rbx, rbx
je 0x140001e89
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140001e89
mov rax, qword [rbp - 0x80]
cmp rax, 0x22
je 0x140002389
cmp rax, 9
jne 0x140001ff2
lea ecx, [rax + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x140002389
xor r8d, r8d
mov byte [rsp + 0x20], 1
mov r9b, 1
mov rdx, rbx
jmp 0x140002362
xor r14d, r14d
mov rbx, qword [rbp - 0x80]
cmp rbx, 0x1b
je 0x140002040
cmp rbx, 9
je 0x140002040
cmp rbx, 0x41
jne 0x140002087
lea ecx, [rbx - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x140002087
lea ecx, [rbx + 0x64]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140002087
nop
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, dword [r12 + 0xa8]
jae 0x14000206c
mov rdx, qword [r12 + 0x50]
mov r13, qword [rdx + rax*8]
mov rcx, qword [r13 + 0x28]
cmp rcx, rdi
je 0x14000210a
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
je 0x140002084
cmp rax, qword [r12 + 0x30]
jne 0x140002040
mov r13, r14
mov rcx, qword [0x140124288]
test rcx, rcx
je 0x1400020b5
cmp dword [rsp + 0x78], 0x100
jne 0x1400020b5
mov rbx, qword [rbp - 0x80]
cmp rbx, 0xd
je 0x140002438
cmp rbx, 0x1b
je 0x140002421
cmp dword [r12 + 0xa8], 0
jne 0x1400020ce
cmp dword [rsp + 0x78], 0x106
je 0x1400021b1
mov rcx, qword [0x14011c188]
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 [0x14011c188]
mov byte [rax + 0x7e], 0
test ecx, ecx
jne 0x140002371
jmp 0x1400021b8
cmp eax, 0x2af8
je 0x140002084
test r13, r13
je 0x140002087
cmp byte [r13 + 0x50], 0xc
jne 0x140002087
mov rbx, qword [rbp - 0x80]
cmp rbx, 0x1b
je 0x14000239a
movzx eax, byte [r13 + 0x51]
cmp rbx, 0x41
je 0x140002180
test al, al
jns 0x140002087
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0xb
jb 0x140002087
lea r9, [0x1400f9bb4]
mov edx, 0xc2
mov r8d, 1
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000236a
test al, 2
jne 0x140002087
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000236a
xor r11d, r11d
mov r12d, r11d
mov rax, qword [0x14011c188]
jmp 0x1400021bb
mov rax, qword [0x14011c188]
xor r11d, r11d
mov ecx, dword [rsp + 0x78]
cmp ecx, 0x402
ja 0x140002594
je 0x1400025d1
cmp ecx, 0x113
ja 0x1400024b7
jne 0x14000244e
cmp qword [rbp - 0x78], 0
jne case.0x1400025b8.1046
mov rcx, qword [0x140122a70]
cmp qword [rsp + 0x70], rcx
jne case.0x1400025b8.1046
cmp dword [0x140122ec0], 0
je 0x140002215
call fcn.140004280
mov rax, qword [0x14011c188]
cmp dword [0x140124c5c], 0
je 0x140002245
call fcn.140003f60
mov r9d, dword [rsp + 0x40]
movzx r14d, r9b
test al, al
mov eax, 1
cmovne r14d, eax
mov dword [rsp + 0x40], r14d
mov rax, qword [0x14011c188]
jmp 0x14000224a
mov r14d, dword [rsp + 0x40]
cmp dword [rbp + 0x1278], 0
je 0x140002371
cmp esi, 1
jl 0x140002371
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [rbp + 0x1270]
cmp byte [rsp + 0x49], 0
jne 0x140003d69
mov ecx, dword [rbp - 0x4c]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jle 0x140003d69
mov byte [rbp + 0x1288], r15b
mov rax, qword [0x14011c188]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018fd
mov edi, dword [rsp + 0x44]
test edi, edi
jne 0x1400022e5
cmp byte [rsp + 0x49], dil
je 0x1400022e5
test esi, esi
jle 0x1400022c4
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 [0x14011c188]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018f5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [rbp + 0x1270]
cmp byte [rsp + 0x49], 0
jne 0x140003d69
mov ecx, dword [rbp - 0x4c]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jle 0x140003d69
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 [0x14011c188]
movzx edx, byte [rbp + 0x1280]
xor r11d, r11d
jmp 0x1400018f5
movzx r15d, byte [rbp + 0x1288]
mov esi, dword [rsp + 0x54]
jmp 0x14000236a
cmp qword [rbp - 0x80], 0x27
sete r8b
mov byte [rsp + 0x20], r14b
xor r9d, r9d
mov rdx, r13
mov rcx, r12
call fcn.140086af0
mov rax, qword [0x14011c188]
mov r14d, dword [rsp + 0x40]
movzx edx, byte [rbp + 0x1280]
mov edi, dword [rsp + 0x44]
xor r11d, r11d
jmp 0x1400018f5
mov r8b, 1
mov byte [rsp + 0x20], r8b
movzx r9d, r8b
mov rdx, rbx
jmp 0x140002362
xor r11d, r11d
mov ecx, r11d
movsxd rdx, dword [r12 + 0xa0]
test edx, edx
jle 0x1400026f8
mov rax, qword [r12 + 0x90]
add rax, 0xe
nop dword [rax]
cmp dword [rax - 6], 3
jne 0x1400023cb
cmp byte [rax], r11b
je 0x1400023dd
inc rcx
add rax, 0x10
cmp rcx, rdx
jge 0x140003d0e
jmp 0x1400023c0
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 [0x14011c188]
movzx edx, byte [rbp + 0x1280]
mov edi, dword [rsp + 0x44]
xor r11d, r11d
jmp 0x1400018f5
xor r9d, r9d
mov edx, 0x1116
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000236a
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1116
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000236a
mov ecx, dword [rsp + 0x78]
cmp ecx, 0x12
je 0x1400024a1
cmp ecx, 0x4b
je 0x14000248d
cmp ecx, 0x100
jne case.0x1400025b8.1046
mov rax, qword [0x140122a48]
cmp qword [rsp + 0x70], rax
jne case.0x1400025b8.1046
cmp qword [rbp - 0x80], 0x1b
jne case.0x1400025b8.1046
xor edx, edx
mov rcx, qword [0x140122a70]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14000236a
mov qword [0x140122a50], r11
mov dl, 1
mov byte [rbp + 0x1280], dl
jmp 0x1400018e8
mov edx, 4
lea rcx, [0x140124530]
call fcn.140046940
jmp 0x14000236a
mov ecx, dword [rsp + 0x78]
sub ecx, 0x312
je 0x1400025d1
sub ecx, 0xee
je case.0x1400025b8.1045
cmp ecx, 1
je case.0x1400025b8.1045
xor edi, edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140003ce2
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140124508]
jne 0x140003ce2
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
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140003ce2
cmp rcx, 7
jne 0x140002530
mov rcx, qword [0x14011c188]
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 0x140003cd5
mov rax, qword [0x14011c188]
mov byte [rax + 0x7e], 0
mov r14d, dword [rsp + 0x40]
movzx edx, byte [rbp + 0x1280]
mov edi, dword [rsp + 0x44]
xor r11d, r11d
jmp 0x1400018f5
mov ecx, dword [rsp + 0x78]
add ecx, 0xfffffbec
cmp ecx, 0xa
ja case.0x1400025b8.1046
lea rbx, [0x140000000]
mov edx, dword [rbx + rcx*4 + 0x3dfc]
add rdx, rbx
jmp rdx
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400025d1
cmp rbx, qword [0x140122a70]
jne case.0x1400025b8.1046
lea rbx, [0x140000000]
mov r14, r11
mov ecx, dword [rsp + 0x78]
add ecx, 0xfffffbff
cmp ecx, 0x1d
ja case.0x140002600.1031
movzx ecx, byte [rbx + rcx + 0x3e44]
mov edx, dword [rbx + rcx*4 + 0x3e28]
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 [0x140125040]
je 0x140002628
xor edi, edi
mov r12d, edi
jmp 0x1400024de
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
je case.0x1400025b8.1046
mov r8, qword [rbp - 0x78]
mov qword [rsp + 0x60], r8
mov rcx, qword [rbp - 0x80]
movzx r10d, cl
mov dword [rbp - 0x50], r10d
mov r11, rcx
shr r11, 8
mov qword [rbp - 0x28], r11
shr rcx, 0x10
movzx edx, cx
xor r11d, r11d
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x58], r10d
cmp edx, dword [rax + 0xa8]
jae 0x140002688
mov rax, qword [rax + 0x50]
mov r13, qword [rax + rdx*8]
jmp 0x14000268b
mov r13, r11
lea rbx, [r12 + 0x90]
mov byte [rsp + 0x4a], r11b
xor dil, dil
mov byte [rsp + 0x48], dil
lea eax, [r10 - 1]
cmp eax, 0x10
ja case.0x1400026bb.6
lea r9, [0x140000000]
mov ecx, dword [r9 + rax*4 + 0x3e64]
add rcx, r9
jmp rcx
mov r14, qword [r12 + 0x60]
test r14, r14
je 0x1400026f8
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 0x140002721
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r11d, r11d
mov qword [r12 + 0x60], r11
mov rax, qword [0x14011c188]
jmp 0x1400018e1
mov dil, 2
mov byte [rsp + 0x48], dil
mov dword [rsp + 0x58], r8d
test r13, r13
je 0x1400026f8
lea rbx, [r13 + 0x38]
mov byte [rsp + 0x4a], 1
jmp case.0x1400026bb.2
xor r11d, r11d
test rbx, rbx
je case.0x1400026bb.5
mov rdx, qword [rbx + 8]
test rdx, rdx
je case.0x1400026bb.5
cmp byte [rdx + 0x18], 0
jne 0x140002755
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 0x140002755
cmp byte [rax + rcx*8 + 0xe], dil
je 0x14000275b
mov rdx, qword [rdx + 8]
jmp 0x14000272d
test r14, r14
je 0x140002771
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r11d, r11d
mov qword [r12 + 0x60], r11
mov r14d, dword [rsp + 0x40]
mov dword [rsp + 0x40], r14d
mov byte [rbp + 0x1288], r15b
mov rax, qword [0x14011c188]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018f5
mov edi, r11d
mov rax, qword [0x14011c188]
jmp 0x140002c41
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x140002815
mov edx, 0xffffffe0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassLongW]
cmp ax, word [0x140125040]
je 0x1400027d0
xor r11d, r11d
mov r12d, r11d
jmp 0x1400027e9
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
jne 0x140002809
xor r11d, r11d
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140002809
cmp rax, qword [0x140122a70]
jne case.0x1400025b8.1046
mov rax, qword [0x14011c188]
jmp 0x140002818
mov rax, qword [0x14011c188]
xor r11d, r11d
jmp 0x140002818
mov r12, r11
mov rdx, qword [0x140124c60]
test rdx, rdx
je 0x14000285b
mov rcx, qword [rbp - 0x78]
nop dword [rax + rax]
mov rsi, qword [rdx + 0x20]
mov qword [rbp - 0x48], rsi
test rsi, rsi
je 0x140002852
nop dword [rax]
cmp dword [rsi + 0x28], ecx
je 0x140002864
mov rsi, qword [rsi + 0x38]
mov qword [rbp - 0x48], rsi
test rsi, rsi
jne 0x140002840
mov rdx, qword [rdx + 0x38]
test rdx, rdx
jne 0x140002830
mov qword [rbp - 0x48], r11
jmp 0x1400018dd
cmp qword [rsi + 0x10], 0
je 0x1400018dd
mov edi, dword [rsi + 0x2c]
jmp 0x140002c45
mov ecx, dword [0x140122e9c]
mov rbx, qword [rbp - 0x80]
cmp rbx, rcx
jae 0x1400018dd
mov rax, qword [0x140122eb8]
mov rdi, qword [rax + rbx*8]
mov qword [rbp - 0x10], rdi
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400028ce
mov rdx, qword [rdi + 8]
call fcn.140017c50
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14000236a
mov rcx, qword [rdi + 0x20]
movzx edx, byte [rcx]
dec dl
test dl, 0xfd
je 0x1400028d2
xor eax, eax
mov qword [rbp - 0x40], rax
jmp 0x1400028d2
mov qword [rbp - 0x40], r11
mov rdx, qword [rbp - 0x78]
mov rcx, rdi
call fcn.14001b310
cmp qword [rdi + 0x18], 0
jne 0x14000236a
xor r11d, r11d
cmp byte [rdi + 0x3e], r11b
je 0x14000290c
movzx eax, word [rbp - 0x78]
mov word [0x140124c7c], ax
mov edi, dword [rdi + 0x28]
mov rax, qword [0x14011c188]
jmp 0x140002c41
mov word [0x140124c7c], r11w
mov edi, dword [rdi + 0x28]
mov rax, qword [0x14011c188]
jmp 0x140002c41
cmp byte [0x140124c40], 0
jne 0x1400018dd
mov edi, r11d
jmp 0x140002c41
mov rbx, qword [rbp - 0x80]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call fcn.14002cbb0
test rax, rax
jne 0x140002962
xor r11d, r11d
mov qword [rsp + 0x68], r11
mov rax, qword [0x14011c188]
jmp 0x1400018e1
cmp qword [rbx + 0x10], 0
je 0x1400029de
cmp qword [0x140122a60], 0
jne 0x14000298a
cmp dword [0x140122ed0], 0
jne 0x14000298a
test byte [0x140122e87], 1
jne 0x14000298a
call fcn.140017fa0
mov rcx, qword [rbx + 0x10]
cmp qword [rcx + 0x398], 0
je 0x1400029ae
xor r11d, r11d
mov edi, r11d
mov rax, qword [0x14011c188]
mov rsi, qword [rbp - 0x48]
jmp 0x140002c4a
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
cmp dword [0x140122a3c], 0
jne 0x1400029de
lea rcx, [0x140124530]
call fcn.140046520
test al, al
jne 0x1400029de
mov edx, 6
lea rcx, [0x140124530]
call fcn.140046940
xor r11d, r11d
mov qword [rsp + 0x68], r11
mov rax, qword [0x14011c188]
jmp 0x1400018e1
mov rbx, qword [0x140122a60]
mov qword [rsp + 0x68], rbx
test rbx, rbx
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
je 0x1400018f0
mov r9d, dword [rsp + 0x40]
nop word [rax + rax]
movzx edx, r15b
movzx r8d, r9b
cmp rbx, qword [rbp - 0x80]
je 0x140002a48
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x68], rbx
test rbx, rbx
jne 0x140002a20
movzx edx, byte [rbp + 0x1280]
jmp 0x1400018f0
mov rcx, qword [rbx + 0x10]
cmp dword [rsp + 0x78], 0x41c
jne 0x140002a5f
mov rcx, qword [rcx + 0x3a0]
jmp 0x140002a79
cmp dword [rsp + 0x78], 0x41e
jne 0x140002a72
mov rcx, qword [rcx + 0x3b0]
jmp 0x140002a79
mov rcx, qword [rcx + 0x3a8]
mov dword [rsp + 0x40], r9d
mov byte [rbp + 0x1288], dl
test rcx, rcx
je 0x1400018dd
mov edi, r11d
movzx r9d, r8b
mov dword [rsp + 0x40], r9d
mov byte [rbp + 0x1288], dl
mov rsi, qword [rbp - 0x48]
jmp 0x140002c4a
mov rbx, qword [rbp - 0x80]
movzx ecx, bx
mov edx, 0x7fff
and cx, dx
cmp cx, word [0x140122ed8]
jae 0x1400018dd
movzx edx, cx
mov rcx, qword [0x140122ec8]
mov r10, qword [rcx + rdx*8]
mov qword [rbp - 0x18], r10
shr rbx, 0x10
test bx, bx
je 0x140002b07
mov ecx, 0xffff
add bx, cx
mov r9, qword [r10 + 0x28]
mov qword [rbp - 0x58], r9
je 0x140002afe
mov r9, qword [r9 + 0x18]
add bx, cx
jne 0x140002af1
mov qword [rbp - 0x58], r9
test r9, r9
jne 0x140002be6
cmp dword [rsp + 0x78], 0x400
jne 0x140002b2b
mov rcx, qword [rbp - 0x78]
shr rcx, 0x10
movzx edx, cx
lea esi, [rdx + 0x3c2bb3]
mov edi, WSAAsyncSelect
sub edi, edx
jmp 0x140002b33
mov esi, r11d
mov edi, 0x3c2c17
cmp byte [r10 + 0x19], 0
jne 0x140002b43
mov qword [rbp - 0x58], r11
jmp 0x1400018dd
mov qword [rbp - 0x40], r11
mov rbx, r11
mov r9, qword [r10 + 0x28]
mov qword [rbp - 0x58], r9
test r9, r9
je 0x140002bd3
cmp byte [r9 + 0x30], 0
je 0x140002bb0
cmp byte [0x140122d45], 0
je 0x140002b6e
cmp byte [r9 + 0x31], 0
je 0x140002bb0
cmp edi, 0x66
lea ecx, [rsi - 0x3c2bb3]
jbe 0x140002b7e
mov ecx, reloc.WSOCK32.dll_WSAAsyncSelect
movzx eax, byte [r9 + 0x2c]
cmp ecx, eax
jle 0x140002bb0
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x140002ba6
mov rdx, qword [r10 + 0x20]
call fcn.140017c50
mov qword [rbp - 0x40], rax
mov r9, qword [rbp - 0x58]
test rax, rax
je 0x140002bb0
cmp qword [r9 + 0x10], 0
jne 0x140002bc3
mov rbx, r9
mov r9, qword [r9 + 0x18]
mov qword [rbp - 0x58], r9
test r9, r9
je 0x140002bcc
mov r10, qword [rbp - 0x18]
jmp 0x140002b57
mov rax, qword [0x14011c188]
jmp 0x140002bda
mov rax, qword [0x14011c188]
mov r9, rbx
mov qword [rbp - 0x58], rbx
xor r11d, r11d
test r9, r9
je 0x1400018dd
movzx ecx, byte [r9 + 0x2b]
cmp byte [r9 + 0x2a], cl
jb 0x140002c13
cmp byte [r9 + 0x2e], 0
je 0x140002bfd
mov byte [r9 + 0x2f], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbp - 0x58]
mov dword [rcx + 0x20], eax
mov esi, dword [rsp + 0x54]
jmp 0x14000236a
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x140002c39
movzx edx, byte [rcx]
lea ecx, [rdx - 2]
test cl, 0xfd
je 0x140002c39
cmp dl, 5
jne 0x140002c3d
mov rcx, qword [0x140122a58]
mov qword [rbp - 0x40], rcx
jmp 0x140002c3d
mov qword [rbp - 0x40], r11
mov edi, dword [r9 + 0x24]
mov rsi, qword [rbp - 0x48]
mov rbx, qword [rsp + 0x68]
mov ecx, dword [reloc.WSOCK32.dll_inet_addr]
cmp dword [0x140122a3c], ecx
jl 0x140002c96
test r14, r14
je 0x140002c75
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r11d, r11d
mov qword [r12 + 0x60], r11
mov rax, qword [0x14011c188]
cmp dword [rsp + 0x78], 0x41b
jne 0x1400018dd
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov esi, dword [rsp + 0x54]
jmp 0x14000236a
cmp edi, dword [rax + 0x68]
jge 0x140002cc7
test r14, r14
je 0x140002cb8
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r11d, r11d
mov qword [r12 + 0x60], r11
mov rax, qword [0x14011c188]
cmp dword [rsp + 0x78], 0x41b
je 0x140002c83
jmp 0x1400018dd
mov r9b, 1
mov dword [rsp + 0x40], r9d
mov ecx, dword [rsp + 0x78]
add ecx, 0xfffffbfe
cmp ecx, 0x1c
ja case.0x140002cf9.1027
lea r8, [0x140000000]
movzx ecx, byte [r8 + rcx + 0x3eb0]
mov edx, dword [r8 + rcx*4 + 0x3ea8]
add rdx, r8
jmp rdx
mov rax, qword [0x140124be8]
mov qword [0x140124bf0], rax
mov eax, dword [0x140124c74]
mov dword [0x140124c78], eax
cmp dword [rsp + 0x78], 0x401
jne 0x140002d29
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
jmp 0x140002d31
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x20]
mov qword [0x140124be8], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140124c74], eax
mov rax, qword [0x14011c188]
xor r11d, r11d
inc dword [0x140122a3c]
lea rbx, [rax + 0xc8]
mov qword [0x14011c188], rbx
mov rax, qword [0x140122a30]
test rax, rax
lea rcx, [rax + 0x80]
jne 0x140002d78
mov rcx, r11
test rbx, rbx
lea rax, [rbx + 0x80]
jne 0x140002d87
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, [0x140124530]
call fcn.140045c80
movzx eax, byte [rbx + 0xc2]
test al, al
jne 0x140002df7
mov byte [rbx + 0xc2], al
cmp dword [0x140124cd4], 0
je 0x140002e09
cmp dword [0x140124cd0], 0
jne 0x140002e0d
test al, al
je 0x140002e43
mov dword [rbx + 0x88], reloc.WSOCK32.dll_recv
mov byte [rbx + 0x7f], 0
test al, al
jne 0x140002e43
cmp dword [0x140124cd4], 0
jge 0x140002e31
mov dword [rbx + 0x70], 0xffffffff
jmp 0x140002e43
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x74], eax
mov eax, dword [0x140124cd4]
mov dword [rbx + 0x70], eax
mov rbx, qword [0x14011c188]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140124cd8], eax
mov edx, dword [rsp + 0x78]
lea eax, [rdx - 0x401]
cmp eax, 0x1d
ja case.0x140002e84.1032
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x3ef0]
mov ecx, dword [r8 + rax*4 + 0x3ed0]
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 - 0x50]
lea eax, [rdi - 1]
cmp eax, 0x10
ja case.0x140002ece.6
mov ecx, dword [r8 + rax*4 + 0x3f10]
add rcx, r8
jmp rcx
mov rax, qword [rbp - 0x6c]
mov qword [rbp - 0x60], rax
mov rsi, qword [rbp - 0x28]
test r13, r13
je 0x14000309a
test sil, sil
je 0x140002ff4
mov dword [rbp - 0x38], 0x80000000
movzx ecx, byte [r13 + 0x50]
sub ecx, 9
je 0x140002f78
sub ecx, 1
je 0x140002f48
sub ecx, 1
je 0x140002f1c
cmp ecx, 6
jne 0x140002fa9
xor r8d, r8d
mov edx, 0x419
jmp 0x140002f9b
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 0x140002fa9
mov qword [rbp - 0x38], rax
mov edx, 0x1104
mov r8d, 1
jmp 0x140002f9b
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 0x140002fa9
mov dword [rbp - 0x38], 2
mov edx, 0x100e
jmp 0x140002f9b
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 0x140002fa9
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 0x140002fc2
lea rdx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x140002fd4
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 0x140002fe6
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 0x14000308d
sub edx, 1
je 0x140003063
cmp edx, 1
jne 0x14000309a
mov rcx, qword [r13 + 0x28]
test sil, sil
je 0x140003035
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 0x14000309f
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 0x14000309f
test sil, sil
je 0x14000309a
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 0x14000309f
xor r9d, r9d
xor r8d, r8d
mov edx, OleCreatePictureIndirect
jmp 0x140003077
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 0x1400030d3
mov rax, r13
lea ecx, [rbx + 5]
jmp 0x1400030e4
mov qword [rdx + 8], 0xffffffffffffffff
lea rax, [0x1400f9b50]
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 0x140003515
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 0x1400031d0
mov r8, r13
lea r9d, [rsi + 5]
jmp 0x1400031ea
lea rax, [rcx + rcx*2]
mov qword [rbp + rax*8 + 0x88], 0xffffffffffffffff
lea r8, [0x1400f9b50]
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.14007a870
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 0x140003257
mov r8d, dword [0x14012450c]
mov edx, 0x60
mov ecx, dword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x14000325a
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 0x1400032a0
mov r8d, dword [0x14012450c]
mov edx, 0x60
mov ecx, dword [rbp - 0x5c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400032a3
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 0x140003392
cmp edi, 4
jne 0x1400034fd
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 0x140003335
mov r8d, dword [0x14012450c]
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 0x140003380
mov r8d, dword [0x14012450c]
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 0x14000356d
lea rcx, [r13 + 0x38]
lea rbx, [r12 + 0x90]
jmp 0x140003578
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
mov r14d, ebx
jmp 0x140003392
cmp byte [r13 + 0x50], 0x17
jne 0x140003495
cmp edi, 7
jne 0x140003495
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 0x14000341e
movzx edx, word [rbp + 0x170]
movsxd rax, ebx
lea rcx, [rax + rax*2]
lea r8d, [rbx + 1]
test dx, dx
je 0x140003446
mov qword [rbp + rcx*8 + 0x88], 0xffffffffffffffff
lea rax, [rbp + 0x170]
mov edx, r9d
jmp 0x14000344e
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 0x140003388
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 0x1400034d6
sub eax, edx
je 0x1400034cf
cmp eax, 2
je 0x1400034d6
jmp 0x140003500
cmp byte [r13 + 0x50], 0xa
jne 0x140003500
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 0x140003500
mov r14d, ebx
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
cmp edi, 5
jne 0x140003392
xor ebx, ebx
movzx edi, byte [rsp + 0x48]
mov esi, dword [rsp + 0x58]
test r13, r13
je 0x14000339b
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.140091fa0
cmp eax, 7
je 0x14000355e
cmp qword [r12 + 0x30], 0
jne 0x14000339b
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003c6c
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.140091fa0
mov r9, qword [r12 + 0x30]
mov r8d, dword [rbp - 0x50]
test r9, r9
je 0x1400036d4
mov eax, r8d
sub eax, 1
je 0x140003650
cmp eax, 1
jne 0x1400036d4
cmp qword [rbp + 0x70], 0
jne 0x1400036f3
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 0x14000360f
mov byte [r12 + 0x115], al
mov rdx, qword [r12]
mov rcx, r12
test al, al
je 0x14000360c
call qword [rdx + reloc.WSOCK32.dll_htonl]
jmp 0x14000360f
call qword [rdx + reloc.WSOCK32.dll_recv]
cmp dword [0x140122a3c], 0
jne 0x1400036f3
lea rcx, [0x140124530]
call fcn.140046520
test al, al
jne 0x1400036f3
mov edx, 4
lea rcx, [0x140124530]
call fcn.140046940
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003c6c
xor eax, eax
mov ecx, eax
movsxd rdx, dword [rbx + 0x10]
test edx, edx
jle 0x1400036da
mov rax, qword [rbx]
mov r8, rdx
add rax, 0xe
mov rdx, qword [rsp + 0x60]
nop dword [rax + rax]
mov rsi, rdx
cmp dword [rax - 6], 1
jne 0x14000367e
cmp byte [rax], 0
je 0x14000369d
inc rcx
add rax, 0x10
cmp rcx, r8
jl 0x140003670
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x50], r14d
mov byte [rbp + 0x1288], r15b
jmp 0x1400036da
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 0x1400036da
cmp r8d, 1
jne 0x1400036f3
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 0x140003c6c
test r12, r12
je 0x140003723
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 0x140003766
cmp rcx, rsi
je 0x14000376b
mov rcx, qword [rcx + 0x38]
inc edx
test rcx, rcx
jne 0x140003756
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 [0x14011ea48]
cmp rcx, qword [0x14011ea50]
jne 0x1400037a4
call fcn.140007ad8
mov rcx, qword [0x14011ea48]
xor r8d, r8d
cmp rcx, qword [0x14011ea40]
jb 0x1400037be
mov rax, qword [0x140124be0]
mov qword [rcx], rax
mov rcx, qword [0x14011ea48]
add rcx, 0x18
mov qword [0x14011ea48], 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.14008a920
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x14000382c
mov rax, qword [rax]
mov qword [0x14011ea68], rax
mov qword [0x140124be0], rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_recv]
test r12, r12
je 0x140003c6c
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003c6c
mov rax, qword [rbp - 0x40]
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 0x140003c6c
mov byte [0x140124c7e], 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 [0x140124be8]
mov rcx, rdi
call fcn.140091d30
dec byte [rdi + 0x38]
jmp 0x140003c6c
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x1400038f4
mov ecx, recv
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x1400038eb
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
mov eax, 2
je 0x1400038f0
mov eax, 1
xor ebx, ebx
jmp 0x1400038f8
xor ebx, ebx
mov eax, ebx
mov edi, 1
mov dword [rbp + 0x10], edi
mov qword [rbp], rax
mov byte [0x140124c40], dil
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea50]
jne 0x140003927
call fcn.140007ad8
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea40]
jb 0x140003941
mov rax, qword [0x140124be0]
mov qword [rcx], rax
mov rcx, qword [0x14011ea48]
add rcx, 0x18
mov qword [0x14011ea48], rcx
mov qword [rcx], rbx
lea rax, [0x1400f9bb8]
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, [0x140124c10]
call fcn.140091e10
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x1400039a4
mov rax, qword [rax]
mov qword [0x14011ea68], rax
mov qword [0x140124be0], rax
mov byte [0x140124c40], 0
jmp 0x140003c6c
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 [0x14011ea48]
cmp rcx, qword [0x14011ea50]
jne 0x1400039e7
call fcn.140007ad8
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea40]
jb 0x140003a01
mov rax, qword [0x140124be0]
mov qword [rcx], rax
mov rcx, qword [0x14011ea48]
add rcx, 0x18
mov qword [0x14011ea48], 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.14008a920
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x140003a6f
mov rax, qword [rax]
mov qword [0x14011ea68], rax
mov qword [0x140124be0], rax
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003c6c
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 0x140003ac7
mov rbx, qword [r8 + 0x3a0]
jmp 0x140003ace
mov rbx, qword [r8 + 0x3b0]
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea50]
jne 0x140003aea
call fcn.140007ad8
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea40]
jb 0x140003b04
mov rax, qword [0x140124be0]
mov qword [rcx], rax
mov rcx, qword [0x14011ea48]
add rcx, 0x18
mov qword [0x14011ea48], 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.14008a920
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x140003c6c
mov rax, qword [rax]
mov qword [0x14011ea68], rax
mov qword [0x140124be0], rax
jmp 0x140003c6c
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 [0x14011ea48]
cmp rcx, qword [0x14011ea50]
jne 0x140003bdc
call fcn.140007ad8
mov rcx, qword [0x14011ea48]
xor edx, edx
cmp rcx, qword [0x14011ea40]
jb 0x140003bf6
mov rax, qword [0x140124be0]
mov qword [rcx], rax
mov rcx, qword [0x14011ea48]
add rcx, 0x18
mov qword [0x14011ea48], 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 0x140003b37
mov rcx, qword [rbp - 0x18]
movzx eax, byte [rcx + 0x10]
add al, 0x64
cmp al, 3
ja 0x140003c43
movzx eax, word [rbp - 0x78]
mov qword [rbx + 0x40], rax
mov rax, qword [rbp - 0x40]
mov qword [rbx + 0x38], rax
mov rdi, qword [rbp - 0x58]
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.140018b90
call fcn.1400047f0
cmp dword [rbp + 0x1278], 0
jne 0x140003c83
mov esi, dword [rsp + 0x54]
jmp 0x14000236a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [rsp + 0x49], 0
jne 0x140003ca0
mov ecx, dword [rbp - 0x4c]
sub ecx, eax
add ecx, dword [rbp + 0x1270]
cmp ecx, 5
jg 0x140003d0b
mov dword [0x140124cd8], eax
mov dl, 1
mov byte [rbp + 0x1280], dl
mov byte [rsp + 0x49], dl
mov byte [rbp + 0x1288], r15b
mov rax, qword [0x14011c188]
mov esi, dword [rsp + 0x54]
mov r14d, dword [rsp + 0x40]
mov edi, dword [rsp + 0x44]
xor r11d, r11d
jmp 0x1400018f5
mov rcx, qword [0x14011c188]
mov byte [rcx + 0x7e], 0
jmp 0x140003ce9
mov rcx, qword [0x14011c188]
mov rdx, qword [0x140122a40]
test rdx, rdx
je 0x140003d25
lea r8, [rsp + 0x70]
mov rcx, qword [0x140122a70]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x140003d1e
xor r11d, r11d
mov esi, dword [rsp + 0x54]
mov rax, qword [0x14011c188]
jmp 0x1400018e1
mov rcx, qword [0x14011c188]
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 [0x14011c188]
mov byte [rax + 0x7e], 0
mov r14d, dword [rsp + 0x40]
movzx edx, byte [rbp + 0x1280]
mov edi, dword [rsp + 0x44]
xor r11d, r11d
jmp 0x1400018f5
mov dword [0x140124cd8], eax
movzx eax, byte [0x140122a27]
cmp byte [rsp + 0x4b], 0
mov edi, 0
cmovne eax, edi
cmp byte [rsp + 0x4c], dil
mov byte [0x140122a27], al
je 0x140003de1
mov eax, dword [0x140122a6c]
dec eax
test ebx, ebx
mov dword [0x140122a6c], eax
jle 0x140003de1
test eax, eax
jne 0x140003de1
cmp dword [0x140124c5c], edi
jne 0x140003de1
cmp dword [0x140122ec0], edi
jne 0x140003de1
cmp byte [0x140122a26], dil
je 0x140003de1
lea edx, [rdi + 9]
mov rcx, qword [0x140122a70]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140122a26]
test eax, eax
cmovne ecx, edi
mov byte [0x140122a26], cl
movzx eax, r14b
add rsp, 0x1328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret