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.140004300
xor r14b, r14b
mov dword [rsp + 0x40], r14d
cmp dword [0x140124c5c], 0
je 0x1400017da
call fcn.140003fe0
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 r10d, r10d
mov dword [rsp + 0x44], r10d
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, r10d
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 r10d, r10d
cmp ecx, dword [rax + 0x70]
jb 0x140001982
cmp dword [rax + 0x6c], r10d
je 0x140001982
mov byte [rax + 0x7f], 1
cmp byte [rax + 0xc2], r10b
jne 0x140001982
mov dword [rax + 0x88], 5
movzx eax, byte [rax + 0x7f]
jmp 0x14000198b
mov eax, r10d
mov r9d, 0x311
test eax, eax
cmovne r9d, r10d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
jne 0x140001c7c
mov rax, qword [0x14011c188]
xor r10d, r10d
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
test eax, eax
je 0x140001c2e
mov edi, dword [rbp - 0x70]
xor ecx, ecx
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 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 r10d, r10d
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, r10d
mov r9d, 0x311
test eax, eax
mov ecx, 0
cmovne r9d, ecx
xor r8d, r8d
xor edx, edx
mov eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001c78
test esi, esi
jne 0x1400022cf
test r15b, r15b
jne 0x1400022cf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r15b, 1
mov byte [rbp + 0x1288], r15b
mov rax, qword [0x14011c188]
xor r10d, r10d
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.140004520
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 0x140002370
movzx r15d, byte [rbp + 0x1288]
mov esi, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x78]
cmp qword [0x140122a78], 0
je 0x1400021da
lea eax, [r8 - 0x100]
cmp eax, 9
jbe 0x140001d8a
lea eax, [r8 - 0x200]
cmp eax, 0xe
ja 0x1400021da
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x140001df7
nop dword [rax]
nop dword [rax + rax]
mov edx, 0xffffffe0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassLongW]
cmp ax, word [0x140125040]
jne 0x140001dcd
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
jne 0x140001e09
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140001df2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x140001da0
mov r8d, dword [rsp + 0x78]
xor r10d, r10d
mov r12d, r10d
mov rax, qword [0x14011c188]
jmp 0x1400021e4
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rax + 0x78]
test rdx, rdx
je 0x140001e2e
lea r8, [rsp + 0x70]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140002370
mov r8d, dword [rsp + 0x78]
cmp r8d, 0x100
jne 0x1400020bc
cmp byte [r12 + 0x108], 0
je 0x140002036
mov rbx, qword [rbp - 0x80]
cmp rbx, 0x27
ja 0x140002036
movabs rax, 0xa600000200
bt rax, rbx
jae 0x140002036
mov rbx, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, dword [r12 + 0xa8]
jae 0x140001e99
mov rdx, qword [r12 + 0x50]
mov r13, qword [rdx + rax*8]
cmp qword [r13 + 0x28], rbx
je 0x140001ece
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
je 0x140001eb1
cmp rax, qword [r12 + 0x30]
jne 0x140001e74
xor r14d, r14d
mov r13d, r14d
mov r8d, dword [rsp + 0x78]
cmp r8d, 0x100
je 0x140002039
jmp 0x1400020bc
cmp eax, 0x2af8
je 0x140001eb1
xor r14d, r14d
test r13, r13
je 0x140001eb7
movzx eax, byte [r13 + 0x50]
cmp al, 0xf
je 0x140001eb7
mov ebx, r14d
cmp al, 0x13
jne 0x140001f04
mov rbx, r13
mov rax, qword [rbp - 0x80]
add rax, 0xffffffffffffffdb
test rax, 0xfffffffffffffffd
je 0x14000237e
mov rax, qword [rbp - 0x80]
add rax, 0xffffffffffffffdb
test rax, 0xfffffffffffffffd
je 0x140001eb7
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x140001eb7
cmp qword [rbp - 0x80], 9
jne 0x140001f4b
cmp byte [r13 + 0x50], 0xc
jne 0x140001f4b
mov edx, 0xfffffff0
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x140001eb7
test rbx, rbx
jne 0x140001fe9
movzx r9d, byte [r13 + 0x52]
cmp r9b, 0xff
je 0x140001fa6
xor dl, dl
mov ecx, r14d
mov r8d, dword [r12 + 0xa8]
test r8d, r8d
je 0x140001fa6
mov r10, qword [r12 + 0x50]
nop word [rax + rax]
mov eax, ecx
mov rbx, qword [r10 + rax*8]
cmp byte [rbx + 0x50], 0x13
jne 0x140001f93
cmp dl, r9b
je 0x140001fa1
inc dl
inc ecx
cmp ecx, r8d
jb 0x140001f80
xor dl, dl
mov ecx, r14d
jmp 0x140001fbc
test rbx, rbx
jne 0x140001fe9
xor dl, dl
mov ecx, r14d
mov r8d, dword [r12 + 0xa8]
test r8d, r8d
je 0x140001eb7
mov r9, qword [r12 + 0x50]
mov eax, ecx
mov rbx, qword [r9 + rax*8]
cmp byte [rbx + 0x50], 0x13
jne 0x140001fd3
test dl, dl
je 0x140001fe0
inc dl
inc ecx
cmp ecx, r8d
jae 0x140001eb7
jmp 0x140001fc1
test rbx, rbx
je 0x140001eb7
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140001eb7
mov rax, qword [rbp - 0x80]
cmp rax, 0x22
je 0x1400023b9
cmp rax, 9
jne 0x140002023
lea ecx, [rax + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1400023b9
xor r8d, r8d
mov byte [rsp + 0x20], 1
mov r9b, 1
mov rdx, rbx
jmp 0x140002392
xor r14d, r14d
mov rbx, qword [rbp - 0x80]
cmp rbx, 0x1b
je 0x140002070
cmp rbx, 9
je 0x140002070
cmp rbx, 0x41
jne 0x1400020bc
lea ecx, [rbx - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1400020b7
lea ecx, [rbx + 0x64]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400020b7
nop
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, dword [r12 + 0xa8]
jae 0x14000209c
mov rdx, qword [r12 + 0x50]
mov r13, qword [rdx + rax*8]
mov rcx, qword [r13 + 0x28]
cmp rcx, rdi
je 0x140002142
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
je 0x1400020b4
cmp rax, qword [r12 + 0x30]
jne 0x140002070
mov r13, r14
mov r8d, dword [rsp + 0x78]
mov rcx, qword [0x140124288]
test rcx, rcx
je 0x1400020e9
cmp r8d, 0x100
jne 0x1400020e9
mov rbx, qword [rbp - 0x80]
cmp rbx, 0xd
je 0x140002468
cmp rbx, 0x1b
je 0x140002451
cmp dword [r12 + 0xa8], 0
jne 0x140002101
cmp r8d, 0x106
je 0x1400021da
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 0x1400023a1
mov r8d, dword [rsp + 0x78]
jmp 0x1400021e1
cmp eax, 0x2af8
je 0x1400020b4
test r13, r13
je 0x1400020b7
cmp byte [r13 + 0x50], 0xc
jne 0x1400020b7
mov rbx, qword [rbp - 0x80]
cmp rbx, 0x1b
je 0x1400023ca
movzx eax, byte [r13 + 0x51]
cmp rbx, 0x41
je 0x1400021b8
test al, al
jns 0x1400020b7
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0xb
jb 0x1400020b7
lea r9, [0x1400f9bb4]
mov edx, 0xc2
mov r8d, 1
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000239a
test al, 2
jne 0x1400020b7
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000239a
mov rax, qword [0x14011c188]
xor r10d, r10d
cmp r8d, 0x402
ja 0x1400025c4
je 0x1400025fe
cmp r8d, 0x113
ja 0x1400024e6
jne 0x14000247e
cmp qword [rbp - 0x78], 0
jne case.0x1400025e5.1046
mov rcx, qword [0x140122a70]
cmp qword [rsp + 0x70], rcx
jne case.0x1400025e5.1046
cmp dword [0x140122ec0], 0
je 0x14000223c
call fcn.140004300
mov rax, qword [0x14011c188]
cmp dword [0x140124c5c], 0
je 0x14000226c
call fcn.140003fe0
mov r10d, dword [rsp + 0x40]
movzx r14d, r10b
test al, al
mov eax, 1
cmovne r14d, eax
mov dword [rsp + 0x40], r14d
mov rax, qword [0x14011c188]
jmp 0x140002271
mov r14d, dword [rsp + 0x40]
cmp dword [rbp + 0x1278], 0
je 0x1400023a1
cmp esi, 1
jl 0x1400023a1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [rbp + 0x1270]
cmp byte [rsp + 0x49], 0
jne 0x140003deb
mov ecx, dword [rbp - 0x4c]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jle 0x140003deb
mov byte [rbp + 0x1288], r15b
mov rax, qword [0x14011c188]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018fd
mov edi, dword [rsp + 0x44]
test edi, edi
jne 0x14000230c
cmp byte [rsp + 0x49], dil
je 0x14000230c
test esi, esi
jle 0x1400022eb
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 r10d, r10d
jmp 0x1400018f5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [rbp + 0x1270]
cmp byte [rsp + 0x49], 0
jne 0x140003deb
mov ecx, dword [rbp - 0x4c]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jle 0x140003deb
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 r10d, r10d
jmp 0x1400018f5
movzx r15d, byte [rbp + 0x1288]
mov esi, dword [rsp + 0x54]
jmp 0x14000239a
cmp qword [rbp - 0x80], 0x27
sete r8b
mov byte [rsp + 0x20], r14b
xor r9d, r9d
mov rdx, r13
mov rcx, r12
call fcn.140086a90
mov rax, qword [0x14011c188]
mov r14d, dword [rsp + 0x40]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018f5
mov r8b, 1
mov byte [rsp + 0x20], r8b
movzx r9d, r8b
mov rdx, rbx
jmp 0x140002392
xor r10d, r10d
mov ecx, r10d
movsxd rdx, dword [r12 + 0xa0]
test edx, edx
jle 0x140002732
mov rax, qword [r12 + 0x90]
add rax, 0xe
nop dword [rax]
cmp dword [rax - 6], 3
jne 0x1400023fb
cmp byte [rax], r10b
je 0x14000240d
inc rcx
add rax, 0x10
cmp rcx, rdx
jge 0x140003d90
jmp 0x1400023f0
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]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018f5
xor r9d, r9d
mov edx, 0x1116
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000239a
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1116
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000239a
cmp r8d, 0x12
je 0x1400024d0
cmp r8d, 0x4b
je 0x1400024bc
cmp r8d, 0x100
jne case.0x1400025e5.1046
mov rax, qword [0x140122a48]
cmp qword [rsp + 0x70], rax
jne case.0x1400025e5.1046
cmp qword [rbp - 0x80], 0x1b
jne case.0x1400025e5.1046
xor edx, edx
mov rcx, qword [0x140122a70]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14000239a
mov qword [0x140122a50], r10
mov dl, 1
mov byte [rbp + 0x1280], dl
jmp 0x1400018e8
mov edx, 4
lea rcx, [0x140124530]
call fcn.140046950
jmp 0x14000239a
mov ecx, r8d
sub ecx, 0x312
je 0x1400025fe
sub ecx, 0xee
je case.0x1400025e5.1045
cmp ecx, 1
je case.0x1400025e5.1045
xor edi, edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140003d64
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140124508]
jne 0x140003d64
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x120]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
mov rcx, rdi
lea rdx, [rbp + 0x120]
lea r8, str.32770
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140003d64
cmp rcx, 7
jne 0x140002560
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 0x140003d57
mov rax, qword [0x14011c188]
mov byte [rax + 0x7e], 0
mov r14d, dword [rsp + 0x40]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018f5
lea ecx, [r8 - 0x414]
cmp ecx, 0xa
ja case.0x1400025e5.1046
lea rbx, [0x140000000]
mov edx, dword [rbx + rcx*4 + 0x3e7c]
add rdx, rbx
jmp rdx
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400025fe
cmp rbx, qword [0x140122a70]
jne case.0x1400025e5.1046
lea rbx, [0x140000000]
mov r14, r10
lea ecx, [r8 - 0x401]
cmp ecx, 0x1d
ja case.0x14000262a.1031
movzx ecx, byte [rbx + rcx + 0x3ec4]
mov edx, dword [rbx + rcx*4 + 0x3ea8]
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 0x140002652
xor edi, edi
mov r12d, edi
jmp 0x14000250c
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
je case.0x1400025e5.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 eax, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x58], r10d
cmp edx, dword [r12 + 0xa8]
jae 0x1400026b3
mov rax, qword [r12 + 0x50]
mov r13, qword [rax + rdx*8]
jmp 0x1400026b6
mov r13, rax
lea rbx, [r12 + 0x90]
mov byte [rsp + 0x4a], 0
xor dil, dil
mov byte [rsp + 0x48], dil
lea eax, [r10 - 1]
cmp eax, 0x10
ja case.0x1400026e6.6
lea r9, [0x140000000]
mov ecx, dword [r9 + rax*4 + 0x3ee4]
add rcx, r9
jmp rcx
mov r14, qword [r12 + 0x60]
test r14, r14
jne 0x140002701
xor r10d, r10d
mov rax, qword [0x14011c188]
jmp 0x1400018e1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov r8d, eax
mov qword [rsp + 0x60], r8
test eax, eax
jne case.0x1400026e6.2
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r10d, r10d
mov qword [r12 + 0x60], r10
mov rax, qword [0x14011c188]
jmp 0x1400018e1
mov dil, 2
mov byte [rsp + 0x48], dil
mov dword [rsp + 0x58], r8d
test r13, r13
je 0x14000239a
lea rbx, [r13 + 0x38]
mov byte [rsp + 0x4a], 1
test rbx, rbx
je case.0x1400026e6.5
mov rdx, qword [rbx + 8]
test rdx, rdx
je case.0x1400026e6.5
cmp byte [rdx + 0x18], 0
jne 0x14000278e
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 0x14000278e
cmp byte [rax + rcx*8 + 0xe], dil
je 0x140002794
mov rdx, qword [rdx + 8]
jmp 0x140002766
test r14, r14
je 0x1400027ac
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r10d, r10d
mov qword [r12 + 0x60], r10
jmp 0x1400027af
xor r10d, r10d
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
xor r10d, r10d
mov edi, r10d
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
jmp 0x140002cc6
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x140002865
mov edx, 0xffffffe0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassLongW]
cmp ax, word [0x140125040]
je 0x140002816
xor r10d, r10d
mov r12d, r10d
jmp 0x14000282f
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r12, rax
test rax, rax
jne 0x140002854
xor r10d, r10d
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140002854
cmp rax, qword [0x140122a70]
jne case.0x1400025e5.1046
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
jmp 0x140002868
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
xor r10d, r10d
jmp 0x140002868
mov r12, r10
mov rdx, qword [0x140124c60]
test rdx, rdx
je 0x1400028ab
mov rcx, qword [rbp - 0x78]
nop dword [rax + rax]
mov rsi, qword [rdx + 0x20]
mov qword [rbp - 0x48], rsi
test rsi, rsi
je 0x1400028a2
nop dword [rax]
cmp dword [rsi + 0x28], ecx
je 0x1400028b4
mov rsi, qword [rsi + 0x38]
mov qword [rbp - 0x48], rsi
test rsi, rsi
jne 0x140002890
mov rdx, qword [rdx + 0x38]
test rdx, rdx
jne 0x140002880
mov qword [rbp - 0x48], r10
jmp 0x1400018dd
cmp qword [rsi + 0x10], 0
je 0x1400018dd
mov edi, dword [rsi + 0x2c]
jmp 0x140002cca
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 0x14000291e
mov rdx, qword [rdi + 8]
call fcn.140017c70
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14000239a
mov rcx, qword [rdi + 0x20]
movzx edx, byte [rcx]
dec dl
test dl, 0xfd
je 0x140002922
xor eax, eax
mov qword [rbp - 0x40], rax
jmp 0x140002922
mov qword [rbp - 0x40], r10
mov rdx, qword [rbp - 0x78]
mov rcx, rdi
call fcn.14001b330
cmp qword [rdi + 0x18], 0
jne 0x14000239a
xor r10d, r10d
cmp byte [rdi + 0x3e], r10b
je 0x140002961
movzx eax, word [rbp - 0x78]
mov word [0x140124c7c], ax
mov edi, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
jmp 0x140002cc6
mov word [0x140124c7c], r10w
mov edi, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
jmp 0x140002cc6
cmp byte [0x140124c40], 0
jne 0x1400018dd
mov edi, r10d
jmp 0x140002cc6
mov rbx, qword [rbp - 0x80]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call fcn.14002cbc0
test rax, rax
jne 0x1400029bc
xor r10d, r10d
mov qword [rsp + 0x68], r10
mov rax, qword [0x14011c188]
jmp 0x1400018e1
cmp qword [rbx + 0x10], 0
je 0x140002a3d
cmp qword [0x140122a60], 0
jne 0x1400029e4
cmp dword [0x140122ed0], 0
jne 0x1400029e4
test byte [0x140122e87], 1
jne 0x1400029e4
call fcn.140017fc0
mov rcx, qword [rbx + 0x10]
cmp qword [rcx + 0x398], 0
je 0x140002a0d
xor r10d, r10d
mov edi, r10d
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
mov rsi, qword [rbp - 0x48]
jmp 0x140002ccf
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
cmp dword [0x140122a3c], 0
jne 0x140002a3d
lea rcx, [0x140124530]
call fcn.140046530
test al, al
jne 0x140002a3d
mov edx, 6
lea rcx, [0x140124530]
call fcn.140046950
xor r10d, r10d
mov qword [rsp + 0x68], r10
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 r10d, dword [rsp + 0x40]
nop word [rax + rax]
movzx edx, r15b
movzx r9d, r10b
cmp rbx, qword [rbp - 0x80]
je 0x140002ab0
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x68], rbx
test rbx, rbx
jne 0x140002a80
mov r14d, dword [rsp + 0x40]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018f5
mov rcx, qword [rbx + 0x10]
cmp r8d, 0x41c
jne 0x140002ac6
mov rcx, qword [rcx + 0x3a0]
jmp 0x140002adf
cmp r8d, 0x41e
jne 0x140002ad8
mov rcx, qword [rcx + 0x3b0]
jmp 0x140002adf
mov rcx, qword [rcx + 0x3a8]
mov dword [rsp + 0x40], r10d
mov byte [rbp + 0x1288], dl
test rcx, rcx
je 0x140002c62
xor ecx, ecx
mov edi, ecx
movzx r10d, r9b
mov dword [rsp + 0x40], r10d
mov byte [rbp + 0x1288], dl
mov rsi, qword [rbp - 0x48]
xor r10d, r10d
jmp 0x140002ccf
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 r11, qword [rcx + rdx*8]
mov qword [rbp - 0x18], r11
shr rbx, 0x10
test bx, bx
je 0x140002b76
mov ecx, 0xffff
add bx, cx
mov r10, qword [r11 + 0x28]
mov qword [rbp - 0x58], r10
je 0x140002b6d
nop dword [rax + rax]
mov r10, qword [r10 + 0x18]
add bx, cx
jne 0x140002b60
mov qword [rbp - 0x58], r10
test r10, r10
jne 0x140002c6a
cmp r8d, 0x400
jne 0x140002b99
mov rcx, qword [rbp - 0x78]
shr rcx, 0x10
movzx edx, cx
lea esi, [rdx + 0x3c2bb3]
mov edi, WSAAsyncSelect
sub edi, edx
jmp 0x140002ba1
mov esi, r10d
mov edi, 0x3c2c17
cmp byte [r11 + 0x19], 0
jne 0x140002bb1
mov qword [rbp - 0x58], r10
jmp 0x1400018dd
mov qword [rbp - 0x40], r10
mov rbx, r10
mov r10, qword [r11 + 0x28]
mov qword [rbp - 0x58], r10
test r10, r10
je 0x140002c56
nop dword [rax]
cmp byte [r10 + 0x30], 0
je 0x140002c29
cmp byte [0x140122d45], 0
je 0x140002be7
cmp byte [r10 + 0x31], 0
je 0x140002c29
cmp edi, 0x66
lea ecx, [rsi - 0x3c2bb3]
jbe 0x140002bf7
mov ecx, reloc.WSOCK32.dll_WSAAsyncSelect
movzx eax, byte [r10 + 0x2c]
cmp ecx, eax
jle 0x140002c29
mov rcx, qword [r10 + 0x10]
test rcx, rcx
je 0x140002c1f
mov rdx, qword [r11 + 0x20]
call fcn.140017c70
mov qword [rbp - 0x40], rax
mov r10, qword [rbp - 0x58]
test rax, rax
je 0x140002c29
cmp qword [r10 + 0x10], 0
jne 0x140002c3c
mov rbx, r10
mov r10, qword [r10 + 0x18]
mov qword [rbp - 0x58], r10
test r10, r10
je 0x140002c4a
mov r11, qword [rbp - 0x18]
jmp 0x140002bd0
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
jmp 0x140002c5d
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
mov r10, rbx
mov qword [rbp - 0x58], rbx
test r10, r10
jne 0x140002c6a
xor r10d, r10d
jmp 0x1400018dd
movzx ecx, byte [r10 + 0x2b]
cmp byte [r10 + 0x2a], cl
jb 0x140002c97
cmp byte [r10 + 0x2e], 0
je 0x140002c81
mov byte [r10 + 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 0x14000239a
mov rcx, qword [r10 + 0x10]
test rcx, rcx
je 0x140002cb9
movzx edx, byte [rcx]
lea ecx, [rdx - 2]
test cl, 0xfd
je 0x140002cb9
cmp dl, 5
jne 0x140002cbf
mov rcx, qword [0x140122a58]
jmp 0x140002cbb
xor ecx, ecx
mov qword [rbp - 0x40], rcx
mov edi, dword [r10 + 0x24]
xor r10d, r10d
mov rsi, qword [rbp - 0x48]
mov rbx, qword [rsp + 0x68]
mov ecx, dword [reloc.WSOCK32.dll_inet_addr]
cmp dword [0x140122a3c], ecx
jl 0x140002d1f
test r14, r14
je 0x140002cff
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r10d, r10d
mov qword [r12 + 0x60], r10
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
cmp r8d, 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 0x14000239a
cmp edi, dword [rax + 0x68]
jge 0x140002d54
test r14, r14
je 0x140002d46
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
xor r10d, r10d
mov qword [r12 + 0x60], r10
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
cmp r8d, 0x41b
je 0x140002d0c
jmp 0x1400018dd
mov r10b, 1
mov dword [rsp + 0x40], r10d
lea ecx, [r8 - 0x402]
cmp ecx, 0x1c
ja case.0x140002d83.1027
lea r9, [0x140000000]
movzx ecx, byte [r9 + rcx + 0x3f30]
mov edx, dword [r9 + rcx*4 + 0x3f28]
add rdx, r9
jmp rdx
mov rax, qword [0x140124be8]
mov qword [0x140124bf0], rax
mov eax, dword [0x140124c74]
mov dword [0x140124c78], eax
cmp r8d, 0x401
jne 0x140002db2
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
jmp 0x140002dba
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]
inc dword [0x140122a3c]
lea rbx, [rax + 0xc8]
mov qword [0x14011c188], rbx
mov rax, qword [0x140122a30]
test rax, rax
je 0x140002dff
lea rcx, [rax + 0x80]
xor eax, eax
jmp 0x140002e02
mov rcx, rax
test rbx, rbx
je 0x140002e0e
lea rax, [rbx + 0x80]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [rcx + 0x40]
movsd qword [rax + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm1
movups xmmword [rbx + 0x30], xmm1
movups xmmword [rbx + 0x40], xmm1
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x60], xmm1
movups xmmword [rbx + 0x70], xmm1
mov byte [rbx + 0x7f], 1
mov dword [rbx + 0x68], edi
xor edx, edx
lea rcx, [0x140124530]
call fcn.140045c90
movzx eax, byte [rbx + 0xc2]
test al, al
jne 0x140002e7e
mov byte [rbx + 0xc2], al
cmp dword [0x140124cd4], 0
je 0x140002e90
cmp dword [0x140124cd0], 0
jne 0x140002e94
test al, al
je 0x140002eca
mov dword [rbx + 0x88], reloc.WSOCK32.dll_recv
mov byte [rbx + 0x7f], 0
test al, al
jne 0x140002eca
cmp dword [0x140124cd4], 0
jge 0x140002eb8
mov dword [rbx + 0x70], 0xffffffff
jmp 0x140002eca
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.0x140002f0b.1032
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x3f70]
mov ecx, dword [r8 + rax*4 + 0x3f50]
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.0x140002f55.6
mov ecx, dword [r8 + rax*4 + 0x3f90]
add rcx, r8
jmp rcx
mov rax, qword [rbp - 0x6c]
mov qword [rbp - 0x60], rax
mov rsi, qword [rbp - 0x28]
test r13, r13
je 0x140003121
test sil, sil
je 0x14000307b
mov dword [rbp - 0x38], 0x80000000
movzx ecx, byte [r13 + 0x50]
sub ecx, 9
je 0x140002fff
sub ecx, 1
je 0x140002fcf
sub ecx, 1
je 0x140002fa3
cmp ecx, 6
jne 0x140003030
xor r8d, r8d
mov edx, 0x419
jmp 0x140003022
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 0x140003030
mov qword [rbp - 0x38], rax
mov edx, 0x1104
mov r8d, 1
jmp 0x140003022
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 0x140003030
mov dword [rbp - 0x38], 2
mov edx, 0x100e
jmp 0x140003022
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 0x140003030
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 0x140003049
lea rdx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x14000305b
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 0x14000306d
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 0x140003114
sub edx, 1
je 0x1400030ea
cmp edx, 1
jne 0x140003121
mov rcx, qword [r13 + 0x28]
test sil, sil
je 0x1400030bc
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 0x140003126
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 0x140003126
test sil, sil
je 0x140003121
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 0x140003126
xor r9d, r9d
xor r8d, r8d
mov edx, OleCreatePictureIndirect
jmp 0x1400030fe
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 0x14000315a
mov rax, r13
lea ecx, [rbx + 5]
jmp 0x14000316b
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 0x14000359c
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 0x140003257
mov r8, r13
lea r9d, [rsi + 5]
jmp 0x140003271
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.14007a7c0
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 0x1400032de
mov r8d, dword [0x14012450c]
mov edx, 0x60
mov ecx, dword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400032e1
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 0x140003327
mov r8d, dword [0x14012450c]
mov edx, 0x60
mov ecx, dword [rbp - 0x5c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x14000332a
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 0x140003419
cmp edi, 4
jne 0x140003584
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 0x1400033bc
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 0x140003407
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 0x1400035f4
lea rcx, [r13 + 0x38]
lea rbx, [r12 + 0x90]
jmp 0x1400035ff
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
mov r14d, ebx
jmp 0x140003419
cmp byte [r13 + 0x50], 0x17
jne 0x14000351c
cmp edi, 7
jne 0x14000351c
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 0x1400034a5
movzx edx, word [rbp + 0x170]
movsxd rax, ebx
lea rcx, [rax + rax*2]
lea r8d, [rbx + 1]
test dx, dx
je 0x1400034cd
mov qword [rbp + rcx*8 + 0x88], 0xffffffffffffffff
lea rax, [rbp + 0x170]
mov edx, r9d
jmp 0x1400034d5
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 0x14000340f
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 0x14000355d
sub eax, edx
je 0x140003556
cmp eax, 2
je 0x14000355d
jmp 0x140003587
cmp byte [r13 + 0x50], 0xa
jne 0x140003587
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 0x140003587
mov r14d, ebx
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_htonl]
cmp edi, 5
jne 0x140003419
xor ebx, ebx
movzx edi, byte [rsp + 0x48]
mov esi, dword [rsp + 0x58]
test r13, r13
je 0x140003422
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.140091f60
cmp eax, 7
je 0x1400035e5
cmp qword [r12 + 0x30], 0
jne 0x140003422
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003cee
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.140091f60
mov r9, qword [r12 + 0x30]
mov r8d, dword [rbp - 0x50]
test r9, r9
je 0x140003756
mov eax, r8d
sub eax, 1
je 0x1400036d7
cmp eax, 1
jne 0x140003756
cmp qword [rbp + 0x70], 0
jne 0x140003775
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 0x140003696
mov byte [r12 + 0x115], al
mov rdx, qword [r12]
mov rcx, r12
test al, al
je 0x140003693
call qword [rdx + reloc.WSOCK32.dll_htonl]
jmp 0x140003696
call qword [rdx + reloc.WSOCK32.dll_recv]
cmp dword [0x140122a3c], 0
jne 0x140003775
lea rcx, [0x140124530]
call fcn.140046530
test al, al
jne 0x140003775
mov edx, 4
lea rcx, [0x140124530]
call fcn.140046950
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003cee
xor eax, eax
mov ecx, eax
movsxd rdx, dword [rbx + 0x10]
test edx, edx
jle 0x14000375c
mov rax, qword [rbx]
mov r8, rdx
add rax, 0xe
mov rdx, qword [rsp + 0x60]
mov rsi, rdx
cmp dword [rax - 6], 1
jne 0x140003700
cmp byte [rax], 0
je 0x14000371f
inc rcx
add rax, 0x10
cmp rcx, r8
jl 0x1400036f2
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x50], r14d
mov byte [rbp + 0x1288], r15b
jmp 0x14000375c
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 0x14000375c
cmp r8d, 1
jne 0x140003775
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 0x140003cee
test r12, r12
je 0x1400037a5
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 0x1400037e8
cmp rcx, rsi
je 0x1400037ed
mov rcx, qword [rcx + 0x38]
inc edx
test rcx, rcx
jne 0x1400037d8
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 0x140003826
call fcn.140007b58
mov rcx, qword [0x14011ea48]
xor r8d, r8d
cmp rcx, qword [0x14011ea40]
jb 0x140003840
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.14008a8d0
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x1400038ae
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 0x140003cee
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x140003cee
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 0x140003cee
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.140091cf0
dec byte [rdi + 0x38]
jmp 0x140003cee
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x140003976
mov ecx, recv
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14000396d
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
mov eax, 2
je 0x140003972
mov eax, 1
xor ebx, ebx
jmp 0x14000397a
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 0x1400039a9
call fcn.140007b58
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea40]
jb 0x1400039c3
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.140091dd0
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x140003a26
mov rax, qword [rax]
mov qword [0x14011ea68], rax
mov qword [0x140124be0], rax
mov byte [0x140124c40], 0
jmp 0x140003cee
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 0x140003a69
call fcn.140007b58
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea40]
jb 0x140003a83
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.14008a8d0
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x140003af1
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 0x140003cee
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 0x140003b49
mov rbx, qword [r8 + 0x3a0]
jmp 0x140003b50
mov rbx, qword [r8 + 0x3b0]
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea50]
jne 0x140003b6c
call fcn.140007b58
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea40]
jb 0x140003b86
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.14008a8d0
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x140003cee
mov rax, qword [rax]
mov qword [0x14011ea68], rax
mov qword [0x140124be0], rax
jmp 0x140003cee
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 0x140003c5e
call fcn.140007b58
mov rcx, qword [0x14011ea48]
xor edx, edx
cmp rcx, qword [0x14011ea40]
jb 0x140003c78
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 0x140003bb9
mov rcx, qword [rbp - 0x18]
movzx eax, byte [rcx + 0x10]
add al, 0x64
cmp al, 3
ja 0x140003cc5
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.140018bb0
call fcn.140004870
cmp dword [rbp + 0x1278], 0
jne 0x140003d05
mov esi, dword [rsp + 0x54]
jmp 0x14000239a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [rsp + 0x49], 0
jne 0x140003d22
mov ecx, dword [rbp - 0x4c]
sub ecx, eax
add ecx, dword [rbp + 0x1270]
cmp ecx, 5
jg 0x140003d8d
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 r10d, r10d
jmp 0x1400018f5
mov rcx, qword [0x14011c188]
mov byte [rcx + 0x7e], 0
jmp 0x140003d6b
mov rcx, qword [0x14011c188]
mov rdx, qword [0x140122a40]
test rdx, rdx
je 0x140003da7
lea r8, [rsp + 0x70]
mov rcx, qword [0x140122a70]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x140003da0
xor r10d, r10d
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]
mov edi, dword [rsp + 0x44]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
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 0x140003e63
mov eax, dword [0x140122a6c]
dec eax
test ebx, ebx
mov dword [0x140122a6c], eax
jle 0x140003e63
test eax, eax
jne 0x140003e63
cmp dword [0x140124c5c], edi
jne 0x140003e63
cmp dword [0x140122ec0], edi
jne 0x140003e63
cmp byte [0x140122a26], dil
je 0x140003e63
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