Function at 0x140001710
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Get graphical window text
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 - 0x1398]
mov eax, 0x1498
call fcn.1400bde80
sub rsp, rax
mov byte [rsp + 0x48], 0
mov ebx, edx
mov r15d, ecx
mov r14d, 1
cmp edx, 2
jne 0x140001760
cmp byte [0x140101bc3], 0
mov ebx, r14d
jne 0x140001760
mov byte [0x140101bc3], bl
mov byte [rsp + 0x48], bl
xor esi, esi
cmp dword [0x140107094], esi
je 0x14000179a
cmp qword [0x140107078], rsi
je 0x140001787
mov rcx, qword [0x140107068]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140107078], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140107094], esi
mov qword [0x140107068], rsi
cmp r15d, 0x8000012f
jne 0x1400017bc
mov r15d, 0xa
mov byte [rbp + 0x13e8], r14b
mov dword [rbp + 0x13e0], r15d
mov dword [rbp - 0x60], esi
jmp 0x1400017db
cmp r15d, 5
setle al
mov byte [rbp + 0x13e8], al
test al, al
je 0x1400017d2
mov dword [rbp - 0x60], esi
jmp 0x1400017db
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x60], eax
cmp dword [0x140102ebc], esi
je 0x1400017e8
call fcn.1400038e0
xor dil, dil
cmp dword [0x140106f74], esi
mov dword [rsp + 0x68], edi
je 0x14000180a
call fcn.140003620
test al, al
movzx edi, dil
cmovne edi, r14d
mov dword [rsp + 0x68], edi
test r15d, r15d
jle 0x14000184c
cmp ebx, r14d
jne 0x14000184c
inc dword [0x140101f70]
cmp byte [0x140101bc2], sil
mov byte [rsp + 0x49], r14b
jne 0x140001851
mov rcx, qword [0x140101f68]
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x140101bc2]
jmp 0x140001851
mov byte [rsp + 0x49], sil
mov r13, qword [rbp + 0x13f0]
mov r12, qword [rbp + 0x13f0]
movzx r14d, byte [rbp + 0x13e8]
movsxd rax, ebx
mov ebx, esi
movsxd rdi, r15d
mov qword [rsp + 0x50], rdi
mov qword [rbp - 0x20], rax
mov byte [rsp + 0x58], sil
mov byte [rbp + 0x13f8], sil
mov dword [rsp + 0x40], esi
jmp 0x1400018c1
mov r15d, dword [rbp + 0x13e0]
mov rdi, qword [rsp + 0x50]
jmp 0x1400018c1
movzx r14d, byte [rbp + 0x13e8]
mov r15d, dword [rbp + 0x13e0]
jmp 0x1400018c1
movzx r14d, byte [rbp + 0x13e8]
mov rdi, qword [rsp + 0x50]
mov r15d, dword [rbp + 0x13e0]
mov ebx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
test rdi, rdi
jle 0x140001997
cmp byte [rbp + 0x13f8], 0
jne 0x140001997
cmp byte [0x140101bc3], 0
jne 0x1400019a4
cmp dword [0x1400fda50], 0
je 0x14000194b
cmp dword [0x140101bc4], 0
jne 0x14000194b
mov rcx, qword [0x1400fda58]
cmp byte [rcx + 0x12c], 0
jne 0x140001942
cmp byte [rcx + 0x12e], 0
jne 0x140001942
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001942
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fda58]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001942
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
jmp 0x14000194f
xor ecx, ecx
mov eax, ecx
test eax, eax
lea rcx, [rsp + 0x70]
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 0x1400018c1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x140001c50
mov dword [0x140106fe0], eax
jmp 0x140001c50
cmp byte [0x140101bc3], 0
je 0x140001b24
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140001b24
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140106398]
jne 0x140001b24
cmp dword [0x140101f64], 0
je 0x140001a22
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x130]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
xor ecx, ecx
lea rdx, [rbp + 0x130]
mov eax, ecx
lea r8, str.32770
nop
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 0x140001a79
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x140001b24
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x130]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, str.SysTreeView32
lea rcx, [rbp + 0x130]
call fcn.1400a8c00
test eax, eax
je 0x140001a79
lea rdx, str.SysListView32
lea rcx, [rbp + 0x130]
call fcn.1400a8c00
test eax, eax
jne 0x140001b24
call fcn.140004010
test eax, eax
lea rcx, [rsp + 0x70]
mov eax, 0xffffffff
mov ebx, 0x311
cmovne ebx, eax
mov r9d, 0x1ff
xor eax, eax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r9d, ebx
mov r8d, 0x20e
test eax, eax
je 0x140001ba0
mov edi, dword [rbp - 0x70]
xor eax, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
xor edx, edx
lea rcx, [rsp + 0x70]
test eax, eax
jne 0x140001afb
mov eax, 1
mov dword [rsp + 0x20], eax
mov r9d, 0x1ff
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
movsxd rdi, r15d
jmp 0x140001baf
mov eax, dword [rbp - 0x70]
sub eax, edi
test eax, eax
mov eax, 1
mov dword [rsp + 0x20], eax
jg 0x140001ae4
mov r9d, ebx
mov r8d, 0x20e
call qword [sym.imp.USER32.dll_PeekMessageW]
movsxd rdi, r15d
jmp 0x140001baf
cmp dword [0x1400fda50], 0
je 0x140001b83
cmp dword [0x140101bc4], 0
jne 0x140001b83
mov rcx, qword [0x1400fda58]
cmp byte [rcx + 0x12c], 0
jne 0x140001b7a
cmp byte [rcx + 0x12e], 0
jne 0x140001b7a
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001b7a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400fda58]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001b7a
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
jmp 0x140001b85
xor eax, eax
test eax, eax
lea rcx, [rsp + 0x70]
mov eax, 0
mov r9d, 0x311
cmovne r9d, eax
xor r8d, r8d
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 [0x140106fe0]
mov ecx, eax
sub ecx, esi
cmp ecx, 3
cmova edx, eax
mov dword [0x140106fe0], edx
test rdi, rdi
jne 0x140001bf1
cmp byte [rsp + 0x58], dil
jne 0x140001bf1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x58], 1
jmp 0x1400018bd
mov ebx, dword [rsp + 0x40]
test ebx, ebx
jne 0x140001c1c
test r14b, r14b
je 0x140001c1c
test rdi, rdi
jle 0x140001c0c
lea ecx, [rbx + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov ebx, eax
mov dword [rsp + 0x40], eax
jmp 0x1400018c1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x140003585
mov ecx, dword [rbp - 0x60]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jle 0x140003585
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400018c1
mov ebx, dword [rsp + 0x40]
inc ebx
cmp dword [0x1401063b0], 0
mov dword [rsp + 0x40], ebx
je 0x140001c93
mov r9, qword [rbp - 0x78]
lea rax, [rbp + 0x120]
mov r8, qword [rbp - 0x80]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.140003960
test al, al
jne 0x1400018c1
mov r8d, dword [0x140101f60]
mov r10, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
test r8d, r8d
je 0x140002188
test r10, r10
je 0x140002188
cmp r10, qword [0x140101f68]
je 0x140002188
cmp ecx, 0x414
je 0x140002188
cmp ecx, 0x402
je 0x140002188
lea eax, [rcx - 0x100]
cmp eax, 9
ja 0x1400020e7
call qword [sym.imp.USER32.dll_GetFocus]
mov rsi, rax
test rax, rax
je 0x1400020d7
mov rcx, rax
call fcn.14008e790
mov rbx, rax
test rax, rax
je 0x1400020d7
mov rcx, rsi
call fcn.14006b000
mov r13, rax
test rax, rax
je 0x1400020d7
mov rdx, qword [rax + 0xb8]
test rdx, rdx
je 0x140001d49
lea r8, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov ebx, dword [rsp + 0x40]
test eax, eax
jne 0x1400018c1
mov ecx, dword [rsp + 0x78]
mov rbx, qword [rbp - 0x80]
cmp ecx, 0x100
jne 0x140002060
cmp byte [r13 + 0x100], 0
je 0x140001f48
cmp rbx, 0x27
ja 0x140001f48
movabs rax, 0xa600000200
bt rax, rbx
jae 0x140001f48
mov rdx, rsi
mov rcx, r13
call fcn.140001690
mov qword [rbp - 0x58], rax
mov r14, rax
test rax, rax
je 0x140001f34
movzx ecx, byte [rax + 8]
cmp cl, 0xf
je 0x140001f34
mov rbx, qword [rbp - 0x80]
xor eax, eax
mov edi, eax
cmp cl, 0x13
jne 0x140001df8
lea rax, [rbx - 0x25]
mov rdi, r14
test rax, 0xfffffffffffffffd
jne 0x140001df8
cmp rbx, 0x27
mov byte [rsp + 0x20], 0
mov rdx, r14
mov rcx, r13
sete r8b
xor r9d, r9d
call fcn.14007b5b0
movzx r14d, byte [rbp + 0x13e8]
movsxd rdi, r15d
jmp 0x1400018bd
lea rax, [rbx - 0x25]
test rax, 0xfffffffffffffffd
je 0x140001f38
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140001f34
mov rbx, qword [rbp - 0x80]
cmp rbx, 9
jne 0x140001e4a
cmp byte [r14 + 8], 0xc
jne 0x140001e4a
mov rcx, qword [r14]
lea edx, [rbx - 0x19]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x140001f34
mov rbx, qword [rbp - 0x80]
test rdi, rdi
jne 0x140001eb7
movzx edx, byte [r14 + 0xa]
mov rcx, r13
call fcn.14007b300
mov rdi, rax
test rax, rax
jne 0x140001eb7
mov r9d, dword [r13 + 0x20]
xor r8b, r8b
mov edx, eax
test r9d, r9d
je 0x140001f38
mov r10, qword [r13 + 0x28]
nop word [rax + rax]
mov eax, edx
lea rcx, [rax + rax*4]
cmp byte [r10 + rcx*8 + 8], 0x13
lea rcx, [rcx*8]
jne 0x140001e9e
test r8b, r8b
je 0x140001eaa
inc r8b
inc edx
cmp edx, r9d
jb 0x140001e80
jmp 0x140001f38
lea rdi, [rcx + r10]
test rdi, rdi
je 0x140001f38
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140001f34
mov rax, qword [rbp - 0x80]
cmp rax, 0x22
je 0x140001f0d
cmp rax, 9
jne 0x140001ee7
lea ecx, [rax + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140001f0d
xor r8d, r8d
mov byte [rsp + 0x20], 1
mov r9b, 1
mov rdx, rdi
mov rcx, r13
call fcn.14007b5b0
movzx r14d, byte [rbp + 0x13e8]
movsxd rdi, r15d
jmp 0x1400018bd
mov r8b, 1
mov rdx, rdi
movzx r9d, r8b
mov byte [rsp + 0x20], r8b
mov rcx, r13
call fcn.14007b5b0
movzx r14d, byte [rbp + 0x13e8]
movsxd rdi, r15d
jmp 0x1400018bd
mov rbx, qword [rbp - 0x80]
mov ecx, dword [rsp + 0x78]
cmp ecx, 0x100
jne 0x140002060
cmp rbx, 0x1b
je 0x140001f89
cmp rbx, 9
je 0x140001f89
cmp rbx, 0x41
jne 0x140002060
lea ecx, [rbx - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
je 0x140002058
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x140002058
mov rdx, rsi
mov rcx, r13
call fcn.140001690
mov qword [rbp - 0x58], rax
mov r14, rax
test rax, rax
je 0x140002058
cmp byte [rax + 8], 0xc
jne 0x140002058
mov rbx, qword [rbp - 0x80]
cmp rbx, 0x1b
je 0x14000201e
cmp rbx, 0x41
je 0x140001ff3
cmp byte [rax + 9], 0
jge 0x14000205c
mov rcx, qword [rax]
lea r9, [0x1400ccfbc]
mov edx, 0xc2
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rbp + 0x13e8]
movsxd rdi, r15d
jmp 0x1400018bd
test byte [rax + 9], 2
jne 0x14000205c
mov rcx, qword [rax]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rbp + 0x13e8]
movsxd rdi, r15d
jmp 0x1400018bd
cmp qword [r13 + 0x40], 0
movzx r14d, byte [rbp + 0x13e8]
mov ebx, dword [rsp + 0x40]
movsxd rdi, r15d
je 0x1400018c1
mov rcx, qword [r13 + 8]
xor r9d, r9d
mov edx, 0x414
mov r8d, 0x2af80007
call qword [sym.imp.USER32.dll_PostMessageW]
movsxd rdi, r15d
jmp 0x1400018c1
mov rbx, qword [rbp - 0x80]
mov ecx, dword [rsp + 0x78]
mov rax, qword [0x1401062f0]
test rax, rax
je 0x1400020c9
cmp ecx, 0x100
jne 0x1400020c9
cmp rbx, 0xd
jne 0x14000209e
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1116
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rbp + 0x13e8]
movsxd rdi, r15d
jmp 0x1400018bd
cmp rbx, 0x1b
jne 0x1400020c9
xor r9d, r9d
lea r8d, [rbx - 0x1a]
mov edx, 0x1116
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rbp + 0x13e8]
movsxd rdi, r15d
jmp 0x1400018bd
mov r10, qword [rsp + 0x70]
mov r8d, dword [0x140101f60]
jmp 0x1400020eb
mov ecx, dword [rsp + 0x78]
mov r10, qword [rsp + 0x70]
mov r8d, dword [0x140101f60]
mov rbx, qword [rbp - 0x80]
xor esi, esi
mov edi, esi
test r8d, r8d
jle 0x14000218e
mov rcx, qword [0x1400fda58]
mov ebx, esi
nop dword [rax]
nop word [rax + rax]
mov byte [rcx + 0x128], 1
lea rdx, [rsp + 0x70]
mov eax, dword [rsp + 0x78]
mov dword [rcx + 0x124], eax
mov rax, qword [0x140101f58]
mov rcx, qword [rbx + rax]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14000216a
mov rcx, qword [0x1400fda58]
inc edi
mov r8d, dword [0x140101f60]
add rbx, 8
mov byte [rcx + 0x128], sil
cmp edi, r8d
jl 0x140002110
mov ecx, dword [rsp + 0x78]
mov r10, qword [rsp + 0x70]
jmp 0x14000218a
mov rax, qword [0x1400fda58]
movzx r14d, byte [rbp + 0x13e8]
movsxd rdi, r15d
mov byte [rax + 0x128], sil
jmp 0x1400018bd
xor esi, esi
mov rbx, qword [rbp - 0x80]
cmp ecx, 0x312
ja 0x140002367
je 0x1400023a9
sub ecx, 0x12
je 0x140002344
sub ecx, 0x39
je 0x140002326
sub ecx, 0xb5
je 0x1400022f0
cmp ecx, 0x13
jne 0x14000254b
cmp qword [rbp - 0x78], 0
jne 0x14000254b
cmp r10, qword [0x140101f68]
jne 0x14000254b
cmp dword [0x140102ebc], 0
je 0x1400021ed
call fcn.1400038e0
cmp dword [0x140106f74], 0
je 0x140002210
call fcn.140003620
movzx ebx, byte [rsp + 0x68]
test al, al
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x68], ebx
jmp 0x140002214
mov ebx, dword [rsp + 0x68]
cmp qword [rbp - 0x20], 0
movzx r14d, byte [rbp + 0x13e8]
movsxd rdi, r15d
je 0x1400018bd
movsxd rdi, r15d
cmp rdi, 1
jl 0x1400018bd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x140002253
mov ecx, dword [rbp - 0x60]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jg 0x1400018bd
cmp rdi, 0xffffffffffffffff
jle 0x140002266
mov qword [0x140106fd0], rsi
mov dword [0x140106fe0], eax
cmp byte [rsp + 0x48], 0
mov dword [0x140106fe4], eax
movzx eax, byte [0x140101bc3]
cmovne eax, esi
cmp byte [rsp + 0x49], 0
mov byte [0x140101bc3], al
je 0x1400022d9
mov eax, dword [0x140101f70]
dec eax
mov dword [0x140101f70], eax
test r15d, r15d
jle 0x1400022d9
test eax, eax
jne 0x1400022d9
cmp dword [0x140106f74], eax
jne 0x1400022d9
cmp dword [0x140102ebc], eax
jne 0x1400022d9
cmp byte [0x140101bc2], al
je 0x1400022d9
mov rcx, qword [0x140101f68]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140101bc2]
test eax, eax
cmovne ecx, esi
mov byte [0x140101bc2], cl
movzx eax, bl
add rsp, 0x1498
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp r10, qword [0x140101f38]
jne 0x14000254b
cmp rbx, 0x1b
jne 0x14000254b
mov rcx, qword [0x140101f68]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
movzx r14d, byte [rbp + 0x13e8]
movsxd rdi, r15d
jmp 0x1400018bd
movzx r14d, byte [rbp + 0x13e8]
mov qword [0x140101f40], rsi
mov byte [rbp + 0x13f8], 1
movsxd rdi, r15d
jmp 0x1400018bd
xor r8d, r8d
lea rcx, [0x140106420]
lea edx, [r8 + 6]
call fcn.140019e70
movzx r14d, byte [rbp + 0x13e8]
movsxd rdi, r15d
jmp 0x1400018bd
cmp ecx, 0x400
jb 0x14000254b
cmp ecx, 0x401
jbe 0x140002397
cmp ecx, 0x402
je 0x1400023a9
cmp ecx, 0x414
je 0x1400023a9
cmp ecx, 0x415
jne 0x14000254b
test r10, r10
je 0x1400023a9
cmp r10, qword [0x140101f68]
jne 0x14000254b
mov r15, rsi
sub ecx, 0x401
je 0x14000290b
sub ecx, 1
je 0x14000284f
sub ecx, 0x12
je 0x14000251b
movzx r14d, byte [rbp + 0x13e8]
mov rdi, qword [rsp + 0x50]
cmp ecx, 1
je 0x1400024ef
movzx eax, bx
mov ecx, 0x3fff
and ax, cx
cmp ax, word [0x140104e08]
jae 0x1400018b6
movzx eax, ax
lea rcx, [0x140000000]
shr rbx, 0x10
mov r14, qword [rcx + rax*8 + 0x102ec0]
mov qword [rbp - 0x40], r14
test bx, bx
je 0x140002442
mov rdi, qword [r14 + 0x28]
mov eax, 0xffff
mov qword [rbp - 0x30], rdi
add bx, ax
je 0x14000243d
nop dword [rax]
mov rdi, qword [rdi + 0x10]
add bx, ax
jne 0x140002430
mov qword [rbp - 0x30], rdi
test rdi, rdi
jne 0x14000245e
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.14000ba80
mov qword [rbp - 0x30], rax
mov rdi, rax
test rax, rax
je 0x1400018a9
mov rbx, qword [rdi]
mov rcx, rbx
call fcn.1400837c0
test eax, eax
je 0x140002472
cmp eax, 1
jne 0x140002480
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140002480
movzx ecx, byte [rax]
jmp 0x140002482
xor cl, cl
movzx eax, byte [rdi + 0x23]
cmp byte [rdi + 0x22], al
jb 0x1400024b8
add cl, 0x36
cmp cl, 0x14
ja 0x1400024a0
movzx eax, cl
mov ecx, 0x10fc01
bt ecx, eax
jb 0x1400024b8
cmp byte [rdi + 0x26], 0
je 0x1400024aa
mov byte [rdi + 0x27], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x18], eax
jmp 0x1400018a9
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400024e3
movzx ecx, byte [rax]
lea eax, [rcx - 2]
test al, 0xfd
je 0x1400024e3
cmp cl, 5
jb 0x1400024e7
mov rax, qword [0x140101f50]
mov esi, dword [rdi + 0x1c]
mov qword [rbp - 0x50], rax
jmp 0x1400029a8
mov qword [rbp - 0x50], rsi
mov esi, dword [rdi + 0x1c]
jmp 0x1400029a8
cmp byte [0x140106f58], 0
mov ebx, dword [rsp + 0x40]
jne 0x1400018a0
mov rbx, qword [0x140106f40]
mov r14, qword [rbp - 0x40]
test rbx, rbx
cmove rbx, qword [0x140106ac0]
jmp 0x1400029ab
mov edx, esi
mov rcx, rsi
test r8d, r8d
jle 0x140002548
mov r9, qword [0x140101f58]
nop dword [rax]
mov rax, qword [r9 + rcx*8]
cmp qword [rax + 8], r10
je 0x140002610
inc edx
inc rcx
cmp edx, r8d
jl 0x140002530
mov r13, rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140003501
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140106398]
jne 0x140003501
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x130]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
mov rcx, rsi
lea rdx, [rbp + 0x130]
lea r8, str.32770
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140003501
cmp rcx, 7
jne 0x1400025a0
mov rcx, qword [0x1400fda58]
lea rdx, [rsp + 0x70]
mov byte [rcx + 0x128], 1
mov eax, dword [rsp + 0x78]
mov dword [rcx + 0x124], eax
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x1400034f1
cmp dword [0x140101f64], 0
je 0x1400025fd
lea rcx, [0x140101d30]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rax, qword [0x1400fda58]
mov byte [rax + 0x128], 0
jmp 0x1400018a9
mov r13, rax
test rax, rax
je 0x14000254b
mov rcx, qword [rbp - 0x78]
movzx r8d, bx
shr rbx, 0x10
movzx eax, bx
mov dword [rbp - 0x44], eax
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x5c], r8d
mov dword [rsp + 0x44], esi
cmp r8d, 8
jne 0x140002652
mov qword [rsp + 0x60], rax
mov eax, 0x2af8
mov dword [rbp - 0x44], eax
mov dword [rbp - 0x48], ecx
cmp eax, dword [r13 + 0x20]
jae 0x140002666
lea rcx, [rax + rax*4]
mov rax, qword [r13 + 0x28]
lea r14, [rax + rcx*8]
jmp 0x140002669
mov r14, rsi
mov eax, r8d
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x38], rsi
mov byte [rbp + 0x13f0], 0
sub eax, 5
je 0x1400027cc
mov rdi, qword [rsp + 0x50]
sub eax, 1
je 0x14000278b
sub eax, 1
je 0x140002770
sub eax, 1
je 0x140002755
cmp eax, 1
je 0x140002737
mov ebx, dword [rsp + 0x40]
test r14, r14
je 0x140001898
mov rbx, qword [r14 + 0x18]
test rbx, rbx
jne 0x140002714
movsxd r15, dword [rbp + 0x13e0]
test byte [r14 + 9], 1
mov rdi, r15
movzx r14d, byte [rbp + 0x13e8]
mov ebx, dword [rsp + 0x40]
je 0x1400018c1
mov rcx, qword [r13 + 8]
movsxd r15, dword [rbp + 0x13e0]
mov rdi, r15
test rcx, rcx
je 0x1400018c1
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov r15d, dword [rbp + 0x13e0]
mov rdi, qword [rsp + 0x50]
jmp 0x1400018c1
test byte [r14 + 9], 4
movzx r14d, byte [rbp + 0x13e8]
jne 0x1400018b6
mov r14, qword [rbp - 0x40]
mov byte [rbp + 0x13f0], 1
jmp 0x1400029ab
mov rbx, qword [r13 + 0x58]
movzx r14d, byte [rbp + 0x13e8]
test rbx, rbx
je 0x1400018b6
mov r14, qword [rbp - 0x40]
jmp 0x1400029ab
mov rbx, qword [r13 + 0x48]
movzx r14d, byte [rbp + 0x13e8]
test rbx, rbx
je 0x1400018b6
lea rdi, [r13 + 0x62]
jmp 0x1400027a4
mov rbx, qword [r13 + 0x40]
movzx r14d, byte [rbp + 0x13e8]
test rbx, rbx
je 0x1400018b6
lea rdi, [r13 + 0x61]
jmp 0x1400027a4
mov rbx, qword [r13 + 0x38]
movzx r14d, byte [rbp + 0x13e8]
test rbx, rbx
je 0x1400018b6
lea rdi, [r13 + 0x60]
mov qword [rbp - 0x38], rdi
test rdi, rdi
je 0x140002810
cmp byte [rdi], 0
mov rdi, qword [rsp + 0x50]
movzx r14d, byte [rbp + 0x13e8]
jne 0x1400018b6
mov r14, qword [rbp - 0x40]
jmp 0x1400029ab
mov rbx, qword [r13 + 0x50]
mov r15, qword [r13 + 0xa0]
test rbx, rbx
je 0x140002819
movzx r14d, byte [rbp + 0x13e8]
mov rdi, qword [rsp + 0x50]
test r15, r15
je 0x1400018b6
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 + 0x60], rax
test rax, rax
je 0x140002819
mov r14, qword [rbp - 0x40]
jmp 0x1400029ab
movzx r14d, byte [rbp + 0x13e8]
mov rdi, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x40]
test r15, r15
je 0x1400018a0
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
mov r15d, dword [rbp + 0x13e0]
mov qword [r13 + 0xa0], rsi
jmp 0x1400018c1
test rbx, rbx
je 0x14000289a
mov edx, esi
mov rcx, rsi
test r8d, r8d
jle 0x140002879
mov r9, qword [0x140101f58]
mov rax, qword [r9 + rcx*8]
cmp qword [rax + 8], rbx
je 0x140002890
inc edx
inc rcx
cmp edx, r8d
jl 0x140002865
mov r13, rsi
test r10, r10
je 0x14000289d
cmp r10, qword [0x140101f68]
jne 0x14000254b
jmp 0x14000289d
mov r13, rax
test rax, rax
jne 0x14000289d
jmp 0x14000287c
mov r13, rsi
mov rcx, qword [0x140106f78]
test rcx, rcx
je 0x1400028da
mov rax, qword [rbp - 0x78]
nop dword [rax]
mov r12, qword [rcx + 8]
test r12, r12
je 0x1400028d1
nop dword [rax]
cmp dword [r12 + 0x28], eax
je 0x1400028e2
mov r12, qword [r12 + 0x38]
test r12, r12
jne 0x1400028c0
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x1400028b0
mov r12, rsi
jmp 0x1400018a9
mov rbx, qword [r12 + 0x10]
movzx r14d, byte [rbp + 0x13e8]
mov rdi, qword [rsp + 0x50]
test rbx, rbx
je 0x1400018b6
mov esi, dword [r12 + 0x2c]
mov r14, qword [rbp - 0x40]
jmp 0x1400029ab
mov eax, dword [0x140102eb8]
movzx r14d, byte [rbp + 0x13e8]
mov rdi, qword [rsp + 0x50]
cmp rbx, rax
jae 0x1400018b6
mov rax, qword [0x140102eb0]
mov rdi, qword [rax + rbx*8]
mov qword [rbp - 0x28], rdi
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140002967
mov rdx, qword [rdi + 8]
call fcn.14000aea0
mov ebx, dword [rsp + 0x40]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14000188a
mov rcx, qword [rdi + 0x20]
movzx edx, byte [rcx]
dec dl
test dl, 0xfd
je 0x14000296b
mov qword [rbp - 0x50], rsi
mov rdx, qword [rbp - 0x78]
mov rcx, rdi
call fcn.14000e100
cmp qword [rdi + 0x18], 0
movzx r14d, byte [rbp + 0x13e8]
mov ebx, dword [rsp + 0x40]
jne 0x14000188a
cmp byte [rdi + 0x3e], 0
movzx eax, si
mov r14, qword [rbp - 0x40]
cmovne ax, word [rbp - 0x78]
mov word [0x140106f94], ax
mov esi, dword [rdi + 0x28]
mov rbx, qword [rdi]
mov rcx, rbx
call fcn.1400837c0
test eax, eax
je 0x1400029bc
cmp eax, 1
jne 0x1400029ca
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400029ca
movzx edi, byte [rax]
jmp 0x1400029cd
xor dil, dil
mov ecx, dword [0x140101d24]
mov eax, dword [0x1400fda54]
cmp ecx, eax
jl 0x140002a2d
add eax, 2
cmp ecx, eax
jge 0x1400029f5
lea eax, [rdi + 0x36]
cmp al, 0x14
ja 0x1400029f5
mov ecx, 0x10fc01
bt ecx, eax
jb 0x140002a2d
mov ebx, dword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
movzx r14d, byte [rbp + 0x13e8]
test r15, r15
je 0x1400018a0
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
mov r15d, dword [rbp + 0x13e0]
xor eax, eax
mov qword [r13 + 0xa0], rax
jmp 0x1400018c1
mov rax, qword [0x1400fda58]
cmp esi, dword [rax + 0x3c]
jl 0x1400029f5
mov ecx, dword [rsp + 0x78]
mov byte [rsp + 0x68], 1
cmp ecx, 0x402
je 0x140002a9e
lea eax, [rcx - 0x414]
cmp eax, 1
jbe 0x140002ae8
mov rax, qword [0x140106ee8]
mov qword [0x140106ef0], rax
mov eax, dword [0x140106f8c]
mov dword [0x140106f90], eax
cmp ecx, 0x401
jne 0x140002a85
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
jmp 0x140002a89
mov rax, qword [r14 + 0x20]
mov qword [0x140106ee8], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140106f8c], eax
jmp 0x140002ae8
mov rdx, qword [r12]
lea rcx, [0x140106ad0]
mov r8d, 0x104
call fcn.1400b1c24
xor r14d, r14d
lea rcx, [0x140106cda]
mov word [0x140106cd8], r14w
mov r8d, 0x104
mov rdx, qword [r12 + 0x20]
mov rdx, qword [rdx]
call fcn.1400b1c24
mov word [0x140106ee2], r14w
mov qword [0x140106ac8], r12
mov rcx, qword [0x140101f48]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140001470
mov r8d, 0x7f
lea rcx, [rbp + 0x1d0]
mov rdx, rax
call fcn.1400b1c24
xor eax, eax
movzx r9d, dil
mov r8b, 1
mov word [rbp + 0x2ce], ax
xor edx, edx
mov ecx, esi
call fcn.140003d50
mov r14, qword [0x1400fda58]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140106fe4], eax
mov dword [0x140106fe0], eax
mov eax, dword [rsp + 0x78]
sub eax, 0x401
je 0x140003442
sub eax, 1
je 0x140003398
sub eax, 0x12
je 0x140002c59
cmp eax, 1
je 0x140002ba8
mov r8, qword [rbp - 0x40]
movzx eax, byte [r8 + 0x10]
add al, 0x64
cmp al, 3
ja 0x140002b7e
mov eax, dword [rbp - 0x78]
mov qword [r14 + 0x48], rax
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x50]
mov rdx, rcx
mov qword [r14 + 0xf8], rax
movzx eax, byte [rcx + 0x24]
mov rcx, r8
mov byte [r14 + 0x136], al
call fcn.14000be70
jmp 0x140003461
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x140002bdc
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140002bd3
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov edx, 2
test eax, eax
je 0x140002bd8
mov edx, 1
xor ebx, ebx
jmp 0x140002be0
xor ebx, ebx
mov edx, ebx
mov rcx, qword [0x140101f48]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov qword [r14 + 0x48], rdx
call fcn.1400012a0
mov rax, qword [r14 + 0x48]
mov ecx, 1
mov qword [rbp + 0x40], rax
mov rax, qword [0x140106f40]
mov dword [rbp + 0x50], ecx
mov byte [0x140106f58], cl
test rax, rax
je 0x140002c29
mov rcx, rax
call fcn.140001580
mov rax, qword [0x140106f40]
mov ecx, 1
cmp qword [rbp - 0x80], 0
jne 0x140002c4d
test rax, rax
lea rdx, [rbp + 0x40]
mov r9d, ebx
mov r8d, ecx
sete r9b
lea rcx, [0x140106f10]
call fcn.140083990
mov byte [0x140106f58], 0
jmp 0x140003461
mov rsi, qword [rbp - 0x58]
xor r8d, r8d
mov word [rbp - 0x18], r8w
cmp byte [rbp + 0x13f0], r8b
je 0x140002c73
mov rcx, qword [rsi]
jmp 0x140002c77
mov rcx, qword [r13 + 8]
movsxd rdi, dword [rsp + 0x44]
mov r9d, 1
mov rax, rdi
shl rax, 5
inc edi
mov dword [rsp + 0x44], edi
mov qword [rbp + rax + 0x60], rcx
mov ecx, dword [rsp + 0x5c]
mov dword [rbp + rax + 0x70], r9d
cmp ecx, 5
je 0x14000300c
jbe 0x140002ee9
cmp ecx, 8
jbe 0x140002e60
cmp ecx, 9
jne 0x140002ee9
mov rdx, qword [rsp + 0x60]
mov ecx, 3
test rdx, rdx
mov qword [rsp + 0x60], r8
cmovne ecx, r9d
mov dword [r14 + 0x44], ecx
mov rax, qword [rbp - 0x6c]
mov qword [r14 + 0x50], rax
test rsi, rsi
je 0x140002d86
cmp ecx, r9d
jne 0x140002d00
lea r8, [r14 + 0x50]
mov rdx, rsi
call fcn.14007bfe0
mov r9d, 1
movzx ecx, byte [rsi + 8]
sub ecx, 9
je 0x140002d69
sub ecx, 1
je 0x140002d5e
cmp ecx, 1
jne 0x140002d86
cmp dword [r14 + 0x44], 1
mov rcx, qword [rsi]
jne 0x140002d33
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, eax
jmp 0x140002d81
mov rax, qword [rbp - 0x6c]
lea rdx, [rbp + 0x40]
mov qword [rbp + 0x40], rax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rsi]
lea r9, [rbp + 0x40]
xor r8d, r8d
mov edx, 0x1111
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, eax
jmp 0x140002d81
or r8, 0xffffffffffffffff
mov edx, 0x100c
jmp 0x140002d74
xor r9d, r9d
mov edx, OleCreatePictureIndirect
xor r8d, r8d
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
inc eax
cdqe
mov qword [rsp + 0x60], rax
mov rcx, qword [r13 + 8]
lea rdx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x10]
mov r9d, 1
sub dword [r14 + 0x50], eax
mov eax, dword [rbp + 0x14]
sub dword [r14 + 0x54], eax
movsxd rdx, edi
mov rax, rdx
shl rax, 5
test rsi, rsi
je 0x140002dcd
lea rcx, [rbp + 0x60]
add rcx, rax
mov rax, qword [rsi]
xor r8d, r8d
mov dword [rcx + 0x10], r9d
mov qword [rcx], rax
jmp 0x140002de1
xor r8d, r8d
lea rcx, [0x1400ccf5c]
mov dword [rbp + rax + 0x70], r8d
mov qword [rbp + rax + 0x60], rcx
lea ecx, [rdx + 1]
mov rdx, qword [rsp + 0x60]
lea esi, [rcx + 1]
movsxd rax, ecx
shl rax, 5
mov rcx, r8
mov qword [rbp + rax + 0x60], rdx
lea rdx, [rbp + 0x60]
mov dword [rbp + rax + 0x70], r9d
movsxd rax, esi
inc esi
shl rax, 5
add rdx, rax
mov eax, dword [r14 + 0x44]
cmp eax, 3
movsxd rax, esi
sete cl
shl rax, 5
mov qword [rdx], rcx
inc esi
mov dword [rdx + 0x10], r9d
lea rcx, [rbp + 0x60]
add rcx, rax
movsxd rax, dword [r14 + 0x50]
mov qword [rcx], rax
mov dword [rcx + 0x10], r9d
lea rcx, [rbp + 0x60]
movsxd rax, esi
shl rax, 5
add rcx, rax
movsxd rax, dword [r14 + 0x54]
inc esi
mov dword [rsp + 0x44], esi
mov dword [rcx + 0x10], r9d
mov qword [rcx], rax
jmp 0x140003147
mov dword [r14 + 0x44], r9d
cmp ecx, 8
jne 0x14000314d
mov ecx, dword [rbp - 0x48]
mov rdx, qword [rsp + 0x60]
movsxd rsi, edi
lea rdi, [rbp + 0x60]
mov rax, rsi
mov dword [r14 + 0x50], ecx
shl rax, 5
inc esi
mov dword [rbp + rax + 0x70], r9d
mov qword [rbp + rax + 0x60], rdx
movsxd rax, esi
inc esi
shl rax, 5
add rdi, rax
movzx eax, cx
cmp byte [r13 + 0x108], r8b
je 0x140002ec8
mov r8d, dword [0x14010639c]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [rbp - 0x48]
mov r9d, 1
cdqe
mov qword [rdi], rax
mov dword [rdi + 0x10], r9d
lea rdi, [rbp + 0x60]
movsxd rax, esi
shl rax, 5
add rdi, rax
mov eax, ecx
shr eax, 0x10
jmp 0x140003111
movzx eax, byte [rsi + 8]
cmp al, 0xa
je 0x140002f2a
cmp al, 0x19
jne 0x140002f9e
mov rax, qword [rbp - 0x6c]
lea rdx, [rbp + 0x20]
mov qword [r14 + 0x50], rax
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x20]
sub dword [r14 + 0x50], eax
mov eax, dword [rbp + 0x24]
sub dword [r14 + 0x54], eax
mov ecx, dword [rsp + 0x5c]
xor r8d, r8d
lea r9d, [r8 + 1]
jmp 0x140002f9e
cmp cl, 0x49
jne 0x140002f9e
lea rax, [rbp - 0x18]
bt ecx, 8
jae 0x140002f40
mov eax, 0x53
jmp 0x140002f4b
bt ecx, 9
jae 0x140002f53
mov eax, reloc.WSOCK32.dll_WSAStartup
mov word [rbp - 0x18], ax
lea rax, [rbp - 0x16]
bt ecx, 0xa
jae 0x140002f60
mov edx, 0x46
jmp 0x140002f6b
bt ecx, 0xb
jae 0x140002f72
mov edx, 0x66
mov word [rax], dx
add rax, 2
bt ecx, 0xc
jae 0x140002f7f
mov ecx, 0x43
jmp 0x140002f8a
bt ecx, 0xd
jae 0x140002f91
mov ecx, 0x63
mov word [rax], cx
add rax, 2
mov ecx, 0x49
mov word [rax], r8w
mov dword [rsp + 0x5c], ecx
movsxd rsi, edi
lea rdx, [rbp + 0x60]
mov rax, rsi
mov dword [r14 + 0x44], ecx
shl rax, 5
inc esi
add rdx, rax
cmp ecx, 5
jae 0x140002fcd
mov eax, ecx
lea rcx, [0x140000000]
mov rcx, qword [rcx + rax*8 + 0xea640]
jmp 0x140002fde
movzx eax, cl
lea rcx, [0x140108a04]
mov word [0x140108a04], ax
mov qword [rdx], rcx
mov ecx, dword [rsp + 0x5c]
mov dword [rdx + 0x10], r8d
mov rdx, qword [rsp + 0x60]
movsxd rax, esi
shl rax, 5
inc esi
mov dword [rsp + 0x44], esi
mov edi, esi
mov dword [rbp + rax + 0x70], r9d
mov qword [rbp + rax + 0x60], rdx
jmp 0x140003152
mov dword [r14 + 0x44], 5
lea rdx, [rbp + 0x30]
mov rax, qword [rbp - 0x6c]
mov qword [r14 + 0x50], rax
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x30]
mov edx, 0xffffffec
sub dword [r14 + 0x50], eax
mov eax, dword [rbp + 0x34]
sub dword [r14 + 0x54], eax
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r13 + 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 + 0x60]
add rdi, rax
call fcn.14006dc00
mov rdx, qword [rbp - 0x58]
mov qword [rdi], rax
movsxd rax, esi
shl rax, 5
mov dword [rdi + 0x10], 6
test rdx, rdx
je 0x1400030a8
lea rcx, [rbp + 0x60]
add rcx, rax
mov rax, qword [rdx]
mov dword [rcx + 0x10], 1
mov qword [rcx], rax
jmp 0x1400030ba
xor ecx, ecx
mov dword [rbp + rax + 0x70], ecx
lea rcx, [0x1400ccf5c]
mov qword [rbp + rax + 0x60], rcx
lea ecx, [rsi + 1]
movsxd rax, ecx
lea rdi, [rbp + 0x60]
shl rax, 5
lea esi, [rcx + 1]
add rdi, rax
mov eax, dword [r14 + 0x50]
cmp byte [r13 + 0x108], 0
je 0x1400030f0
mov r8d, dword [0x14010639c]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
cdqe
mov r9d, 1
mov qword [rdi], rax
mov dword [rdi + 0x10], r9d
lea rdi, [rbp + 0x60]
movsxd rax, esi
shl rax, 5
add rdi, rax
mov eax, dword [r14 + 0x54]
inc esi
cmp byte [r13 + 0x108], 0
mov dword [rsp + 0x44], esi
je 0x14000313b
mov r8d, dword [0x14010639c]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r9d, 1
cdqe
xor r8d, r8d
mov qword [rdi], rax
mov dword [rdi + 0x10], r9d
mov ecx, dword [rsp + 0x5c]
mov edi, esi
mov rdx, qword [rsp + 0x60]
cmp byte [rbp + 0x13f0], 0
mov rsi, qword [rbp - 0x58]
je 0x14000321a
cmp byte [rsi + 8], 0x17
jne 0x14000321a
xor edx, edx
lea rcx, [rbp + 0x2d0]
mov r8d, 0x10b8
call fcn.1400a7b90
mov rax, qword [rsp + 0x60]
lea r9, [rbp + 0x2d0]
mov rcx, qword [rsi]
dec eax
xor r8d, r8d
mov dword [rbp + 0x2d4], eax
mov edx, 0x703
mov dword [rbp + 0x2d0], SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140003273
cmp word [rbp + 0x340], 0
lea rax, [rbp + 0x2e0]
mov rcx, qword [0x140101f48]
lea rdx, [rbp + 0x340]
cmove rdx, rax
mov byte [rsp + 0x20], 1
xor r9d, r9d
or r8, 0xffffffffffffffff
call fcn.14008c280
mov rcx, qword [0x140101f48]
xor r8d, r8d
inc dword [rsp + 0x44]
movsxd rax, edi
lea rdi, [rbp + 0x60]
shl rax, 5
lea edx, [r8 + 1]
add rdi, rax
call fcn.140001470
xor ecx, ecx
mov qword [rdi], rax
mov dword [rdi + 0x10], ecx
jmp 0x140003275
cmp word [rbp - 0x18], 0
je 0x14000323c
movsxd rax, edi
shl rax, 5
inc edi
mov dword [rsp + 0x44], edi
mov dword [rbp + rax + 0x70], r8d
lea r8, [rbp - 0x18]
mov qword [rbp + rax + 0x60], r8
cmp ecx, 8
je 0x140003264
cmp ecx, 5
je 0x140003264
mov rcx, qword [0x140101f48]
lea rdx, [rbp - 0x18]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008c280
jmp 0x140003273
mov rcx, qword [0x140101f48]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400012a0
xor ecx, ecx
mov rax, qword [r13 + 8]
mov rdi, qword [rbp - 0x38]
mov qword [r14 + 0xf8], rax
add dword [r13 + 0x34], 2
mov eax, dword [rbp - 0x44]
mov dword [r14 + 0x70], eax
mov rax, qword [rsp + 0x60]
mov qword [r14 + 0x48], rax
mov qword [r14 + 0x60], r13
mov qword [r14 + 0x58], r13
movzx r14d, byte [rbp + 0x13f0]
test rdi, rdi
je 0x1400032b3
mov byte [rdi], 1
jmp 0x1400032bc
test r14b, r14b
je 0x1400032bc
or byte [rsi + 9], 4
mov edx, dword [rsp + 0x44]
lea rax, [rbp + 8]
mov dword [rsp + 0x30], ecx
lea r9, [rbp + 0x60]
mov qword [rsp + 0x28], rax
lea r8, [0x1400ccfc8]
mov dword [rsp + 0x20], edx
mov rcx, rbx
mov rdx, rbx
call fcn.14007fd00
cmp qword [r13 + 8], 0
je 0x14000338b
mov r8d, dword [rsp + 0x5c]
test rdi, rdi
je 0x14000333b
mov byte [rdi], 0
cmp r8d, 6
jne 0x140003344
cmp qword [rbp + 8], 0
jne 0x14000338b
mov rcx, rbx
call fcn.1400837c0
test eax, eax
jne 0x14000331d
test rbx, rbx
jne 0x14000338b
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x14000338b
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r13
call fcn.14006d950
jmp 0x140003461
test r14b, r14b
je 0x140003344
and byte [rsi + 9], 0xfb
cmp r8d, 5
jne 0x14000338b
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
mov rcx, qword [r13 + 8]
xor eax, eax
mov qword [r13 + 0xa0], rax
lea edx, [rax - 0x14]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r13 + 8]
mov edx, 0xffffffec
or eax, 0x10
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, r13
call fcn.14006d950
jmp 0x140003461
test r13, r13
je 0x1400033be
mov rax, qword [r13 + 8]
mov qword [r14 + 0xf8], rax
mov eax, 1
mov dword [r14 + 0x44], eax
add dword [r13 + 0x34], 2
mov qword [r14 + 0x60], r13
mov qword [r14 + 0x58], r13
lea rax, [0x140106ad0]
xor esi, esi
lea rcx, [0x140106420]
mov dword [rbp + 0x180], esi
mov qword [rbp + 0x170], rax
call fcn.140051040
mov dword [rsp + 0x30], esi
lea r9, [rbp + 0x170]
mov qword [rsp + 0x28], rsi
lea r8, [0x1400ccfc8]
mov rdx, rbx
mov dword [rbp + 0x1c0], esi
lea ecx, [rax + 1]
mov dword [rsp + 0x20], 3
mov eax, 1
mov qword [rbp + 0x190], rcx
mov dword [rbp + 0x1a0], eax
mov rcx, rbx
lea rax, [0x140106cda]
mov qword [rbp + 0x1b0], rax
call fcn.14007fd00
test r13, r13
je 0x140003463
mov rcx, r13
call fcn.14006d950
jmp 0x140003463
mov rax, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x28]
mov qword [r14 + 0xf8], rax
movzx eax, byte [rcx + 0x35]
mov byte [r14 + 0x136], al
call fcn.14000e060
xor esi, esi
lea rcx, [rbp + 0x1d0]
call fcn.140003ef0
cmp qword [rbp - 0x20], 0
movsxd r15, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13e8]
mov rdi, r15
mov ebx, dword [rsp + 0x40]
je 0x1400018c1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x1400034b8
movsxd r15, dword [rbp + 0x13e0]
mov ecx, dword [rbp - 0x60]
mov rdi, r15
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jg 0x1400018c1
jmp 0x1400034bf
mov r15d, dword [rbp + 0x13e0]
movsxd rdi, r15d
cmp rdi, 0xffffffffffffffff
jle 0x1400034d5
mov qword [0x140106fd0], rsi
mov dword [0x140106fe0], eax
mov r14b, 1
mov dword [0x140106fe4], eax
mov byte [rbp + 0x13e8], r14b
mov byte [rbp + 0x13f8], 1
jmp 0x1400018bd
mov rcx, qword [0x1400fda58]
mov byte [rcx + 0x128], 0
jmp 0x140003508
mov rcx, qword [0x1400fda58]
mov rdx, qword [0x140101d28]
test rdx, rdx
je 0x14000354b
mov rcx, qword [0x140101f68]
lea r8, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
movsxd r15, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13e8]
mov rdi, r15
mov ebx, dword [rsp + 0x40]
test eax, eax
jne 0x1400018c1
mov rcx, qword [0x1400fda58]
mov byte [rcx + 0x128], 1
mov eax, dword [rsp + 0x78]
mov dword [rcx + 0x124], 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 [0x1400fda58]
mov byte [rax + 0x128], 0
jmp 0x1400018a9
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
jle 0x14000359a
mov qword [0x140106fd0], rbx
mov dword [0x140106fe0], eax
cmp byte [rsp + 0x48], 0
mov dword [0x140106fe4], eax
movzx eax, byte [0x140101bc3]
cmovne eax, ebx
cmp byte [rsp + 0x49], 0
mov byte [0x140101bc3], al
je 0x14000360d
mov eax, dword [0x140101f70]
dec eax
mov dword [0x140101f70], eax
test r15d, r15d
jle 0x14000360d
test eax, eax
jne 0x14000360d
cmp dword [0x140106f74], eax
jne 0x14000360d
cmp dword [0x140102ebc], eax
jne 0x14000360d
cmp byte [0x140101bc2], al
je 0x14000360d
mov rcx, qword [0x140101f68]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140101bc2]
test eax, eax
cmovne ecx, ebx
mov byte [0x140101bc2], cl
movzx eax, byte [rsp + 0x68]
jmp 0x1400022dc