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.1400d8050
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 [0x140122aa7], 0
jne 0x14000176c
mov byte [0x140122aa7], 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 - 0x44], eax
cmp dword [0x140122f44], 0
je 0x1400017b5
call fcn.140004310
xor r14b, r14b
mov dword [rsp + 0x40], r14d
cmp dword [0x140124cdc], 0
je 0x1400017da
call fcn.140003ff0
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 [0x140122aec]
cmp byte [0x140122aa6], 0
jne 0x140001820
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
mov rcx, qword [0x140122af0]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x140122aa6]
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 - 0x48], r8d
movzx ecx, byte [rbp + 0x1270]
mov qword [rbp - 0x28], rcx
mov r9d, dword [rbp + 0x1270]
mov dword [rsp + 0x58], r9d
movzx r9d, byte [rbp + 0x1270]
mov byte [rsp + 0x4a], r9b
movzx ecx, byte [rbp + 0x1270]
mov byte [rsp + 0x48], cl
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x40], rcx
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x10], rcx
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x58], rcx
mov rdi, qword [rbp + 0x1280]
mov qword [rsp + 0x68], rdi
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x18], rcx
mov rcx, qword [rbp + 0x1280]
mov qword [rbp - 0x50], rcx
mov edi, r10d
jmp 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 [0x140122aa7], 0
jne 0x1400019cd
cmp dword [0x14011c180], 0
je 0x140001988
cmp dword [0x140122aac], 0
jne 0x140001988
cmp dword [0x140122abc], 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 [0x140122aa7], 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 [0x140124588]
jne 0x140001ba3
cmp dword [0x140122ae8], 0
je 0x140001a47
mov r8d, 0x20
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, 0x20
lea rdx, [rbp + 0x120]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, str.SysTreeView32
lea rcx, [rbp + 0x120]
call fcn.1400bea20
test eax, eax
je 0x140001aa0
lea rdx, str.SysListView32
lea rcx, [rbp + 0x120]
call fcn.1400bea20
test eax, eax
jne 0x140001ba3
cmp dword [0x14011c180], 0
je 0x140001b0d
cmp dword [0x140122aac], 0
jne 0x140001b0d
cmp dword [0x140122abc], 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 [0x140122aac], 0
jne 0x140001c15
cmp dword [0x140122abc], 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 [0x1401245a0]
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, [0x140124590]
mov qword [rbp + 0x50], rax
mov rax, qword [0x140124598]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x64], r8d
mov byte [rbp + 0x68], r15b
lea rax, [rbp + 0x50]
mov qword [0x140124598], 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 [0x140124590]
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.140004530
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 [0x140122af8], 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 [0x1401250c0]
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, 0x11
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 [0x140124310]
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, [0x1400f9bd4]
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 [0x140122af0]
cmp qword [rsp + 0x70], rcx
jne case.0x1400025e5.1046
cmp dword [0x140122f44], 0
je 0x14000223c
call fcn.140004310
mov rax, qword [0x14011c188]
cmp dword [0x140124cdc], 0
je 0x14000226c
call fcn.140003ff0
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 0x140003dfb
mov ecx, dword [rbp - 0x44]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jle 0x140003dfb
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 0x140003dfb
mov ecx, dword [rbp - 0x44]
sub ecx, eax
add ecx, ebx
cmp ecx, 5
jle 0x140003dfb
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 0x140087370
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 0x140003da0
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 [0x140122ac8]
cmp qword [rsp + 0x70], rax
jne case.0x1400025e5.1046
cmp qword [rbp - 0x80], 0x1b
jne case.0x1400025e5.1046
xor edx, edx
mov rcx, qword [0x140122af0]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14000239a
mov qword [0x140122ad0], r10
mov dl, 1
mov byte [rbp + 0x1280], dl
jmp 0x1400018e8
mov edx, 4
lea rcx, [0x1401245b0]
call fcn.140046940
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 0x140003d74
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140124588]
jne 0x140003d74
mov r8d, 0x20
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 0x140003d74
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 0x140003d67
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 + 0x3e8c]
add rdx, rbx
jmp rdx
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1400025fe
cmp rbx, qword [0x140122af0]
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 + 0x3ed4]
mov edx, dword [rbx + rcx*4 + 0x3eb8]
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 [0x1401250c0]
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 - 0x48], r10d
mov r11, rcx
shr r11, 8
mov qword [rbp - 0x28], r11
shr rcx, 0x10
movzx edx, cx
xor eax, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x58], r10d
cmp edx, dword [r12 + 0xa8]
jae 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 + 0x3ef4]
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 0x140002cd6
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 [0x1401250c0]
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 [0x140122af0]
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 [0x140124ce0]
test rdx, rdx
je 0x1400028ab
mov rcx, qword [rbp - 0x78]
nop dword [rax + rax]
mov rsi, qword [rdx + 0x20]
mov qword [rbp - 0x40], rsi
test rsi, rsi
je 0x1400028a2
nop dword [rax]
cmp dword [rsi + 0x28], ecx
je 0x1400028b4
mov rsi, qword [rsi + 0x38]
mov qword [rbp - 0x40], rsi
test rsi, rsi
jne 0x140002890
mov rdx, qword [rdx + 0x38]
test rdx, rdx
jne 0x140002880
mov qword [rbp - 0x40], r10
jmp 0x1400018dd
cmp qword [rsi + 0x10], 0
je 0x1400018dd
mov edi, dword [rsi + 0x2c]
jmp 0x140002cda
mov ecx, dword [0x140122f40]
mov rbx, qword [rbp - 0x80]
cmp rbx, rcx
jae 0x1400018dd
mov rax, qword [0x140122f38]
mov rdi, qword [rax + rbx*8]
mov qword [rbp - 0x10], rdi
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140002931
mov rdx, qword [rdi + 8]
call fcn.140017d20
mov qword [rbp - 0x58], rax
test rax, rax
je 0x14000239a
mov rcx, qword [rdi + 0x20]
movzx edx, byte [rcx]
lea ecx, [rdx - 2]
test cl, 0xfd
je 0x140002929
cmp dl, 5
jne 0x140002935
mov rbx, qword [0x140122ae0]
mov qword [rbp - 0x58], rbx
jmp 0x140002935
xor eax, eax
mov qword [rbp - 0x58], rax
jmp 0x140002935
mov qword [rbp - 0x58], r10
mov rdx, qword [rbp - 0x78]
mov rcx, rdi
call 0x14001b2a0
cmp qword [rdi + 0x18], 0
jne 0x14000239a
xor r10d, r10d
cmp byte [rdi + 0x3e], r10b
je 0x140002974
movzx eax, word [rbp - 0x78]
mov word [0x140124cfc], ax
mov edi, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
jmp 0x140002cd6
mov word [0x140124cfc], r10w
mov edi, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
jmp 0x140002cd6
cmp byte [0x140124cc0], 0
jne 0x1400018dd
mov edi, r10d
jmp 0x140002cd6
mov rbx, qword [rbp - 0x80]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call 0x14002cb20
test rax, rax
jne 0x1400029cf
xor r10d, r10d
mov qword [rsp + 0x68], r10
mov rax, qword [0x14011c188]
jmp 0x1400018e1
cmp qword [rbx + 0x10], 0
je 0x140002a50
cmp qword [0x140122ad8], 0
jne 0x1400029f7
cmp dword [0x140122f54], 0
jne 0x1400029f7
test byte [0x140122f5e], 1
jne 0x1400029f7
call fcn.140018070
mov rcx, qword [rbx + 0x10]
cmp qword [rcx + 0x398], 0
je 0x140002a20
xor r10d, r10d
mov edi, r10d
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
mov rsi, qword [rbp - 0x40]
jmp 0x140002cdf
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp dword [0x140122abc], 0
jne 0x140002a50
lea rcx, [0x1401245b0]
call fcn.140046520
test al, al
jne 0x140002a50
mov edx, 6
lea rcx, [0x1401245b0]
call fcn.140046940
xor r10d, r10d
mov qword [rsp + 0x68], r10
mov rax, qword [0x14011c188]
jmp 0x1400018e1
mov rbx, qword [0x140122ad8]
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 dword [rax]
movzx edx, r15b
movzx r9d, r10b
cmp rbx, qword [rbp - 0x80]
je 0x140002ac0
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x68], rbx
test rbx, rbx
jne 0x140002a90
mov r14d, dword [rsp + 0x40]
movzx edx, byte [rbp + 0x1280]
xor r10d, r10d
jmp 0x1400018f5
mov rcx, qword [rbx + 0x10]
cmp r8d, 0x41c
jne 0x140002ad6
mov rcx, qword [rcx + 0x3a0]
jmp 0x140002aef
cmp r8d, 0x41e
jne 0x140002ae8
mov rcx, qword [rcx + 0x3b0]
jmp 0x140002aef
mov rcx, qword [rcx + 0x3a8]
mov dword [rsp + 0x40], r10d
mov byte [rbp + 0x1288], dl
test rcx, rcx
je 0x140002c72
xor ecx, ecx
mov edi, ecx
movzx r10d, r9b
mov dword [rsp + 0x40], r10d
mov byte [rbp + 0x1288], dl
mov rsi, qword [rbp - 0x40]
xor r10d, r10d
jmp 0x140002cdf
mov rbx, qword [rbp - 0x80]
movzx ecx, bx
mov edx, 0x7fff
and cx, dx
cmp cx, word [0x140122f5c]
jae 0x1400018dd
movzx edx, cx
mov rcx, qword [0x140122f48]
mov r11, qword [rcx + rdx*8]
mov qword [rbp - 0x18], r11
shr rbx, 0x10
test bx, bx
je 0x140002b86
mov ecx, 0xffff
add bx, cx
mov r10, qword [r11 + 0x28]
mov qword [rbp - 0x50], r10
je 0x140002b7d
nop dword [rax + rax]
mov r10, qword [r10 + 0x18]
add bx, cx
jne 0x140002b70
mov qword [rbp - 0x50], r10
test r10, r10
jne 0x140002c7a
cmp r8d, 0x400
jne 0x140002ba9
mov rcx, qword [rbp - 0x78]
shr rcx, 0x10
movzx edx, cx
lea esi, [rdx + 0x3c2bb3]
mov edi, 0x64
sub edi, edx
jmp 0x140002bb1
mov esi, r10d
mov edi, 0x3c2c17
cmp byte [r11 + 0x19], 0
jne 0x140002bc1
mov qword [rbp - 0x50], r10
jmp 0x1400018dd
mov qword [rbp - 0x58], r10
mov rbx, r10
mov r10, qword [r11 + 0x28]
mov qword [rbp - 0x50], r10
test r10, r10
je 0x140002c66
nop dword [rax]
cmp byte [r10 + 0x30], 0
je 0x140002c39
cmp byte [0x140122d9d], 0
je 0x140002bf7
cmp byte [r10 + 0x31], 0
je 0x140002c39
cmp edi, 0x66
lea ecx, [rsi - 0x3c2bb3]
jbe 0x140002c07
mov ecx, 0x65
movzx eax, byte [r10 + 0x2c]
cmp ecx, eax
jle 0x140002c39
mov rcx, qword [r10 + 0x10]
test rcx, rcx
je 0x140002c2f
mov rdx, qword [r11 + 0x20]
call fcn.140017d20
mov qword [rbp - 0x58], rax
mov r10, qword [rbp - 0x50]
test rax, rax
je 0x140002c39
cmp qword [r10 + 0x10], 0
jne 0x140002c4c
mov rbx, r10
mov r10, qword [r10 + 0x18]
mov qword [rbp - 0x50], r10
test r10, r10
je 0x140002c5a
mov r11, qword [rbp - 0x18]
jmp 0x140002be0
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
jmp 0x140002c6d
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x14011c188]
mov r10, rbx
mov qword [rbp - 0x50], rbx
test r10, r10
jne 0x140002c7a
xor r10d, r10d
jmp 0x1400018dd
movzx ecx, byte [r10 + 0x2b]
cmp byte [r10 + 0x2a], cl
jb 0x140002ca7
cmp byte [r10 + 0x2e], 0
je 0x140002c91
mov byte [r10 + 0x2f], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbp - 0x50]
mov dword [rcx + 0x20], eax
mov esi, dword [rsp + 0x54]
jmp 0x14000239a
mov rcx, qword [r10 + 0x10]
test rcx, rcx
je 0x140002cc9
movzx edx, byte [rcx]
lea ecx, [rdx - 2]
test cl, 0xfd
je 0x140002cc9
cmp dl, 5
jne 0x140002ccf
mov rcx, qword [0x140122ae0]
jmp 0x140002ccb
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov edi, dword [r10 + 0x24]
xor r10d, r10d
mov rsi, qword [rbp - 0x40]
mov rbx, qword [rsp + 0x68]
mov ecx, dword [0x14011c184]
cmp dword [0x140122abc], ecx
jl 0x140002d2f
test r14, r14
je 0x140002d0f
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 + 0x10]
mov esi, dword [rsp + 0x54]
jmp 0x14000239a
cmp edi, dword [rax + 0x68]
jge 0x140002d64
test r14, r14
je 0x140002d56
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 0x140002d1c
jmp 0x1400018dd
mov r10b, 1
mov dword [rsp + 0x40], r10d
lea ecx, [r8 - 0x402]
cmp ecx, 0x1c
ja case.0x140002d93.1027
lea r9, [0x140000000]
movzx ecx, byte [r9 + rcx + 0x3f40]
mov edx, dword [r9 + rcx*4 + 0x3f38]
add rdx, r9
jmp rdx
mov rax, qword [0x140124c68]
mov qword [0x140124c70], rax
mov eax, dword [0x140124cf4]
mov dword [0x140124cf8], eax
cmp r8d, 0x401
jne 0x140002dc2
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
jmp 0x140002dca
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x20]
mov qword [0x140124c68], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140124cf4], eax
mov rax, qword [0x14011c188]
inc dword [0x140122abc]
lea rbx, [rax + 0xc8]
mov qword [0x14011c188], rbx
mov rax, qword [0x140122ab0]
test rax, rax
je 0x140002e0f
lea rcx, [rax + 0x80]
xor eax, eax
jmp 0x140002e12
mov rcx, rax
test rbx, rbx
je 0x140002e1e
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, [0x1401245b0]
call fcn.140045cc0
movzx eax, byte [rbx + 0xc2]
test al, al
jne 0x140002e8e
mov byte [rbx + 0xc2], al
cmp dword [0x140124d54], 0
je 0x140002ea0
cmp dword [0x140124d50], 0
jne 0x140002ea4
test al, al
je 0x140002eda
mov dword [rbx + 0x88], 0x10
mov byte [rbx + 0x7f], 0
test al, al
jne 0x140002eda
cmp dword [0x140124d54], 0
jge 0x140002ec8
mov dword [rbx + 0x70], 0xffffffff
jmp 0x140002eda
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x74], eax
mov eax, dword [0x140124d54]
mov dword [rbx + 0x70], eax
mov rbx, qword [0x14011c188]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140124d58], eax
mov edx, dword [rsp + 0x78]
lea eax, [rdx - 0x401]
cmp eax, 0x1d
ja case.0x140002f1b.1032
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x3f80]
mov ecx, dword [r8 + rax*4 + 0x3f60]
add rcx, r8
jmp rcx
movsxd rbx, dword [rsp + 0x50]
lea rcx, [rbx + rbx*2]
inc ebx
mov dword [rsp + 0x50], ebx
mov dword [rbp + rcx*8 + 0x90], 5
mov rax, r12
cmp byte [rsp + 0x4a], 0
cmovne rax, r13
mov qword [rbp + rcx*8 + 0x80], rax
mov edi, dword [rbp - 0x48]
lea eax, [rdi - 1]
cmp eax, 0x10
ja case.0x140002f65.6
mov ecx, dword [r8 + rax*4 + 0x3fa0]
add rcx, r8
jmp rcx
mov rax, qword [rbp - 0x6c]
mov qword [rbp - 0x60], rax
mov rsi, qword [rbp - 0x28]
test r13, r13
je 0x140003131
test sil, sil
je 0x14000308b
mov dword [rbp - 0x38], 0x80000000
movzx ecx, byte [r13 + 0x50]
sub ecx, 9
je 0x14000300f
sub ecx, 1
je 0x140002fdf
sub ecx, 1
je 0x140002fb3
cmp ecx, 6
jne 0x140003040
xor r8d, r8d
mov edx, 0x419
jmp 0x140003032
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 0x140003040
mov qword [rbp - 0x38], rax
mov edx, 0x1104
mov r8d, 1
jmp 0x140003032
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 0x140003040
mov dword [rbp - 0x38], 2
mov edx, 0x100e
jmp 0x140003032
xor r9d, r9d
xor r8d, r8d
mov edx, 0x19f
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x140003040
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 0x140003059
lea rdx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x14000306b
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 0x14000307d
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 0x140003124
sub edx, 1
je 0x1400030fa
cmp edx, 1
jne 0x140003131
mov rcx, qword [r13 + 0x28]
test sil, sil
je 0x1400030cc
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 0x140003136
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 0x140003136
test sil, sil
je 0x140003131
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 0x140003136
xor r9d, r9d
xor r8d, r8d
mov edx, 0x19f
jmp 0x14000310e
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 0x14000316a
mov rax, r13
lea ecx, [rbx + 5]
jmp 0x14000317b
mov qword [rdx + 8], 0xffffffffffffffff
lea rax, [0x1400f9b70]
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 + 8]
jmp 0x1400035ac
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 0x140003267
mov r8, r13
lea r9d, [rsi + 5]
jmp 0x140003281
lea rax, [rcx + rcx*2]
mov qword [rbp + rax*8 + 0x88], 0xffffffffffffffff
lea r8, [0x1400f9b70]
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 0x14007b0a0
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 0x1400032ee
mov r8d, dword [0x14012458c]
mov edx, 0x60
mov ecx, dword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400032f1
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 0x140003337
mov r8d, dword [0x14012458c]
mov edx, 0x60
mov ecx, dword [rbp - 0x5c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x14000333a
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 + 8]
mov r14d, edi
jmp 0x140003429
cmp edi, 4
jne 0x140003594
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 0x1400033cc
mov r8d, dword [0x14012458c]
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 0x140003417
mov r8d, dword [0x14012458c]
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 + 8]
movzx edi, byte [rsp + 0x48]
mov esi, dword [rsp + 0x58]
cmp byte [rsp + 0x4a], 0
je 0x140003604
lea rcx, [r13 + 0x38]
lea rbx, [r12 + 0x90]
jmp 0x14000360f
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 8]
mov r14d, ebx
jmp 0x140003429
cmp byte [r13 + 0x50], 0x17
jne 0x14000352c
cmp edi, 7
jne 0x14000352c
mov dword [rbp + 0x160], 0xd
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 0x1400034b5
movzx edx, word [rbp + 0x170]
movsxd rax, ebx
lea rcx, [rax + rax*2]
lea r8d, [rbx + 1]
test dx, dx
je 0x1400034dd
mov qword [rbp + rcx*8 + 0x88], 0xffffffffffffffff
lea rax, [rbp + 0x170]
mov edx, r9d
jmp 0x1400034e5
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 0x14000341f
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 0x14000356d
sub eax, edx
je 0x140003566
cmp eax, 2
je 0x14000356d
jmp 0x140003597
cmp byte [r13 + 0x50], 0xa
jne 0x140003597
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 0x140003597
mov r14d, ebx
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 8]
cmp edi, 5
jne 0x140003429
xor ebx, ebx
movzx edi, byte [rsp + 0x48]
mov esi, dword [rsp + 0x58]
test r13, r13
je 0x140003432
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 0x140092810
cmp eax, 7
je 0x1400035f5
cmp qword [r12 + 0x30], 0
jne 0x140003432
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
jmp 0x140003cfe
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 0x140092810
mov r9, qword [r12 + 0x30]
mov r8d, dword [rbp - 0x48]
test r9, r9
je 0x140003766
mov eax, r8d
sub eax, 1
je 0x1400036e7
cmp eax, 1
jne 0x140003766
cmp qword [rbp + 0x70], 0
jne 0x140003785
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 0x1400036a6
mov byte [r12 + 0x115], al
mov rdx, qword [r12]
mov rcx, r12
test al, al
je 0x1400036a3
call qword [rdx + 8]
jmp 0x1400036a6
call qword [rdx + 0x10]
cmp dword [0x140122abc], 0
jne 0x140003785
lea rcx, [0x1401245b0]
call fcn.140046520
test al, al
jne 0x140003785
mov edx, 4
lea rcx, [0x1401245b0]
call fcn.140046940
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
jmp 0x140003cfe
xor eax, eax
mov ecx, eax
movsxd rdx, dword [rbx + 0x10]
test edx, edx
jle 0x14000376c
mov rax, qword [rbx]
mov r8, rdx
add rax, 0xe
mov rdx, qword [rsp + 0x60]
mov rsi, rdx
cmp dword [rax - 6], 1
jne 0x140003710
cmp byte [rax], 0
je 0x14000372f
inc rcx
add rax, 0x10
cmp rcx, r8
jl 0x140003702
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x50], r14d
mov byte [rbp + 0x1288], r15b
jmp 0x14000376c
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 0x14000376c
cmp r8d, 1
jne 0x140003785
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 + 0x10]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
jmp 0x140003cfe
test r12, r12
je 0x1400037b5
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 + 8]
mov rbx, qword [rsi + 0x20]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
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 0x1400037f8
cmp rcx, rsi
je 0x1400037fd
mov rcx, qword [rcx + 0x38]
inc edx
test rcx, rcx
jne 0x1400037e8
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 0x140003836
call fcn.140007b78
mov rcx, qword [0x14011ea48]
xor r8d, r8d
cmp rcx, qword [0x14011ea40]
jb 0x140003850
mov rax, qword [0x140124c60]
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 0x14008b1b0
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x1400038be
mov rax, qword [rax]
mov qword [0x14011ea68], rax
mov qword [0x140124c60], rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test r12, r12
je 0x140003cfe
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
jmp 0x140003cfe
mov rax, qword [rbp - 0x58]
mov qword [rbx + 0x38], rax
mov rdi, qword [rbp - 0x10]
movzx eax, byte [rdi + 0x35]
mov byte [rbx + 0xc5], al
mov rax, qword [rdi + 0x20]
mov qword [rbx + 0x80], rax
movzx eax, byte [rdi + 0x39]
cmp byte [rdi + 0x38], al
jae 0x140003cfe
mov byte [0x140124cfe], 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 [0x140124c68]
mov rcx, rdi
call 0x1400925a0
dec byte [rdi + 0x38]
jmp 0x140003cfe
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x140003986
mov ecx, 0xd
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14000397d
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
mov eax, 2
je 0x140003982
mov eax, 1
xor ebx, ebx
jmp 0x14000398a
xor ebx, ebx
mov eax, ebx
mov edi, 1
mov dword [rbp + 0x10], edi
mov qword [rbp], rax
mov byte [0x140124cc0], dil
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea50]
jne 0x1400039b9
call fcn.140007b78
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea40]
jb 0x1400039d3
mov rax, qword [0x140124c60]
mov qword [rcx], rax
mov rcx, qword [0x14011ea48]
add rcx, 0x18
mov qword [0x14011ea48], rcx
mov qword [rcx], rbx
lea rax, [0x1400f9bd8]
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, [0x140124c90]
call 0x140092680
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x140003a36
mov rax, qword [rax]
mov qword [0x14011ea68], rax
mov qword [0x140124c60], rax
mov byte [0x140124cc0], 0
jmp 0x140003cfe
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 0x140003a79
call fcn.140007b78
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea40]
jb 0x140003a93
mov rax, qword [0x140124c60]
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 0x14008b1b0
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x140003b01
mov rax, qword [rax]
mov qword [0x14011ea68], rax
mov qword [0x140124c60], rax
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140003cfe
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 0x140003b59
mov rbx, qword [r8 + 0x3a0]
jmp 0x140003b60
mov rbx, qword [r8 + 0x3b0]
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea50]
jne 0x140003b7c
call fcn.140007b78
mov rcx, qword [0x14011ea48]
cmp rcx, qword [0x14011ea40]
jb 0x140003b96
mov rax, qword [0x140124c60]
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 0x14008b1b0
mov rax, qword [0x14011ea48]
sub rax, 0x18
mov qword [0x14011ea48], rax
cmp rax, qword [0x14011ea40]
jb 0x140003cfe
mov rax, qword [rax]
mov qword [0x14011ea68], rax
mov qword [0x140124c60], rax
jmp 0x140003cfe
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 0x140003c6e
call fcn.140007b78
mov rcx, qword [0x14011ea48]
xor edx, edx
cmp rcx, qword [0x14011ea40]
jb 0x140003c88
mov rax, qword [0x140124c60]
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 0x140003bc9
mov rcx, qword [rbp - 0x18]
movzx eax, byte [rcx + 0x10]
add al, 0x64
cmp al, 3
ja 0x140003cd5
movzx eax, word [rbp - 0x78]
mov qword [rbx + 0x40], rax
mov rax, qword [rbp - 0x58]
mov qword [rbx + 0x38], rax
mov rdi, qword [rbp - 0x50]
movzx eax, byte [rdi + 0x2c]
mov byte [rbx + 0xc5], al
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x80], rax
mov rdx, rdi
call fcn.140018b20
call fcn.140004880
cmp dword [rbp + 0x1278], 0
jne 0x140003d15
mov esi, dword [rsp + 0x54]
jmp 0x14000239a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [rsp + 0x49], 0
jne 0x140003d32
mov ecx, dword [rbp - 0x44]
sub ecx, eax
add ecx, dword [rbp + 0x1270]
cmp ecx, 5
jg 0x140003d9d
mov dword [0x140124d58], 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 0x140003d7b
mov rcx, qword [0x14011c188]
mov rdx, qword [0x140122ac0]
test rdx, rdx
je 0x140003db7
lea r8, [rsp + 0x70]
mov rcx, qword [0x140122af0]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x140003db0
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 [0x140124d58], eax
movzx eax, byte [0x140122aa7]
cmp byte [rsp + 0x4b], 0
mov edi, 0
cmovne eax, edi
cmp byte [rsp + 0x4c], dil
mov byte [0x140122aa7], al
je 0x140003e73
mov eax, dword [0x140122aec]
dec eax
test ebx, ebx
mov dword [0x140122aec], eax
jle 0x140003e73
test eax, eax
jne 0x140003e73
cmp dword [0x140124cdc], edi
jne 0x140003e73
cmp dword [0x140122f44], edi
jne 0x140003e73
cmp byte [0x140122aa6], dil
je 0x140003e73
lea edx, [rdi + 9]
mov rcx, qword [0x140122af0]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140122aa6]
test eax, eax
cmovne ecx, edi
mov byte [0x140122aa6], cl
movzx eax, r14b
add rsp, 0x1328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret