Function at 0x140001720
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Log keystrokes via polling
Set current directory

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1388]
mov eax, 0x1488
call fcn.1400c1030
sub rsp, rax
mov byte [rsp + 0x50], 0
mov ebx, edx
mov r15d, ecx
mov r14d, 1
cmp edx, 2
jne 0x140001770
cmp byte [0x140105c23], 0
mov ebx, r14d
jne 0x140001770
mov byte [0x140105c23], bl
mov byte [rsp + 0x50], bl
xor esi, esi
cmp dword [0x140108f8c], esi
je 0x1400017aa
cmp qword [0x140108f70], rsi
je 0x140001797
mov rcx, qword [0x140108f60]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140108f70], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140108f8c], esi
mov qword [0x140108f60], rsi
cmp r15d, 0x8000012f
jne 0x1400017cc
mov r15d, 0xa
mov byte [rbp + 0x13d8], r14b
mov dword [rbp + 0x13d0], r15d
mov dword [rbp - 0x58], esi
jmp 0x1400017eb
cmp r15d, 5
setle al
mov byte [rbp + 0x13d8], al
test al, al
je 0x1400017e2
mov dword [rbp - 0x58], esi
jmp 0x1400017eb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x58], eax
cmp dword [0x140106d48], esi
je 0x1400017f8
call fcn.140003c70
xor dil, dil
cmp dword [0x140108e6c], esi
mov dword [rsp + 0x70], edi
je 0x14000181a
call fcn.1400039b0
test al, al
movzx edi, dil
cmovne edi, r14d
mov dword [rsp + 0x70], edi
test r15d, r15d
jle 0x14000185c
cmp ebx, r14d
jne 0x14000185c
inc dword [0x140105dcc]
cmp byte [0x140105c22], sil
mov byte [rsp + 0x51], r14b
jne 0x140001861
mov rcx, qword [0x140105dd0]
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x140105c22]
jmp 0x140001861
mov byte [rsp + 0x51], sil
mov r12, qword [rbp + 0x13e0]
mov r13, qword [rbp + 0x13e0]
mov r14, qword [rsp + 0x60]
movsxd rax, ebx
movsxd rdi, r15d
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x13e0]
mov qword [rsp + 0x48], rdi
mov edi, esi
mov qword [rbp - 0x50], rax
mov byte [rsp + 0x52], sil
mov byte [rbp + 0x13e8], sil
mov dword [rsp + 0x40], esi
movsxd rbx, r15d
jmp 0x1400018b5
mov r15d, dword [rbp + 0x13d0]
jmp 0x1400018b5
mov edi, dword [rsp + 0x40]
mov rbx, r15
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
test rbx, rbx
jle 0x14000198b
cmp byte [rbp + 0x13e8], 0
jne 0x14000198b
cmp byte [0x140105c23], 0
jne 0x140001998
cmp dword [0x140101a50], 0
je 0x14000193f
cmp dword [0x140105d80], 0
jne 0x14000193f
mov rcx, qword [0x140101a58]
cmp byte [rcx + 0x12c], 0
jne 0x140001936
cmp byte [rcx + 0x12e], 0
jne 0x140001936
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001936
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140101a58]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001936
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
jmp 0x140001943
xor ecx, ecx
mov eax, ecx
test eax, eax
lea rcx, [rsp + 0x78]
mov eax, 0
mov r9d, 0x311
cmovne r9d, eax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x1400018b5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x140001c53
mov dword [0x140108ed8], eax
jmp 0x140001c53
cmp byte [0x140105c23], 0
je 0x140001b16
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140001b16
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401082f0]
jne 0x140001b16
cmp dword [0x140105dc8], 0
je 0x140001a24
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x180]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
xor edi, edi
lea rdx, [rbp + 0x180]
mov eax, edi
lea r8, str.32770
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x140001a1b
cmp rax, 7
jne 0x140001a00
cmp cx, word [r8 + rax*2 - 2]
sete al
test al, al
jne 0x140001a7d
jmp 0x140001a26
xor edi, edi
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x140001b16
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x180]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, str.SysTreeView32
lea rcx, [rbp + 0x180]
call fcn.1400abda0
test eax, eax
je 0x140001a7d
lea rdx, str.SysListView32
lea rcx, [rbp + 0x180]
call fcn.1400abda0
test eax, eax
jne 0x140001b16
call fcn.1400043c0
test eax, eax
mov dword [rsp + 0x20], edi
mov eax, 0xffffffff
lea rcx, [rsp + 0x78]
mov ebx, 0x311
mov r9d, 0x1ff
cmovne ebx, eax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
xor edx, edx
lea rcx, [rsp + 0x78]
mov r9d, ebx
mov r8d, 0x20e
test eax, eax
je 0x140001b91
mov edi, dword [rbp - 0x68]
xor eax, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001ae1
mov r9d, 0x1ff
jmp 0x140001b87
mov eax, dword [rbp - 0x68]
lea rcx, [rsp + 0x78]
sub eax, edi
xor edx, edx
test eax, eax
mov eax, 1
mov dword [rsp + 0x20], eax
jle 0x140001b08
mov r9d, 0x1ff
xor r8d, r8d
jmp 0x140001b9a
mov r9d, ebx
mov r8d, 0x20e
jmp 0x140001b9a
cmp dword [0x140101a50], 0
je 0x140001b77
cmp dword [0x140105d80], 0
jne 0x140001b77
mov rcx, qword [0x140101a58]
cmp byte [rcx + 0x12c], 0
jne 0x140001b6c
cmp byte [rcx + 0x12e], 0
jne 0x140001b6c
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001b6c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140101a58]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001b6c
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
xor edi, edi
jmp 0x140001b7b
xor edi, edi
mov eax, edi
test eax, eax
mov r9d, 0x311
cmovne r9d, edi
xor r8d, r8d
lea rcx, [rsp + 0x78]
xor edx, edx
mov eax, 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001c4c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140108ed8]
mov ecx, eax
sub ecx, esi
movsxd rbx, r15d
cmp ecx, 3
cmova edx, eax
mov dword [0x140108ed8], edx
test r15d, r15d
jne 0x140001be9
cmp byte [rsp + 0x52], r15b
jne 0x140001be9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [rsp + 0x40]
mov byte [rsp + 0x52], 1
jmp 0x1400018b5
mov edi, dword [rsp + 0x40]
test edi, edi
jne 0x140001c18
cmp byte [rbp + 0x13d8], dil
je 0x140001c18
test r15d, r15d
jle 0x140001c08
lea ecx, [rdi + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov edi, eax
mov dword [rsp + 0x40], eax
jmp 0x1400018b5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [rbp + 0x13d8], 0
jne 0x1400037f2
mov ecx, dword [rbp - 0x58]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jle 0x1400037f2
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400018b5
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
inc edi
cmp dword [0x140108308], 0
mov dword [rsp + 0x40], edi
je 0x140001c95
mov r9, qword [rbp - 0x70]
lea rax, [rbp + 0x170]
mov r8, qword [rbp - 0x78]
mov edx, dword [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.140003cf0
test al, al
jne 0x1400018b5
mov r8d, dword [0x140105dac]
mov r11, qword [rsp + 0x78]
mov edx, dword [rbp - 0x80]
test r8d, r8d
je 0x14000219d
test r11, r11
je 0x14000219d
cmp r11, qword [0x140105dd0]
je 0x14000219d
cmp edx, 0x414
je 0x14000219d
cmp edx, 0x402
je 0x14000219d
lea eax, [rdx - 0x100]
cmp eax, 9
ja 0x1400020af
call qword [sym.imp.USER32.dll_GetFocus]
mov rsi, rax
test rax, rax
je 0x1400020a0
mov rcx, rax
call fcn.140091930
mov rbx, rax
test rax, rax
je 0x1400020a0
mov rcx, rsi
call fcn.14006dfb0
mov qword [rsp + 0x60], rax
mov r14, rax
test rax, rax
je 0x1400020a0
mov rdx, qword [rax + 0xb8]
test rdx, rdx
je 0x140001d4e
lea r8, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
movsxd rbx, r15d
test eax, eax
jne 0x1400018b5
mov edx, dword [rbp - 0x80]
mov rbx, qword [rbp - 0x78]
cmp edx, 0x100
jne 0x140002025
cmp byte [r14 + 0x100], 0
je 0x140001f22
cmp rbx, 0x27
ja 0x140001f22
movabs rax, 0xa600000200
bt rax, rbx
jae 0x140001f22
mov rdx, rsi
mov rcx, r14
call fcn.1400016a0
mov qword [rsp + 0x58], rax
mov r15, rax
test rax, rax
je 0x140001f0b
movzx ecx, byte [rax + 8]
cmp cl, 0xf
je 0x140001f0b
mov rbx, qword [rbp - 0x78]
xor eax, eax
mov edi, eax
cmp cl, 0x13
jne 0x140001e02
lea rax, [rbx - 0x25]
mov rdi, r15
test rax, 0xfffffffffffffffd
jne 0x140001e02
cmp rbx, 0x27
mov byte [rsp + 0x20], 0
mov rdx, r15
sete r8b
xor r9d, r9d
mov rcx, r14
call fcn.14007e5c0
mov rbx, qword [rsp + 0x48]
mov r15d, dword [rbp + 0x13d0]
mov edi, dword [rsp + 0x40]
jmp 0x1400018b5
lea rax, [rbx - 0x25]
test rax, 0xfffffffffffffffd
je 0x140001f0f
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140001f0b
mov rbx, qword [rbp - 0x78]
cmp rbx, 9
jne 0x140001e54
cmp byte [r15 + 8], 0xc
jne 0x140001e54
mov rcx, qword [r15]
lea edx, [rbx - 0x19]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x140001f0b
mov rbx, qword [rbp - 0x78]
test rdi, rdi
jne 0x140001eb4
movzx edx, byte [r15 + 0xa]
mov rcx, r14
call fcn.14007e310
mov rdi, rax
test rax, rax
jne 0x140001eb4
mov r9d, dword [r14 + 0x20]
xor r8b, r8b
mov edx, eax
test r9d, r9d
je 0x140001f0f
mov r10, qword [r14 + 0x28]
mov eax, edx
lea rcx, [rax + rax*4]
cmp byte [r10 + rcx*8 + 8], 0x13
lea rcx, [rcx*8]
jne 0x140001ea2
test r8b, r8b
je 0x140001eab
inc r8b
inc edx
cmp edx, r9d
jb 0x140001e84
jmp 0x140001f0f
lea rdi, [rcx + r10]
test rdi, rdi
je 0x140001f0f
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140001f0b
mov rax, qword [rbp - 0x78]
cmp rax, 0x22
je 0x140001ef7
cmp rax, 9
jne 0x140001ee4
lea ecx, [rax + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140001ef7
xor r8d, r8d
mov byte [rsp + 0x20], 1
mov r9b, 1
mov rdx, rdi
jmp 0x140001de5
mov r8b, 1
mov rdx, rdi
mov byte [rsp + 0x20], r8b
movzx r9d, r8b
jmp 0x140001de5
mov rbx, qword [rbp - 0x78]
mov edx, dword [rbp - 0x80]
cmp edx, 0x100
jne 0x140002025
mov edi, dword [rsp + 0x40]
cmp rbx, 0x1b
je 0x140001f63
cmp rbx, 9
je 0x140001f63
cmp rbx, 0x41
jne 0x140002025
lea ecx, [rbx - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
je 0x14000201e
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x14000201e
mov rdx, rsi
mov rcx, r14
call fcn.1400016a0
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14000201e
cmp byte [rax + 8], 0xc
jne 0x14000201e
mov rbx, qword [rbp - 0x78]
cmp rbx, 0x1b
je 0x140001fe0
cmp rbx, 0x41
je 0x140001fb4
cmp byte [rax + 9], 0
jge 0x140002022
lea r9, [0x1400cffe4]
mov edx, 0xc2
mov r8d, 1
jmp 0x140001fc6
test byte [rax + 9], 2
jne 0x140002022
or r9, 0xffffffffffffffff
mov edx, 0xb1
xor r8d, r8d
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15d, dword [rbp + 0x13d0]
mov rbx, qword [rsp + 0x48]
jmp 0x1400018b5
cmp qword [r14 + 0x40], 0
movsxd r15, dword [rbp + 0x13d0]
mov rbx, r15
je 0x1400018b5
mov rcx, qword [r14 + 8]
xor r9d, r9d
mov edx, 0x414
mov r8d, 0x2af80007
call qword [sym.imp.USER32.dll_PostMessageW]
mov r15d, dword [rbp + 0x13d0]
mov rbx, qword [rsp + 0x48]
jmp 0x1400018b5
mov rbx, qword [rbp - 0x78]
mov edx, dword [rbp - 0x80]
mov rcx, qword [0x140108258]
test rcx, rcx
je 0x140002092
cmp edx, 0x100
jne 0x140002092
cmp rbx, 0xd
jne 0x140002065
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1116
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x48]
mov r15d, dword [rbp + 0x13d0]
mov edi, dword [rsp + 0x40]
jmp 0x1400018b5
cmp rbx, 0x1b
jne 0x140002092
xor r9d, r9d
lea r8d, [rbx - 0x1a]
mov edx, 0x1116
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x48]
mov r15d, dword [rbp + 0x13d0]
mov edi, dword [rsp + 0x40]
jmp 0x1400018b5
mov r11, qword [rsp + 0x78]
mov r8d, dword [0x140105dac]
jmp 0x1400020b3
mov edx, dword [rbp - 0x80]
mov r11, qword [rsp + 0x78]
mov r8d, dword [0x140105dac]
mov rbx, qword [rbp - 0x78]
xor esi, esi
mov edi, esi
test r8d, r8d
jle 0x14000212a
mov rcx, qword [0x140101a58]
mov ebx, esi
nop word [rax + rax]
mov byte [rcx + 0x128], 1
lea rdx, [rsp + 0x78]
mov eax, dword [rbp - 0x80]
mov dword [rcx + 0x124], eax
mov rax, qword [0x140105dc0]
mov rcx, qword [rbx + rax]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14000217a
mov rcx, qword [0x140101a58]
inc edi
mov r8d, dword [0x140105dac]
add rbx, 8
mov byte [rcx + 0x128], sil
cmp edi, r8d
jl 0x1400020d0
mov rbx, qword [rbp - 0x78]
mov edx, dword [rbp - 0x80]
mov r11, qword [rsp + 0x78]
mov edi, dword [rsp + 0x40]
cmp edx, 0x401
ja 0x1400022cb
cmp edx, 0x400
jae 0x1400022f3
mov eax, edx
sub eax, 0x12
je 0x1400022a7
sub eax, 0x39
je 0x140002288
sub eax, 0xb5
je 0x140002251
sub eax, 0x13
je 0x1400021a5
cmp eax, 0x1ff
je 0x140002305
jmp 0x140002578
mov rax, qword [0x140101a58]
mov rbx, qword [rsp + 0x48]
mov r15d, dword [rbp + 0x13d0]
mov edi, dword [rsp + 0x40]
mov byte [rax + 0x128], sil
jmp 0x1400018b5
mov rbx, qword [rbp - 0x78]
xor esi, esi
jmp 0x14000212e
cmp qword [rbp - 0x70], 0
jne 0x140002578
cmp r11, qword [0x140105dd0]
jne 0x140002578
cmp dword [0x140106d48], 0
je 0x1400021cb
call fcn.140003c70
cmp dword [0x140108e6c], 0
je 0x1400021ee
call fcn.1400039b0
movzx ebx, byte [rsp + 0x70]
test al, al
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x70], ebx
jmp 0x1400021f2
mov ebx, dword [rsp + 0x70]
cmp qword [rbp - 0x18], 0
movsxd r15, dword [rbp + 0x13d0]
je 0x1400018b2
mov rdi, qword [rsp + 0x48]
movsxd r15, dword [rbp + 0x13d0]
cmp rdi, 1
jl 0x1400018ae
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [rbp + 0x13d8], 0
jne 0x140003888
mov ecx, dword [rbp - 0x58]
movsxd r15, dword [rbp + 0x13d0]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jle 0x14000388f
mov edi, dword [rsp + 0x40]
mov rbx, r15
jmp 0x1400018b5
cmp r11, qword [0x140105d90]
jne 0x140002578
cmp rbx, 0x1b
jne 0x140002578
mov rcx, qword [0x140105dd0]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov r15d, dword [rbp + 0x13d0]
mov rbx, qword [rsp + 0x48]
jmp 0x1400018b5
mov r15d, dword [rbp + 0x13d0]
mov rbx, qword [rsp + 0x48]
mov qword [0x140105d98], rsi
mov byte [rbp + 0x13e8], 1
jmp 0x1400018b5
xor r8d, r8d
lea rcx, [0x140108310]
lea edx, [r8 + 5]
call fcn.14001b210
mov r15d, dword [rbp + 0x13d0]
mov rbx, qword [rsp + 0x48]
jmp 0x1400018b5
cmp edx, 0x402
je 0x140002305
cmp edx, 0x414
je 0x140002305
cmp edx, 0x415
je 0x1400022f3
lea eax, [rdx - 0x41b]
cmp eax, 2
jbe 0x140002305
jmp 0x140002578
test r11, r11
je 0x140002305
cmp r11, qword [0x140105dd0]
jne 0x140002578
lea eax, [rdx - 0x401]
mov r15, rsi
cmp eax, 0x1c
ja case.0x140002332.1031
lea r9, [0x140000000]
movzx eax, byte [r9 + rax + 0x3948]
mov ecx, dword [r9 + rax*4 + 0x392c]
add rcx, r9
jmp rcx
mov edx, esi
mov rcx, rsi
test r8d, r8d
jle 0x140002359
mov r9, qword [0x140105dc0]
mov rax, qword [r9 + rcx*8]
cmp qword [rax + 8], r11
je 0x140002366
inc edx
inc rcx
cmp edx, r8d
jl 0x140002345
mov r14, rsi
mov qword [rsp + 0x60], rsi
jmp 0x140002578
mov qword [rsp + 0x60], rax
mov r14, rax
test rax, rax
je 0x140002578
mov r9, qword [rbp - 0x70]
movzx r8d, bx
shr rbx, 0x10
movzx eax, bx
mov dword [rbp - 0x3c], eax
mov qword [rsp + 0x68], r9
mov dword [rsp + 0x54], r8d
mov dword [rsp + 0x44], esi
cmp r8d, 8
jne 0x1400023ae
mov qword [rsp + 0x68], rax
mov eax, 0x2af8
mov dword [rbp - 0x3c], eax
mov dword [rbp - 0x40], r9d
cmp eax, dword [r14 + 0x20]
jae 0x1400023c2
lea rcx, [rax + rax*4]
mov rax, qword [r14 + 0x28]
lea rcx, [rax + rcx*8]
jmp 0x1400023c5
mov rcx, rsi
mov eax, r8d
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x30], rsi
mov byte [rbp + 0x13e0], 0
sub eax, 5
je 0x1400024d8
sub eax, 1
je 0x1400024ae
sub eax, 1
je 0x14000249b
sub eax, 1
je 0x140002488
cmp eax, 1
je 0x140002474
mov rbx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400018a5
mov rbx, qword [rcx + 0x18]
test rbx, rbx
jne 0x14000245c
test byte [rcx + 9], 1
movsxd r15, dword [rbp + 0x13d0]
mov rbx, r15
je 0x1400018b5
mov rcx, qword [r14 + 8]
movsxd r15, dword [rbp + 0x13d0]
mov rbx, r15
test rcx, rcx
je 0x1400018b5
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov r15d, dword [rbp + 0x13d0]
mov rbx, qword [rsp + 0x48]
jmp 0x1400018b5
test byte [rcx + 9], 4
jne 0x140001fcf
mov byte [rbp + 0x13e0], 1
mov edi, esi
jmp 0x140002a4a
mov rbx, qword [r14 + 0x58]
test rbx, rbx
je 0x140001fcf
mov edi, esi
jmp 0x140002a4a
mov rbx, qword [r14 + 0x48]
test rbx, rbx
je 0x140001fcf
lea rdx, [r14 + 0x62]
jmp 0x1400024bf
mov rbx, qword [r14 + 0x40]
test rbx, rbx
je 0x140001fcf
lea rdx, [r14 + 0x61]
jmp 0x1400024bf
mov rbx, qword [r14 + 0x38]
test rbx, rbx
je 0x140001fcf
lea rdx, [r14 + 0x60]
mov qword [rbp - 0x30], rdx
test rdx, rdx
je 0x14000250f
cmp byte [rdx], 0
jne 0x140001fcf
mov edi, esi
jmp 0x140002a4a
mov rbx, qword [r14 + 0x50]
mov r15, qword [r14 + 0xa0]
test rbx, rbx
je 0x140002516
test r15, r15
je 0x140001fcf
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov eax, eax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140002516
mov edi, esi
jmp 0x140002a4a
mov rbx, qword [rsp + 0x48]
test r15, r15
je 0x1400018a5
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
mov r15d, dword [rbp + 0x13d0]
mov qword [r14 + 0xa0], rsi
jmp 0x1400018b5
test rbx, rbx
je 0x1400026f0
mov rcx, rbx
call fcn.14006df70
mov qword [rsp + 0x60], rax
mov r14, rax
test rax, rax
jne 0x1400026f8
test r11, r11
je 0x1400026f8
cmp r11, qword [0x140105dd0]
je 0x1400026f8
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x14000266d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401082f0]
jne 0x14000266d
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x180]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
mov rcx, rsi
lea rdx, [rbp + 0x180]
lea r8, str.32770
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14000266d
cmp rcx, 7
jne 0x1400025d0
mov rcx, qword [0x140101a58]
lea rdx, [rsp + 0x78]
mov byte [rcx + 0x128], 1
mov eax, dword [rbp - 0x80]
mov dword [rcx + 0x124], eax
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x14000265d
cmp dword [0x140105dc8], 0
je 0x14000263e
mov rax, qword [0x140103ef0]
lea rcx, [0x1400cfffc]
test rax, rax
je 0x140002638
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rax, qword [0x140101a58]
mov r15d, dword [rbp + 0x13d0]
mov rbx, qword [rsp + 0x48]
mov byte [rax + 0x128], 0
jmp 0x1400018b5
mov rcx, qword [0x140101a58]
mov byte [rcx + 0x128], 0
jmp 0x140002674
mov rcx, qword [0x140101a58]
mov rdx, qword [0x140105d88]
test rdx, rdx
je 0x1400026ab
mov rcx, qword [0x140105dd0]
lea r8, [rsp + 0x78]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
movsxd r15, dword [rbp + 0x13d0]
mov rbx, r15
test eax, eax
jne 0x1400018b5
mov rcx, qword [0x140101a58]
mov byte [rcx + 0x128], 1
mov eax, dword [rbp - 0x80]
mov dword [rcx + 0x124], eax
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rax, qword [0x140101a58]
mov r15d, dword [rbp + 0x13d0]
mov rbx, qword [rsp + 0x48]
mov byte [rax + 0x128], 0
jmp 0x1400018b5
mov r14, rsi
mov qword [rsp + 0x60], rsi
mov rcx, qword [0x140108e70]
test rcx, rcx
je 0x14000273a
mov rax, qword [rbp - 0x70]
nop dword [rax + rax]
mov r12, qword [rcx + 8]
test r12, r12
je 0x140002731
nop dword [rax]
cmp dword [r12 + 0x28], eax
je 0x14000274e
mov r12, qword [r12 + 0x38]
test r12, r12
jne 0x140002720
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x140002710
mov r15d, dword [rbp + 0x13d0]
mov r12, rsi
mov rbx, qword [rsp + 0x48]
jmp 0x1400018b5
mov rbx, qword [r12 + 0x10]
test rbx, rbx
je 0x140001fcf
mov edi, dword [r12 + 0x2c]
jmp 0x140002a4a
mov eax, dword [0x140106ce4]
cmp rbx, rax
jae 0x140001fcf
mov rax, qword [0x140106d40]
mov rdi, qword [rax + rbx*8]
mov qword [rbp - 0x20], rdi
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400027b6
mov rdx, qword [rdi + 8]
call fcn.14000b1e0
mov rbx, qword [rsp + 0x48]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140001df2
mov rcx, qword [rdi + 0x20]
movzx edx, byte [rcx]
dec dl
test dl, 0xfd
je 0x1400027ba
mov qword [rbp - 0x50], rsi
mov rdx, qword [rbp - 0x70]
mov rcx, rdi
call fcn.14000e4e0
cmp qword [rdi + 0x18], 0
mov rbx, qword [rsp + 0x48]
jne 0x140001df2
cmp byte [rdi + 0x3e], 0
movzx eax, si
cmovne ax, word [rbp - 0x70]
mov word [0x140108e8c], ax
mov rbx, qword [rdi]
mov edi, dword [rdi + 0x28]
jmp 0x140002a4a
cmp byte [0x140108e50], 0
mov rbx, qword [rsp + 0x48]
jne 0x1400018a5
mov rbx, qword [0x140108e38]
mov edi, esi
test rbx, rbx
cmove rbx, qword [0x1401089b8]
jmp 0x140002a4a
mov rcx, rbx
call fcn.140040550
mov rbx, qword [rsp + 0x48]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x140001df2
mov rbx, qword [rax + 0x10]
mov edi, esi
mov rbx, qword [rbx + 0x388]
jmp 0x140002a4a
mov rdi, qword [0x140105db8]
mov qword [rbp - 0x48], rdi
test rdi, rdi
je 0x140001ded
nop
cmp rdi, rbx
je 0x140002887
mov rdi, qword [rdi + 8]
mov qword [rbp - 0x48], rdi
test rdi, rdi
jne 0x140002860
mov rbx, qword [rsp + 0x48]
mov r15d, dword [rbp + 0x13d0]
mov edi, dword [rsp + 0x40]
jmp 0x1400018b5
mov rbx, qword [rsp + 0x48]
test rdi, rdi
je 0x140001df2
mov rbx, qword [rdi + 0x10]
cmp edx, 0x41c
jne 0x1400028aa
mov rbx, qword [rbx + 0x390]
jmp 0x1400028b1
mov rbx, qword [rbx + 0x398]
mov edi, dword [rsp + 0x40]
test rbx, rbx
je 0x140001fcf
mov edi, esi
jmp 0x140002a4a
movzx eax, bx
mov ecx, 0x7fff
and ax, cx
cmp ax, word [0x140106d60]
jae 0x140001fcf
movzx ecx, ax
mov rax, qword [0x140106d50]
shr rbx, 0x10
mov rdi, qword [rax + rcx*8]
mov qword [rbp - 0x28], rdi
test bx, bx
je 0x140002918
mov r13, qword [rdi + 0x28]
mov eax, 0xffff
add bx, ax
je 0x14000290f
mov r13, qword [r13 + 0x10]
add bx, ax
jne 0x140002906
test r13, r13
jne 0x1400029a9
cmp byte [rdi + 0x19], 0
jne 0x140002936
mov rbx, qword [rsp + 0x48]
mov r13, rsi
mov r15d, dword [rbp + 0x13d0]
mov edi, dword [rsp + 0x40]
jmp 0x1400018b5
mov r13, qword [rdi + 0x28]
mov rbx, rsi
mov qword [rbp - 0x50], rsi
test r13, r13
je 0x140002994
cmp byte [r13 + 0x28], 0
je 0x14000298b
cmp byte [0x140106b5d], 0
je 0x140002962
mov rcx, r13
call fcn.140086830
test al, al
je 0x14000298b
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x140002981
mov rdx, qword [rdi + 0x20]
call fcn.14000b1e0
mov rdi, qword [rbp - 0x28]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14000298b
cmp qword [r13 + 8], 0
jne 0x140002997
mov rbx, r13
mov r13, qword [r13 + 0x10]
test r13, r13
jne 0x140002946
mov r13, rbx
mov rbx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x40]
test r13, r13
je 0x1400018a5
mov rbx, qword [r13]
mov rcx, rbx
call fcn.140086740
test eax, eax
je 0x1400029be
cmp eax, 1
jne 0x1400029cc
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400029cc
movzx ecx, byte [rax]
jmp 0x1400029ce
xor cl, cl
movzx eax, byte [r13 + 0x23]
cmp byte [r13 + 0x22], al
jb 0x140002a19
add cl, 0x34
cmp cl, 0x14
ja 0x1400029ee
movzx eax, cl
mov ecx, 0x10fc01
bt ecx, eax
jb 0x140002a19
cmp byte [r13 + 0x26], 0
je 0x1400029fa
mov byte [r13 + 0x27], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rbx, qword [rsp + 0x48]
mov r15d, dword [rbp + 0x13d0]
mov edi, dword [rsp + 0x40]
mov dword [r13 + 0x18], eax
jmp 0x1400018b5
mov rax, qword [r13 + 8]
test rax, rax
je 0x140002a3e
movzx ecx, byte [rax]
lea eax, [rcx - 2]
test al, 0xfd
je 0x140002a3e
cmp cl, 5
jb 0x140002a42
mov rax, qword [0x140105db0]
mov qword [rbp - 0x50], rax
jmp 0x140002a42
mov qword [rbp - 0x50], rsi
mov rbx, qword [r13]
mov edi, dword [r13 + 0x1c]
mov rcx, rbx
call fcn.140086740
test eax, eax
je 0x140002a5b
cmp eax, 1
jne 0x140002a69
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140002a69
movzx esi, byte [rax]
jmp 0x140002a6c
xor sil, sil
mov ecx, dword [0x140105da8]
mov eax, dword [0x140101a54]
cmp ecx, eax
jl 0x140002ae9
add eax, 2
cmp ecx, eax
jge 0x140002a94
lea eax, [rsi + 0x34]
cmp al, 0x14
ja 0x140002a94
mov ecx, 0x10fc01
bt ecx, eax
jb 0x140002ae9
test r15, r15
je 0x140002aab
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
xor eax, eax
mov qword [r14 + 0xa0], rax
cmp dword [rbp - 0x80], 0x41b
movsxd r15, dword [rbp + 0x13d0]
mov edi, dword [rsp + 0x40]
mov rbx, r15
jne 0x1400018b5
mov rdi, qword [rbp - 0x48]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rbx, qword [rsp + 0x48]
mov r15d, dword [rbp + 0x13d0]
mov edi, dword [rsp + 0x40]
jmp 0x1400018b5
mov rax, qword [0x140101a58]
cmp edi, dword [rax + 0x3c]
jl 0x140002a94
mov ecx, dword [rbp - 0x80]
mov byte [rsp + 0x70], 1
cmp ecx, 0x402
je 0x140002b71
cmp ecx, 0x413
jbe 0x140002b28
cmp ecx, 0x415
jbe 0x140002bbb
lea eax, [rcx - 0x41b]
cmp eax, 2
jbe 0x140002bbb
mov rax, qword [0x140108de0]
mov qword [0x140108de8], rax
mov eax, dword [0x140108e84]
mov dword [0x140108e88], eax
cmp ecx, 0x401
jne 0x140002b54
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 8]
jmp 0x140002b5c
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 0x20]
mov qword [0x140108de0], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140108e84], eax
jmp 0x140002bbb
mov rdx, qword [r12]
lea rcx, [0x1401089c8]
mov r8d, 0x104
call fcn.1400b4dd4
xor r14d, r14d
lea rcx, [0x140108bd2]
mov word [0x140108bd0], r14w
mov r8d, 0x104
mov rdx, qword [r12 + 0x20]
mov rdx, qword [rdx]
call fcn.1400b4dd4
mov word [0x140108dda], r14w
mov qword [0x1401089c0], r12
mov rcx, qword [0x140105da0]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140001480
mov r8d, 0x7f
lea rcx, [rbp + 0x1c0]
mov rdx, rax
call fcn.1400b4dd4
xor eax, eax
movzx r9d, sil
mov r8b, 1
mov word [rbp + 0x2be], ax
xor edx, edx
mov ecx, edi
call fcn.1400040e0
mov r14, qword [0x140101a58]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140108edc], eax
mov dword [0x140108ed8], eax
mov eax, dword [rbp - 0x80]
add eax, 0xfffffbff
cmp eax, 0x1c
ja case.0x140002c41.1032
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x3988]
mov ecx, dword [r8 + rax*4 + 0x3968]
add rcx, r8
jmp rcx
mov r10, qword [rsp + 0x58]
xor r9d, r9d
mov rsi, qword [rsp + 0x60]
mov word [rbp + 0x50], r9w
cmp byte [rbp + 0x13e0], r9b
je 0x140002c63
mov rcx, qword [r10]
jmp 0x140002c67
mov rcx, qword [rsi + 8]
movsxd rdi, dword [rsp + 0x44]
mov r11d, 1
mov rax, rdi
shl rax, 5
inc edi
mov dword [rsp + 0x44], edi
mov qword [rbp + rax + 0xb0], rcx
mov ecx, dword [rsp + 0x54]
mov dword [rbp + rax + 0xc0], r11d
cmp ecx, 5
je 0x1400030ab
jbe 0x140002f6f
cmp ecx, 8
jbe 0x140002e8e
cmp ecx, 9
jne 0x140002f6f
mov rdx, qword [rsp + 0x68]
mov ecx, 3
test rdx, rdx
mov qword [rsp + 0x68], r9
cmovne ecx, r11d
mov dword [r14 + 0x44], ecx
mov rax, qword [rbp - 0x64]
mov qword [r14 + 0x50], rax
test r10, r10
je 0x140002d8e
cmp ecx, r11d
jne 0x140002cfb
lea r8, [r14 + 0x50]
mov rdx, r10
call fcn.14007eff0
mov r10, qword [rsp + 0x58]
mov r11d, 1
movzx ecx, byte [r10 + 8]
sub ecx, 9
je 0x140002d71
sub ecx, 1
je 0x140002d63
cmp ecx, 1
jne 0x140002d8e
cmp dword [r14 + 0x44], 1
mov rcx, qword [r10]
jne 0x140002d33
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, eax
jmp 0x140002d89
mov rax, qword [rbp - 0x64]
lea rdx, [rbp - 0x10]
mov qword [rbp - 0x10], rax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov r10, qword [rsp + 0x58]
lea r9, [rbp - 0x10]
xor r8d, r8d
mov edx, 0x1111
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, eax
jmp 0x140002d89
mov r9, r11
or r8, 0xffffffffffffffff
mov edx, 0x100c
jmp 0x140002d7c
xor r9d, r9d
mov edx, OleCreatePictureIndirect
xor r8d, r8d
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_SendMessageW]
inc eax
cdqe
mov qword [rsp + 0x68], rax
mov rcx, qword [rsi + 8]
lea rdx, [rbp + 0x78]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x78]
mov r11d, 1
sub dword [r14 + 0x50], eax
mov eax, dword [rbp + 0x7c]
sub dword [r14 + 0x54], eax
mov r8, qword [rsp + 0x58]
movsxd rdx, edi
mov rax, rdx
shl rax, 5
test r8, r8
je 0x140002ddd
lea rcx, [rbp + 0xb0]
add rcx, rax
mov rax, qword [r8]
xor r9d, r9d
mov dword [rcx + 0x10], r11d
mov qword [rcx], rax
jmp 0x140002df7
xor r9d, r9d
lea rcx, [0x1400cfffc]
mov dword [rbp + rax + 0xc0], r9d
mov qword [rbp + rax + 0xb0], rcx
lea ecx, [rdx + 1]
mov rdx, qword [rsp + 0x68]
lea r10d, [rcx + 1]
movsxd rax, ecx
shl rax, 5
mov rcx, r9
mov qword [rbp + rax + 0xb0], rdx
lea rdx, [rbp + 0xb0]
mov dword [rbp + rax + 0xc0], r11d
movsxd rax, r10d
inc r10d
shl rax, 5
add rdx, rax
mov eax, dword [r14 + 0x44]
cmp eax, 3
movsxd rax, r10d
sete cl
shl rax, 5
mov qword [rdx], rcx
inc r10d
mov dword [rdx + 0x10], r11d
lea rcx, [rbp + 0xb0]
add rcx, rax
movsxd rax, dword [r14 + 0x50]
mov qword [rcx], rax
mov dword [rcx + 0x10], r11d
lea rcx, [rbp + 0xb0]
movsxd rax, r10d
shl rax, 5
add rcx, rax
movsxd rax, dword [r14 + 0x54]
inc r10d
mov dword [rsp + 0x44], r10d
mov dword [rcx + 0x10], r11d
mov qword [rcx], rax
mov ecx, dword [rsp + 0x54]
jmp 0x140003228
mov dword [r14 + 0x44], r11d
cmp ecx, 8
jne 0x140003220
mov ecx, dword [rbp - 0x40]
mov rdx, qword [rsp + 0x68]
movsxd r10, edi
lea rdi, [rbp + 0xb0]
mov rax, r10
mov dword [r14 + 0x50], ecx
shl rax, 5
inc r10d
mov dword [rbp + rax + 0xc0], r11d
mov qword [rbp + rax + 0xb0], rdx
movsxd rax, r10d
inc r10d
shl rax, 5
add rdi, rax
mov dword [rsp + 0x44], r10d
movzx eax, cx
cmp byte [rsi + 0x108], r9b
je 0x140002f0b
mov r8d, dword [0x1401082f4]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r10d, dword [rsp + 0x44]
mov r11d, 1
mov ecx, dword [rbp - 0x40]
cdqe
mov qword [rdi], rax
mov dword [rdi + 0x10], r11d
lea rdi, [rbp + 0xb0]
movsxd rax, r10d
inc r10d
shl rax, 5
add rdi, rax
mov dword [rsp + 0x44], r10d
mov eax, ecx
shr eax, 0x10
cmp byte [rsi + 0x108], 0
je 0x140002f5a
mov r8d, dword [0x1401082f4]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r10d, dword [rsp + 0x44]
mov r11d, 1
mov ecx, dword [rsp + 0x54]
xor r9d, r9d
cdqe
mov qword [rdi], rax
mov dword [rdi + 0x10], r11d
jmp 0x140003223
movzx eax, byte [r10 + 8]
cmp al, 0xa
je 0x140002fc1
cmp al, 0x19
jne 0x140003035
mov rax, qword [rbp - 0x64]
lea rdx, [rbp + 0x88]
mov qword [r14 + 0x50], rax
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x88]
lea r8, [0x140000000]
sub dword [r14 + 0x50], eax
mov eax, dword [rbp + 0x8c]
sub dword [r14 + 0x54], eax
mov ecx, dword [rsp + 0x54]
xor r9d, r9d
lea r11d, [r9 + 1]
jmp 0x140003035
cmp cl, 0x49
jne 0x140003035
lea rax, [rbp + 0x50]
bt ecx, 8
jae 0x140002fd7
mov eax, 0x53
jmp 0x140002fe2
bt ecx, 9
jae 0x140002fea
mov eax, reloc.WSOCK32.dll_WSAStartup
mov word [rbp + 0x50], ax
lea rax, [rbp + 0x52]
bt ecx, 0xa
jae 0x140002ff7
mov edx, 0x46
jmp 0x140003002
bt ecx, 0xb
jae 0x140003009
mov edx, 0x66
mov word [rax], dx
add rax, 2
bt ecx, 0xc
jae 0x140003016
mov ecx, 0x43
jmp 0x140003021
bt ecx, 0xd
jae 0x140003028
mov ecx, 0x63
mov word [rax], cx
add rax, 2
mov ecx, 0x49
mov word [rax], r9w
mov dword [rsp + 0x54], ecx
movsxd r10, edi
lea rdx, [rbp + 0xb0]
mov rax, r10
mov dword [r14 + 0x44], ecx
shl rax, 5
inc r10d
add rdx, rax
cmp ecx, 5
jae 0x140003061
mov eax, ecx
mov rcx, qword [r8 + rax*8 + 0xeda10]
jmp 0x140003072
movzx eax, cl
lea rcx, [0x14010a8e4]
mov word [0x14010a8e4], ax
mov rdi, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
mov qword [rdx], rcx
mov ecx, dword [rsp + 0x54]
movsxd rax, r10d
shl rax, 5
mov dword [rdx + 0x10], r9d
inc r10d
mov dword [rsp + 0x44], r10d
mov dword [rbp + rax + 0xc0], r11d
mov qword [rbp + rax + 0xb0], rdi
jmp 0x14000322d
mov dword [r14 + 0x44], 5
lea rdx, [rbp + 0x98]
mov rax, qword [rbp - 0x64]
mov qword [r14 + 0x50], rax
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x98]
mov edx, 0xffffffec
sub dword [r14 + 0x50], eax
mov eax, dword [rbp + 0x9c]
sub dword [r14 + 0x54], eax
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [rsi + 8]
mov edx, 0xffffffec
and eax, 0xffffffef
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [rsp + 0x44]
mov rcx, r15
movsxd rax, edi
inc esi
shl rax, 5
lea rdi, [rbp + 0xb0]
add rdi, rax
call fcn.140070bb0
mov r10, qword [rsp + 0x58]
mov qword [rdi], rax
movsxd rax, esi
shl rax, 5
mov dword [rdi + 0x10], 6
test r10, r10
je 0x140003157
lea rcx, [rbp + 0xb0]
add rcx, rax
mov rax, qword [r10]
mov dword [rcx + 0x10], 1
mov qword [rcx], rax
jmp 0x14000316f
xor ecx, ecx
mov dword [rbp + rax + 0xc0], ecx
lea rcx, [0x1400cfffc]
mov qword [rbp + rax + 0xb0], rcx
lea ecx, [rsi + 1]
mov rsi, qword [rsp + 0x60]
movsxd rax, ecx
lea rdi, [rbp + 0xb0]
shl rax, 5
lea r10d, [rcx + 1]
add rdi, rax
mov dword [rsp + 0x44], r10d
cmp byte [rsi + 0x108], 0
mov eax, dword [r14 + 0x50]
je 0x1400031b7
mov r8d, dword [0x1401082f4]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r10d, dword [rsp + 0x44]
cdqe
mov r11d, 1
mov qword [rdi], rax
mov dword [rdi + 0x10], r11d
lea rdi, [rbp + 0xb0]
movsxd rax, r10d
inc r10d
shl rax, 5
add rdi, rax
mov dword [rsp + 0x44], r10d
cmp byte [rsi + 0x108], 0
mov eax, dword [r14 + 0x54]
je 0x140002f5a
mov r8d, dword [0x1401082f4]
lea edx, [r11 + 0x5f]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r10d, dword [rsp + 0x44]
mov r11d, 1
mov ecx, dword [rsp + 0x54]
xor r9d, r9d
cdqe
mov qword [rdi], rax
mov dword [rdi + 0x10], r11d
jmp 0x140003223
mov r10d, edi
mov r8, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
cmp byte [rbp + 0x13e0], 0
je 0x1400032fd
cmp byte [r8 + 8], 0x17
jne 0x1400032fd
xor edx, edx
lea rcx, [rbp + 0x2c0]
mov r8d, 0x10b8
call fcn.1400aad30
mov r10, qword [rsp + 0x58]
lea eax, [rdi - 1]
lea r9, [rbp + 0x2c0]
mov dword [rbp + 0x2c0], SafeArrayGetElemsize
xor r8d, r8d
mov dword [rbp + 0x2c4], eax
mov edx, 0x703
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140003361
cmp word [rbp + 0x330], 0
lea rax, [rbp + 0x2d0]
mov rcx, qword [0x140105da0]
lea rdx, [rbp + 0x330]
cmove rdx, rax
mov byte [rsp + 0x20], 1
xor r9d, r9d
or r8, 0xffffffffffffffff
call fcn.14008f420
movsxd rcx, dword [rsp + 0x44]
lea rdi, [rbp + 0xb0]
mov rax, rcx
xor r8d, r8d
inc ecx
shl rax, 5
mov dword [rsp + 0x44], ecx
add rdi, rax
mov rcx, qword [0x140105da0]
lea edx, [r8 + 1]
call fcn.140001480
xor ecx, ecx
mov qword [rdi], rax
mov dword [rdi + 0x10], ecx
jmp 0x140003363
cmp word [rbp + 0x50], 0
je 0x140003327
movsxd rax, r10d
lea rdx, [rbp + 0x50]
shl rax, 5
inc r10d
mov dword [rsp + 0x44], r10d
mov dword [rbp + rax + 0xc0], r9d
mov qword [rbp + rax + 0xb0], rdx
cmp ecx, 8
je 0x14000334f
cmp ecx, 5
je 0x14000334f
mov rcx, qword [0x140105da0]
lea rdx, [rbp + 0x50]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008f420
jmp 0x140003361
mov rcx, qword [0x140105da0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rdx, rdi
call fcn.1400012b0
xor ecx, ecx
mov rax, qword [rsi + 8]
mov qword [r14 + 0xf8], rax
add dword [rsi + 0x34], 2
mov eax, dword [rbp - 0x3c]
mov qword [r14 + 0x60], rsi
mov qword [r14 + 0x58], rsi
mov rsi, qword [rbp - 0x30]
mov dword [r14 + 0x70], eax
mov rax, qword [rsp + 0x68]
mov qword [r14 + 0x48], rax
test rsi, rsi
je 0x140003432
mov byte [rsi], 1
mov rdi, qword [rsp + 0x58]
mov edx, dword [rsp + 0x44]
lea rax, [rbp + 0x70]
mov dword [rsp + 0x30], ecx
lea r9, [rbp + 0xb0]
mov qword [rsp + 0x28], rax
lea r8, [0x1400cfff0]
mov dword [rsp + 0x20], edx
mov rcx, rbx
mov rdx, rbx
call fcn.140082cc0
mov r14, qword [rsp + 0x60]
cmp qword [r14 + 8], 0
je 0x1400034a1
mov r8d, dword [rsp + 0x54]
test rsi, rsi
je 0x14000344d
mov byte [rsi], 0
cmp r8d, 6
jne 0x14000345a
cmp qword [rbp + 0x70], 0
jne 0x1400034a1
mov rcx, rbx
call fcn.140086740
test eax, eax
jne 0x140003410
test rbx, rbx
jne 0x1400034a1
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400034a1
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call fcn.140070900
jmp 0x140003765
cmp byte [rbp + 0x13e0], 0
je 0x14000339a
mov rdi, qword [rsp + 0x58]
or byte [rdi + 9], 4
jmp 0x14000339f
cmp byte [rbp + 0x13e0], 0
je 0x14000345a
and byte [rdi + 9], 0xfb
cmp r8d, 5
jne 0x1400034a1
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
mov rcx, qword [r14 + 8]
xor eax, eax
mov qword [r14 + 0xa0], rax
lea edx, [rax - 0x14]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14 + 8]
mov edx, 0xffffffec
or eax, 0x10
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, r14
call fcn.140070900
jmp 0x140003765
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400034d8
mov rax, qword [rcx + 8]
mov qword [r14 + 0xf8], rax
mov eax, 1
mov dword [r14 + 0x44], eax
add dword [rcx + 0x34], 2
mov qword [r14 + 0x60], rcx
mov qword [r14 + 0x58], rcx
lea rax, [0x1401089c8]
xor esi, esi
lea rcx, [0x140108310]
mov dword [rbp], esi
mov qword [rbp - 0x10], rax
call fcn.140053e30
mov dword [rsp + 0x30], esi
lea r9, [rbp - 0x10]
mov qword [rsp + 0x28], rsi
lea r8, [0x1400cfff0]
mov rdx, rbx
mov dword [rbp + 0x40], esi
lea ecx, [rax + 1]
mov dword [rsp + 0x20], 3
mov eax, 1
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x20], eax
mov rcx, rbx
lea rax, [0x140108bd2]
mov qword [rbp + 0x30], rax
call fcn.140082cc0
mov r14, qword [rsp + 0x60]
test r14, r14
je 0x140003767
mov rcx, r14
call fcn.140070900
jmp 0x140003767
mov rax, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
mov qword [r14 + 0xf8], rax
movzx eax, byte [rcx + 0x35]
mov byte [r14 + 0x136], al
call fcn.14000e440
jmp 0x140003760
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x1400035ab
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x1400035a2
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov edx, 2
test eax, eax
je 0x1400035a7
mov edx, 1
xor esi, esi
jmp 0x1400035af
xor esi, esi
mov edx, esi
mov rcx, qword [0x140105da0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov qword [r14 + 0x48], rdx
call fcn.1400012b0
mov rax, qword [r14 + 0x48]
mov ecx, 1
mov qword [rbp - 0x10], rax
mov rax, qword [0x140108e38]
mov dword [rbp], ecx
mov byte [0x140108e50], cl
test rax, rax
je 0x1400035f8
mov rcx, rax
call fcn.140001590
mov rax, qword [0x140108e38]
mov ecx, 1
cmp qword [rbp - 0x78], 0
jne 0x14000361c
test rax, rax
lea rdx, [rbp - 0x10]
mov r9d, esi
mov r8d, ecx
sete r9b
lea rcx, [0x140108e08]
call fcn.140086910
mov r14, qword [rsp + 0x60]
mov byte [0x140108e50], 0
jmp 0x140003767
mov rdi, qword [rbp - 0x48]
lea r9, [rbp - 0x10]
xor esi, esi
mov dword [rbp], 6
mov dword [rsp + 0x30], esi
lea r8, [0x1400cfff0]
mov qword [rsp + 0x28], rsi
mov rdx, rbx
mov rax, qword [rdi + 0x10]
mov rcx, rbx
mov qword [rbp - 0x10], rax
mov eax, 1
mov dword [rsp + 0x20], eax
call fcn.140082cc0
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r14, qword [rsp + 0x60]
jmp 0x140003767
mov rcx, qword [rbp - 0x70]
lea r9, [rbp - 0x10]
mov rax, qword [rbp - 0x48]
mov edx, 1
mov dword [rbp + 0x20], edx
mov dword [rbp + 0x40], edx
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x10], rax
movzx eax, cl
sar rcx, 0x10
xor esi, esi
mov qword [rbp + 0x10], rax
mov dword [rsp + 0x30], esi
movzx eax, cx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 3
mov qword [rbp + 0x30], rax
lea r8, [0x1400cfff0]
mov dword [rbp], 6
mov rdx, rbx
mov rcx, rbx
call fcn.140082cc0
mov r14, qword [rsp + 0x60]
jmp 0x140003767
mov rax, qword [rbp - 0x70]
lea r9, [rbp - 0x10]
mov word [rbp - 0x38], ax
sar rax, 0x10
xor esi, esi
mov word [rbp - 0x36], ax
mov rax, qword [rbp - 0x48]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov word [rbp - 0x34], si
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x38]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x20], esi
mov dword [rsp + 0x20], 2
jmp 0x1400036c2
mov rdi, qword [rbp - 0x28]
movzx eax, byte [rdi + 0x10]
add al, 0x64
cmp al, 3
ja 0x14000373e
mov eax, dword [rbp - 0x70]
mov qword [r14 + 0x48], rax
mov rax, qword [rbp - 0x50]
mov rdx, r13
mov qword [r14 + 0xf8], rax
mov rcx, rdi
movzx eax, byte [r13 + 0x24]
mov byte [r14 + 0x136], al
call fcn.14000c1b0
mov r14, qword [rsp + 0x60]
xor esi, esi
lea rcx, [rbp + 0x1c0]
call fcn.1400042a0
cmp qword [rbp - 0x18], 0
movsxd r15, dword [rbp + 0x13d0]
mov edi, dword [rsp + 0x40]
mov rbx, r15
je 0x1400018b5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [rbp + 0x13d8], 0
jne 0x1400037b8
movsxd r15, dword [rbp + 0x13d0]
mov ecx, dword [rbp - 0x58]
mov rbx, r15
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jg 0x1400018b5
jmp 0x1400037bf
mov r15d, dword [rbp + 0x13d0]
movsxd rbx, r15d
cmp rbx, 0xffffffffffffffff
jle 0x1400037d5
mov qword [0x140108ec8], rsi
mov dword [0x140108ed8], eax
mov edi, dword [rsp + 0x40]
mov dword [0x140108edc], eax
mov byte [rbp + 0x13e8], 1
mov byte [rbp + 0x13d8], 1
jmp 0x1400018b5
cmp rbx, 0xffffffffffffffff
jle 0x140003809
xor ebx, ebx
mov dword [0x140108ed8], eax
mov qword [0x140108ec8], rbx
jmp 0x14000380b
xor ebx, ebx
cmp byte [rsp + 0x50], 0
mov dword [0x140108edc], eax
movzx eax, byte [0x140105c23]
cmovne eax, ebx
cmp byte [rsp + 0x51], 0
mov byte [0x140105c23], al
je 0x14000387e
mov eax, dword [0x140105dcc]
dec eax
mov dword [0x140105dcc], eax
test r15d, r15d
jle 0x14000387e
test eax, eax
jne 0x14000387e
cmp dword [0x140108e6c], eax
jne 0x14000387e
cmp dword [0x140106d48], eax
jne 0x14000387e
cmp byte [0x140105c22], al
je 0x14000387e
mov rcx, qword [0x140105dd0]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140105c22]
test eax, eax
cmovne ecx, ebx
mov byte [0x140105c22], cl
movzx eax, byte [rsp + 0x70]
jmp 0x140003918
mov r15d, dword [rbp + 0x13d0]
cmp rdi, 0xffffffffffffffff
jle 0x1400038a2
mov qword [0x140108ec8], rsi
mov dword [0x140108ed8], eax
cmp byte [rsp + 0x50], 0
mov dword [0x140108edc], eax
movzx eax, byte [0x140105c23]
cmovne eax, esi
cmp byte [rsp + 0x51], 0
mov byte [0x140105c23], al
je 0x140003915
mov eax, dword [0x140105dcc]
dec eax
mov dword [0x140105dcc], eax
test r15d, r15d
jle 0x140003915
test eax, eax
jne 0x140003915
cmp dword [0x140108e6c], eax
jne 0x140003915
cmp dword [0x140106d48], eax
jne 0x140003915
cmp byte [0x140105c22], al
je 0x140003915
mov rcx, qword [0x140105dd0]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140105c22]
test eax, eax
cmovne ecx, esi
mov byte [0x140105c22], cl
movzx eax, bl
add rsp, 0x1488
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret