Function at 0x1400016f0
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.1400bfa50
sub rsp, rax
mov byte [rsp + 0x48], 0
mov ebx, edx
mov r15d, ecx
mov r14d, 1
cmp edx, 2
jne 0x140001740
cmp byte [0x140104bc3], 0
mov ebx, r14d
jne 0x140001740
mov byte [0x140104bc3], bl
mov byte [rsp + 0x48], bl
xor esi, esi
cmp dword [0x140107f2c], esi
je 0x14000177a
cmp qword [0x140107f10], rsi
je 0x140001767
mov rcx, qword [0x140107f00]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140107f10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140107f2c], esi
mov qword [0x140107f00], rsi
cmp r15d, 0x8000012f
jne 0x14000179c
mov r15d, 0xa
mov byte [rbp + 0x13e8], r14b
mov dword [rbp + 0x13e0], r15d
mov dword [rbp - 0x50], esi
jmp 0x1400017bb
cmp r15d, 5
setle al
mov byte [rbp + 0x13e8], al
test al, al
je 0x1400017b2
mov dword [rbp - 0x50], esi
jmp 0x1400017bb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x50], eax
cmp dword [0x140105cec], esi
je 0x1400017c8
call fcn.140003c40
xor dil, dil
cmp dword [0x140107e0c], esi
mov dword [rsp + 0x70], edi
je 0x1400017ea
call fcn.140003980
test al, al
movzx edi, dil
cmovne edi, r14d
mov dword [rsp + 0x70], edi
test r15d, r15d
jle 0x14000182c
cmp ebx, r14d
jne 0x14000182c
inc dword [0x140104d6c]
cmp byte [0x140104bc2], sil
mov byte [rsp + 0x49], r14b
jne 0x140001831
mov rcx, qword [0x140104d70]
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x140104bc2]
jmp 0x140001831
mov byte [rsp + 0x49], sil
mov r12, qword [rbp + 0x13f0]
mov r13, qword [rbp + 0x13f0]
movzx r14d, byte [rbp + 0x13e8]
movsxd rax, ebx
movsxd rdi, r15d
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x13f0]
mov qword [rsp + 0x50], rdi
mov edi, esi
mov qword [rbp - 0x48], rax
mov byte [rsp + 0x58], sil
mov byte [rbp + 0x13f8], sil
mov dword [rsp + 0x40], esi
movsxd rbx, r15d
jmp 0x1400018d0
mov r15d, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13e8]
jmp 0x1400018d0
movzx r14d, byte [rbp + 0x13e8]
jmp 0x1400018c5
mov r15d, dword [rbp + 0x13e0]
mov rbx, qword [rsp + 0x50]
jmp 0x1400018d0
mov rax, qword [0x140100a58]
mov byte [rax + 0x128], 0
movzx r14d, byte [rbp + 0x13e8]
nop word [rax + rax]
mov rbx, qword [rsp + 0x50]
mov r15d, dword [rbp + 0x13e0]
mov edi, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
test rbx, rbx
jle 0x1400019a3
cmp byte [rbp + 0x13f8], 0
jne 0x1400019a3
cmp byte [0x140104bc3], 0
jne 0x1400019b0
cmp dword [0x140100a50], 0
je 0x14000195a
cmp dword [0x140104d20], 0
jne 0x14000195a
mov rcx, qword [0x140100a58]
cmp byte [rcx + 0x12c], 0
jne 0x140001951
cmp byte [rcx + 0x12e], 0
jne 0x140001951
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001951
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140100a58]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001951
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
jmp 0x14000195c
xor eax, eax
test eax, eax
lea rcx, [rbp - 0x80]
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 0x1400018d0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x140001c53
mov dword [0x140107e78], eax
jmp 0x140001c53
cmp byte [0x140104bc3], 0
je 0x140001b23
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140001b23
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140107290]
jne 0x140001b23
cmp dword [0x140104d68], 0
je 0x140001a34
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x190]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
xor edi, edi
lea rdx, [rbp + 0x190]
mov eax, edi
lea r8, [0x1400cef68]
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x140001a2b
cmp rax, 7
jne 0x140001a10
cmp cx, word [r8 + rax*2 - 2]
sete al
test al, al
jne 0x140001a8d
jmp 0x140001a36
xor edi, edi
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x140001b23
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x190]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, [0x1400cef78]
lea rcx, [rbp + 0x190]
call fcn.1400ab8c0
test eax, eax
je 0x140001a8d
lea rdx, [0x1400cef98]
lea rcx, [rbp + 0x190]
call fcn.1400ab8c0
test eax, eax
jne 0x140001b23
call fcn.140004390
test eax, eax
mov dword [rsp + 0x20], edi
mov eax, 0xffffffff
lea rcx, [rbp - 0x80]
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, [rbp - 0x80]
mov r9d, ebx
mov r8d, 0x20e
test eax, eax
je 0x140001b9d
mov edi, dword [rbp - 0x60]
xor eax, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001aef
mov r9d, 0x1ff
jmp 0x140001b94
mov eax, dword [rbp - 0x60]
lea rcx, [rbp - 0x80]
sub eax, edi
xor edx, edx
test eax, eax
mov eax, 1
mov dword [rsp + 0x20], eax
jle 0x140001b15
mov r9d, 0x1ff
xor r8d, r8d
jmp 0x140001ba6
mov r9d, ebx
mov r8d, 0x20e
jmp 0x140001ba6
cmp dword [0x140100a50], 0
je 0x140001b84
cmp dword [0x140104d20], 0
jne 0x140001b84
mov rcx, qword [0x140100a58]
cmp byte [rcx + 0x12c], 0
jne 0x140001b79
cmp byte [rcx + 0x12e], 0
jne 0x140001b79
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001b79
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140100a58]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001b79
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
xor edi, edi
jmp 0x140001b88
xor edi, edi
mov eax, edi
test eax, eax
mov r9d, 0x311
cmovne r9d, edi
xor r8d, r8d
lea rcx, [rbp - 0x80]
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 [0x140107e78]
mov ecx, eax
sub ecx, esi
movsxd rbx, r15d
cmp ecx, 3
cmova edx, eax
mov dword [0x140107e78], edx
test r15d, r15d
jne 0x140001bf1
cmp byte [rsp + 0x58], r15b
jne 0x140001bf1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x58], 1
jmp 0x1400018cc
mov edi, dword [rsp + 0x40]
test edi, edi
jne 0x140001c1c
test r14b, r14b
je 0x140001c1c
test r15d, r15d
jle 0x140001c0c
lea ecx, [rdi + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov edi, eax
mov dword [rsp + 0x40], eax
jmp 0x1400018d0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x14000386a
mov ecx, dword [rbp - 0x50]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jle 0x14000386a
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400018d0
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
inc edi
cmp dword [0x1401072a8], 0
mov dword [rsp + 0x40], edi
je 0x140001c93
mov r9, qword [rbp - 0x68]
lea rax, [rbp + 0x180]
mov r8, qword [rbp - 0x70]
mov edx, dword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.140003cc0
test al, al
jne 0x1400018d0
mov r9d, dword [0x140104d4c]
mov r11, qword [rbp - 0x80]
mov r14d, dword [rbp - 0x78]
test r9d, r9d
je 0x14000215e
test r11, r11
je 0x14000215e
cmp r11, qword [0x140104d70]
je 0x14000215e
cmp r14d, 0x414
je 0x14000215e
cmp r14d, 0x402
je 0x14000215e
lea eax, [r14 - 0x100]
cmp eax, 9
ja 0x1400020ce
call qword [sym.imp.USER32.dll_GetFocus]
mov rsi, rax
test rax, rax
je 0x1400020bf
mov rcx, rax
call fcn.140091650
mov rbx, rax
test rax, rax
je 0x1400020bf
mov rcx, rsi
call fcn.14006de50
mov qword [rsp + 0x60], rax
mov rdi, rax
test rax, rax
je 0x1400020bf
mov rdx, qword [rax + 0xb8]
test rdx, rdx
je 0x140001d56
lea r8, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
movzx r14d, byte [rbp + 0x13e8]
movsxd rbx, r15d
test eax, eax
jne 0x1400018cc
mov r14d, dword [rbp - 0x78]
mov rbx, qword [rbp - 0x70]
cmp r14d, 0x100
jne 0x14000204e
cmp byte [rdi + 0x100], 0
je 0x140001f39
cmp rbx, 0x27
ja 0x140001f39
movabs rax, 0xa600000200
bt rax, rbx
jae 0x140001f39
mov rdx, rsi
mov rcx, rdi
call fcn.140001670
mov qword [rsp + 0x78], rax
mov r14, rax
test rax, rax
je 0x140001f1d
movzx ecx, byte [rax + 8]
cmp cl, 0xf
je 0x140001f1d
mov rbx, qword [rbp - 0x70]
xor eax, eax
mov edi, eax
cmp cl, 0x13
jne 0x140001e08
lea rax, [rbx - 0x25]
mov rdi, r14
test rax, 0xfffffffffffffffd
jne 0x140001e08
cmp rbx, 0x27
mov byte [rsp + 0x20], 0
mov rdx, r14
sete r8b
xor r9d, r9d
mov rcx, qword [rsp + 0x60]
call fcn.14007e460
movzx r14d, byte [rbp + 0x13e8]
movsxd rbx, r15d
jmp 0x1400018cc
lea rax, [rbx - 0x25]
test rax, 0xfffffffffffffffd
je 0x140001f23
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140001f18
mov rbx, qword [rbp - 0x70]
cmp rbx, 9
jne 0x140001e5a
cmp byte [r14 + 8], 0xc
jne 0x140001e5a
mov rcx, qword [r14]
lea edx, [rbx - 0x19]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x140001f18
mov rbx, qword [rbp - 0x70]
test rdi, rdi
jne 0x140001ec1
movzx edx, byte [r14 + 0xa]
mov rcx, qword [rsp + 0x60]
call fcn.14007e1b0
mov rdi, rax
test rax, rax
jne 0x140001ec1
mov rdi, qword [rsp + 0x60]
xor r8b, r8b
mov edx, eax
mov r9d, dword [rdi + 0x20]
test r9d, r9d
je 0x140001f28
mov r10, qword [rdi + 0x28]
mov eax, edx
lea rcx, [rax + rax*4]
cmp byte [r10 + rcx*8 + 8], 0x13
lea rcx, [rcx*8]
jne 0x140001eaf
test r8b, r8b
je 0x140001eb8
inc r8b
inc edx
cmp edx, r9d
jb 0x140001e91
jmp 0x140001f28
lea rdi, [rcx + r10]
test rdi, rdi
je 0x140001f23
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140001f18
mov rax, qword [rbp - 0x70]
cmp rax, 0x22
je 0x140001f04
cmp rax, 9
jne 0x140001ef1
lea ecx, [rax + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140001f04
xor r8d, r8d
mov byte [rsp + 0x20], 1
mov r9b, 1
mov rdx, rdi
jmp 0x140001dee
mov r8b, 1
mov rdx, rdi
mov byte [rsp + 0x20], r8b
movzx r9d, r8b
jmp 0x140001dee
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rbp - 0x70]
jmp 0x140001f28
mov rdi, qword [rsp + 0x60]
mov r14d, dword [rbp - 0x78]
cmp r14d, 0x100
jne 0x14000204e
cmp rbx, 0x1b
je 0x140001f7a
cmp rbx, 9
je 0x140001f7a
cmp rbx, 0x41
jne 0x14000204e
lea ecx, [rbx - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
je 0x140002046
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x140002046
mov rdx, rsi
mov rcx, rdi
call fcn.140001670
mov qword [rsp + 0x78], rax
mov r14, rax
test rax, rax
je 0x140002046
cmp byte [rax + 8], 0xc
jne 0x140002046
mov rbx, qword [rbp - 0x70]
cmp rbx, 0x1b
je 0x140002010
cmp rbx, 0x41
je 0x140001fe5
cmp byte [rax + 9], 0
jge 0x14000204a
mov rcx, qword [rax]
lea r9, [0x1400cefb4]
mov edx, 0xc2
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rbp + 0x13e8]
movsxd rbx, r15d
jmp 0x1400018cc
test byte [rax + 9], 2
jne 0x14000204a
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 rbx, r15d
jmp 0x1400018cc
cmp qword [rdi + 0x40], 0
movzx r14d, byte [rbp + 0x13e8]
movsxd rbx, r15d
je 0x1400018cc
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov edx, 0x414
mov r8d, 0x2af80007
call qword [sym.imp.USER32.dll_PostMessageW]
movsxd rbx, r15d
jmp 0x1400018cc
mov rbx, qword [rbp - 0x70]
mov r14d, dword [rbp - 0x78]
mov rcx, qword [0x1401071f8]
test rcx, rcx
je 0x1400020b2
cmp r14d, 0x100
jne 0x1400020b2
cmp rbx, 0xd
jne 0x14000208a
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1116
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rbp + 0x13e8]
movsxd rbx, r15d
jmp 0x1400018cc
cmp rbx, 0x1b
jne 0x1400020b2
xor r9d, r9d
lea r8d, [rbx - 0x1a]
mov edx, 0x1116
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rbp + 0x13e8]
movsxd rbx, r15d
jmp 0x1400018cc
mov r11, qword [rbp - 0x80]
mov r9d, dword [0x140104d4c]
jmp 0x1400020d2
mov r14d, dword [rbp - 0x78]
mov r11, qword [rbp - 0x80]
mov r9d, dword [0x140104d4c]
mov rbx, qword [rbp - 0x70]
xor esi, esi
mov edi, esi
test r9d, r9d
jle 0x140002158
mov ebx, esi
nop dword [rax]
mov rdx, qword [0x140104d60]
mov rax, qword [rdx + rbx]
cmp dword [rax + 0x20], esi
jne 0x1400020f9
cmp r14d, 0x106
je 0x140002143
mov rcx, qword [0x140100a58]
mov byte [rcx + 0x128], 1
mov eax, dword [rbp - 0x78]
mov dword [rcx + 0x124], eax
mov rcx, qword [rdx + rbx]
lea rdx, [rbp - 0x80]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
mov rax, qword [0x140100a58]
mov byte [rax + 0x128], sil
jne 0x140001df8
mov r14d, dword [rbp - 0x78]
mov r9d, dword [0x140104d4c]
inc edi
add rbx, 8
cmp edi, r9d
jl 0x1400020e0
mov r11, qword [rbp - 0x80]
mov edi, dword [rsp + 0x40]
jmp 0x140002160
mov edi, dword [rsp + 0x40]
jmp 0x140002164
xor esi, esi
mov rbx, qword [rbp - 0x70]
cmp r14d, 0x401
ja 0x140002350
cmp r14d, 0x400
jae 0x14000237c
mov eax, r14d
sub eax, 0x12
je 0x14000232d
sub eax, 0x39
je 0x14000230f
sub eax, 0xb5
je 0x1400022d9
sub eax, 0x13
je 0x1400021b3
cmp eax, 0x1ff
je 0x14000238e
jmp 0x140002637
cmp qword [rbp - 0x68], 0
jne 0x140002637
cmp r11, qword [0x140104d70]
jne 0x140002637
cmp dword [0x140105cec], 0
je 0x1400021d9
call fcn.140003c40
cmp dword [0x140107e0c], 0
je 0x1400021fc
call fcn.140003980
movzx ebx, byte [rsp + 0x70]
test al, al
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x70], ebx
jmp 0x140002200
mov ebx, dword [rsp + 0x70]
cmp qword [rbp - 0x10], 0
movzx r14d, byte [rbp + 0x13e8]
je 0x140002325
movsxd rdi, r15d
cmp rdi, 1
jl 0x140001e00
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x14000223c
mov ecx, dword [rbp - 0x50]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jg 0x140001e00
cmp rdi, 0xffffffffffffffff
jle 0x14000224f
mov qword [0x140107e68], rsi
mov dword [0x140107e78], eax
cmp byte [rsp + 0x48], 0
mov dword [0x140107e7c], eax
movzx eax, byte [0x140104bc3]
cmovne eax, esi
cmp byte [rsp + 0x49], 0
mov byte [0x140104bc3], al
je 0x1400022c2
mov eax, dword [0x140104d6c]
dec eax
mov dword [0x140104d6c], eax
test r15d, r15d
jle 0x1400022c2
test eax, eax
jne 0x1400022c2
cmp dword [0x140107e0c], eax
jne 0x1400022c2
cmp dword [0x140105cec], eax
jne 0x1400022c2
cmp byte [0x140104bc2], al
je 0x1400022c2
mov rcx, qword [0x140104d70]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140104bc2]
test eax, eax
cmovne ecx, esi
mov byte [0x140104bc2], 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 r11, qword [0x140104d30]
jne 0x140002637
cmp rbx, 0x1b
jne 0x140002637
mov rcx, qword [0x140104d70]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
movzx r14d, byte [rbp + 0x13e8]
movsxd rbx, r15d
jmp 0x1400018d0
movzx r14d, byte [rbp + 0x13e8]
mov qword [0x140104d38], rsi
mov byte [rbp + 0x13f8], 1
movsxd rbx, r15d
jmp 0x1400018d0
xor r8d, r8d
lea rcx, [0x1401072b0]
lea edx, [r8 + 5]
call fcn.14001b180
movzx r14d, byte [rbp + 0x13e8]
movsxd rbx, r15d
jmp 0x1400018d0
cmp r14d, 0x402
je 0x14000238e
cmp r14d, 0x414
je 0x14000238e
cmp r14d, 0x415
je 0x14000237c
lea eax, [r14 - 0x41b]
cmp eax, 3
jbe 0x14000238e
jmp 0x140002637
test r11, r11
je 0x14000238e
cmp r11, qword [0x140104d70]
jne 0x140002637
lea eax, [r14 - 0x401]
mov r15, rsi
cmp eax, 0x1d
ja case.0x1400023ba.1031
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x391c]
mov ecx, dword [rdx + rax*4 + 0x3900]
add rcx, rdx
jmp rcx
mov r8d, esi
mov rdx, rsi
test r9d, r9d
jle 0x1400023ec
nop word [rax + rax]
mov rax, qword [0x140104d60]
mov rcx, qword [rax + rdx*8]
cmp qword [rcx + 8], r11
je 0x1400023f6
inc r8d
inc rdx
cmp r8d, r9d
jl 0x1400023d0
mov qword [rsp + 0x60], rsi
jmp 0x140002637
mov rax, qword [0x140104d60]
mov rdi, qword [rax + rdx*8]
mov qword [rsp + 0x60], rdi
test rdi, rdi
je 0x140002637
mov rcx, qword [rbp - 0x68]
movzx r8d, bx
shr rbx, 0x10
movzx eax, bx
mov dword [rbp - 0x34], eax
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x5c], r8d
mov dword [rsp + 0x44], esi
cmp r8d, 8
jne 0x140002445
mov qword [rsp + 0x68], rax
mov eax, 0x2af8
mov dword [rbp - 0x34], eax
mov dword [rbp - 0x38], ecx
cmp eax, dword [rdi + 0x20]
jae 0x140002458
lea rcx, [rax + rax*4]
mov rax, qword [rdi + 0x28]
lea r10, [rax + rcx*8]
jmp 0x14000245b
mov r10, rsi
mov eax, r8d
mov qword [rsp + 0x78], r10
mov qword [rbp - 0x28], rsi
mov byte [rbp + 0x13f0], 0
sub eax, 5
je 0x14000258c
sub eax, 1
je 0x14000255e
sub eax, 1
je 0x14000254b
sub eax, 1
je 0x140002538
cmp eax, 1
je 0x140002520
mov rbx, qword [rsp + 0x50]
test r10, r10
je 0x140001889
mov rbx, qword [r10 + 0x18]
test rbx, rbx
jne 0x140002503
test byte [r10 + 9], 1
movsxd r15, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13e8]
mov rbx, r15
je 0x1400018cc
mov rcx, qword [rdi + 8]
movsxd r15, dword [rbp + 0x13e0]
mov edi, dword [rsp + 0x40]
mov rbx, r15
test rcx, rcx
je 0x1400018d0
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov r15d, dword [rbp + 0x13e0]
mov rbx, qword [rsp + 0x50]
jmp 0x1400018d0
test byte [r10 + 9], 4
mov edi, dword [rsp + 0x40]
jne 0x1400027cd
mov byte [rbp + 0x13f0], 1
mov edi, esi
jmp 0x140002aee
mov rbx, qword [rdi + 0x58]
mov edi, dword [rsp + 0x40]
test rbx, rbx
je 0x1400027cd
mov edi, esi
jmp 0x140002aee
mov rbx, qword [rdi + 0x48]
test rbx, rbx
je 0x1400018af
lea rcx, [rdi + 0x62]
jmp 0x14000256f
mov rbx, qword [rdi + 0x40]
test rbx, rbx
je 0x1400018af
lea rcx, [rdi + 0x61]
jmp 0x14000256f
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x1400018af
lea rcx, [rdi + 0x60]
mov qword [rbp - 0x28], rcx
test rcx, rcx
je 0x1400025cf
cmp byte [rcx], 0
mov edi, dword [rsp + 0x40]
jne 0x1400027cd
mov edi, esi
jmp 0x140002aee
mov rbx, qword [rdi + 0x50]
mov r15, qword [rdi + 0xa0]
test rbx, rbx
je 0x1400025d6
movzx r14d, byte [rbp + 0x13e8]
test r15, r15
je 0x1400018c0
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 0x1400025d6
mov r14d, dword [rbp - 0x78]
mov edi, esi
jmp 0x140002aee
movzx r14d, byte [rbp + 0x13e8]
mov rbx, qword [rsp + 0x50]
test r15, r15
je 0x1400018c5
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
mov qword [rdi + 0xa0], rsi
jmp 0x1400018c5
test rbx, rbx
je 0x140002784
mov rcx, rbx
call fcn.14006de10
mov qword [rsp + 0x60], rax
cmp rax, 0
jne 0x140002789
test r11, r11
je 0x140002789
cmp r11, qword [0x140104d70]
je 0x140002789
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140002712
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140107290]
jne 0x140002712
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x190]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
mov rcx, rsi
lea rdx, [rbp + 0x190]
lea r8, [0x1400cef68]
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140002712
cmp rcx, 7
jne 0x140002690
mov rcx, qword [0x140100a58]
lea rdx, [rbp - 0x80]
mov byte [rcx + 0x128], 1
mov eax, dword [rbp - 0x78]
mov dword [rcx + 0x124], eax
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x140002702
cmp dword [0x140104d68], 0
je 0x1400018a1
mov rax, qword [0x140102ef0]
lea rcx, [0x1400cef3c]
test rax, rax
je 0x1400026f7
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x1400018a1
mov rcx, qword [0x140100a58]
mov byte [rcx + 0x128], 0
jmp 0x140002719
mov rcx, qword [0x140100a58]
mov rdx, qword [0x140104d28]
test rdx, rdx
je 0x14000275b
mov rcx, qword [0x140104d70]
lea r8, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
movsxd r15, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13e8]
mov rbx, r15
mov edi, dword [rsp + 0x40]
test eax, eax
jne 0x1400018d0
mov rcx, qword [0x140100a58]
mov byte [rcx + 0x128], 1
mov eax, dword [rbp - 0x78]
mov dword [rcx + 0x124], eax
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400018a1
mov qword [rsp + 0x60], rsi
mov rcx, qword [0x140107e10]
test rcx, rcx
je 0x1400027ca
mov rax, qword [rbp - 0x68]
nop dword [rax]
mov r12, qword [rcx + 8]
test r12, r12
je 0x1400027c1
nop dword [rax]
cmp dword [r12 + 0x28], eax
je 0x1400027e6
mov r12, qword [r12 + 0x38]
test r12, r12
jne 0x1400027b0
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x1400027a0
mov r12, rsi
mov r15d, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13e8]
mov rbx, qword [rsp + 0x50]
jmp 0x1400018d0
mov rbx, qword [r12 + 0x10]
test rbx, rbx
je 0x1400027cd
mov edi, dword [r12 + 0x2c]
jmp 0x140002aee
mov eax, dword [0x140105ce8]
movzx r14d, byte [rbp + 0x13e8]
cmp rbx, rax
jae 0x140001893
mov rax, qword [0x140105ce0]
mov rdi, qword [rax + rbx*8]
mov qword [rbp - 0x18], rdi
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140002852
mov rdx, qword [rdi + 8]
call fcn.14000b350
mov rbx, qword [rsp + 0x50]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x1400018c5
mov rcx, qword [rdi + 0x20]
movzx edx, byte [rcx]
dec dl
test dl, 0xfd
je 0x140002856
mov qword [rbp - 0x48], rsi
mov rdx, qword [rbp - 0x68]
mov rcx, rdi
call fcn.14000e6e0
cmp qword [rdi + 0x18], 0
movzx r14d, byte [rbp + 0x13e8]
mov rbx, qword [rsp + 0x50]
jne 0x1400018c5
cmp byte [rdi + 0x3e], 0
movzx eax, si
mov r14d, dword [rbp - 0x78]
cmovne ax, word [rbp - 0x68]
mov word [0x140107e2c], ax
mov rbx, qword [rdi]
mov edi, dword [rdi + 0x28]
jmp 0x140002aee
cmp byte [0x140107df0], 0
mov rbx, qword [rsp + 0x50]
jne 0x140001878
mov rbx, qword [0x140107dd8]
mov edi, esi
test rbx, rbx
cmove rbx, qword [0x140107958]
jmp 0x140002aee
mov rcx, rbx
call fcn.1400407f0
movzx r14d, byte [rbp + 0x13e8]
mov rbx, qword [rsp + 0x50]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400018c5
mov rbx, qword [rax + 0x10]
mov edi, esi
mov r14d, dword [rbp - 0x78]
mov rbx, qword [rbx + 0x388]
jmp 0x140002aee
mov rdi, qword [0x140104d58]
mov qword [rbp - 0x40], rdi
test rdi, rdi
je 0x1400018af
cmp rdi, rbx
je 0x14000292a
mov rdi, qword [rdi + 8]
mov qword [rbp - 0x40], rdi
test rdi, rdi
jne 0x140002913
jmp 0x1400018af
mov rbx, qword [rsp + 0x50]
test rdi, rdi
je 0x140001889
mov rbx, qword [rdi + 0x10]
cmp r14d, 0x41c
jne 0x14000294e
mov rbx, qword [rbx + 0x390]
jmp 0x140002967
cmp r14d, 0x41e
jne 0x140002960
mov rbx, qword [rbx + 0x3a0]
jmp 0x140002967
mov rbx, qword [rbx + 0x398]
mov edi, dword [rsp + 0x40]
test rbx, rbx
je 0x1400027cd
mov edi, esi
jmp 0x140002aee
movzx eax, bx
mov ecx, 0x7fff
and ax, cx
cmp ax, word [0x140105d04]
jae 0x1400027cd
movzx ecx, ax
mov rax, qword [0x140105cf0]
shr rbx, 0x10
mov rdi, qword [rax + rcx*8]
mov qword [rbp - 0x20], rdi
test bx, bx
je 0x1400029d2
mov r13, qword [rdi + 0x28]
mov eax, 0xffff
add bx, ax
je 0x1400029c9
nop dword [rax]
mov r13, qword [r13 + 0x10]
add bx, ax
jne 0x1400029c0
test r13, r13
jne 0x140002a57
cmp byte [rdi + 0x19], 0
jne 0x1400029e0
mov r13, rsi
jmp 0x1400018af
mov r13, qword [rdi + 0x28]
mov rbx, rsi
mov qword [rbp - 0x48], rsi
test r13, r13
je 0x140002a42
cmp byte [r13 + 0x28], 0
je 0x140002a35
cmp byte [0x140105afd], 0
je 0x140002a0c
mov rcx, r13
call fcn.140086600
test al, al
je 0x140002a35
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x140002a2b
mov rdx, qword [rdi + 0x20]
call fcn.14000b350
mov rdi, qword [rbp - 0x20]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x140002a35
cmp qword [r13 + 8], 0
jne 0x140002a7a
mov rbx, r13
mov r13, qword [r13 + 0x10]
test r13, r13
jne 0x1400029f0
mov r14d, dword [rbp - 0x78]
mov r13, rbx
mov rbx, qword [rsp + 0x50]
mov edi, dword [rsp + 0x40]
test r13, r13
je 0x140001878
mov r9, qword [r13]
mov rcx, r9
call fcn.140086560
test eax, eax
je 0x140002a6c
cmp eax, 1
jne 0x140002a80
mov rax, qword [r9 + 0x10]
test rax, rax
je 0x140002a80
movzx ecx, byte [rax]
jmp 0x140002a82
mov r14d, dword [rbp - 0x78]
jmp 0x140002a45
xor cl, cl
movzx eax, byte [r13 + 0x23]
cmp byte [r13 + 0x22], al
jb 0x140002abd
add cl, 0x34
cmp cl, 0x14
ja 0x140002aa2
movzx eax, cl
mov ecx, 0x10fc01
bt ecx, eax
jb 0x140002abd
cmp byte [r13 + 0x26], 0
je 0x140002aae
mov byte [r13 + 0x27], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [r13 + 0x18], eax
jmp 0x1400018af
mov rax, qword [r13 + 8]
test rax, rax
je 0x140002ae2
movzx ecx, byte [rax]
lea eax, [rcx - 2]
test al, 0xfd
je 0x140002ae2
cmp cl, 5
jb 0x140002ae6
mov rax, qword [0x140104d50]
mov qword [rbp - 0x48], rax
jmp 0x140002ae6
mov qword [rbp - 0x48], rsi
mov rbx, qword [r13]
mov edi, dword [r13 + 0x1c]
mov rcx, rbx
call fcn.140086560
test eax, eax
je 0x140002aff
cmp eax, 1
jne 0x140002b0d
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140002b0d
movzx esi, byte [rax]
jmp 0x140002b10
xor sil, sil
mov ecx, dword [0x140104d48]
mov eax, dword [0x140100a54]
cmp ecx, eax
jl 0x140002b8e
add eax, 2
cmp ecx, eax
jge 0x140002b38
lea eax, [rsi + 0x34]
cmp al, 0x14
ja 0x140002b38
mov ecx, 0x10fc01
bt ecx, eax
jb 0x140002b8e
test r15, r15
je 0x140002b58
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
mov rax, qword [rsp + 0x60]
xor ecx, ecx
mov qword [rax + 0xa0], rcx
mov r14d, dword [rbp - 0x78]
movsxd r15, dword [rbp + 0x13e0]
cmp r14d, 0x41b
movzx r14d, byte [rbp + 0x13e8]
mov rbx, r15
mov edi, dword [rsp + 0x40]
jne 0x1400018d0
mov rdi, qword [rbp - 0x40]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400018af
mov rax, qword [0x140100a58]
cmp edi, dword [rax + 0x3c]
jl 0x140002b38
mov byte [rsp + 0x70], 1
cmp r14d, 0x402
je 0x140002c18
cmp r14d, 0x413
jbe 0x140002bce
cmp r14d, 0x415
jbe 0x140002c62
lea eax, [r14 - 0x41b]
cmp eax, 3
jbe 0x140002c62
mov rax, qword [0x140107d80]
mov qword [0x140107d88], rax
mov eax, dword [0x140107e24]
mov dword [0x140107e28], eax
cmp r14d, 0x401
jne 0x140002bfb
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 8]
jmp 0x140002c03
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x20]
mov qword [0x140107d80], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140107e24], eax
jmp 0x140002c62
mov rdx, qword [r12]
lea rcx, [0x140107968]
mov r8d, 0x104
call fcn.1400b3da4
xor r14d, r14d
lea rcx, [0x140107b72]
mov word [0x140107b70], r14w
mov r8d, 0x104
mov rdx, qword [r12 + 0x20]
mov rdx, qword [rdx]
call fcn.1400b3da4
mov word [0x140107d7a], r14w
mov qword [0x140107960], r12
mov rcx, qword [0x140104d40]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140001450
mov r8d, 0x7f
lea rcx, [rbp + 0x1d0]
mov rdx, rax
call fcn.1400b3da4
xor eax, eax
movzx r9d, sil
mov r8b, 1
mov word [rbp + 0x2ce], ax
xor edx, edx
mov ecx, edi
call fcn.1400040b0
mov r14, qword [0x140100a58]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140107e7c], eax
mov dword [0x140107e78], eax
mov eax, dword [rbp - 0x78]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x140002ce8.1032
lea r11, [0x140000000]
movzx eax, byte [r11 + rax + 0x395c]
mov ecx, dword [r11 + rax*4 + 0x393c]
add rcx, r11
jmp rcx
mov r10, qword [rsp + 0x78]
xor r8d, r8d
mov rsi, qword [rsp + 0x60]
mov word [rbp + 0x60], r8w
cmp byte [rbp + 0x13f0], r8b
je 0x140002d0a
mov rcx, qword [r10]
jmp 0x140002d0e
mov rcx, qword [rsi + 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 + 0xc0], rcx
mov ecx, dword [rsp + 0x5c]
mov dword [rbp + rax + 0xd0], r9d
cmp ecx, 5
je 0x140003154
jbe 0x140003018
cmp ecx, 8
jbe 0x140002f37
cmp ecx, 9
jne 0x140003018
mov rdx, qword [rsp + 0x68]
mov ecx, 3
test rdx, rdx
mov qword [rsp + 0x68], r8
cmovne ecx, r9d
mov dword [r14 + 0x44], ecx
mov rax, qword [rbp - 0x5c]
mov qword [r14 + 0x50], rax
test r10, r10
je 0x140002e2e
cmp ecx, r9d
jne 0x140002da2
lea r8, [r14 + 0x50]
mov rdx, r10
call fcn.14007ee90
mov r10, qword [rsp + 0x78]
mov r9d, 1
movzx ecx, byte [r10 + 8]
sub ecx, 9
je 0x140002e11
sub ecx, 1
je 0x140002e06
cmp ecx, 1
jne 0x140002e2e
cmp dword [r14 + 0x44], 1
mov rcx, qword [r10]
jne 0x140002dd6
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, eax
jmp 0x140002e29
mov rax, qword [rbp - 0x5c]
lea rdx, [rbp]
mov qword [rbp], rax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov r10, qword [rsp + 0x78]
lea r9, [rbp]
xor r8d, r8d
mov edx, 0x1111
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, eax
jmp 0x140002e29
or r8, 0xffffffffffffffff
mov edx, 0x100c
jmp 0x140002e1c
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 + 0x88]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x88]
mov r9d, 1
sub dword [r14 + 0x50], eax
mov eax, dword [rbp + 0x8c]
sub dword [r14 + 0x54], eax
mov rsi, qword [rsp + 0x78]
movsxd rdx, edi
mov rax, rdx
shl rax, 5
test rsi, rsi
je 0x140002e86
lea rcx, [rbp + 0xc0]
add rcx, rax
mov rax, qword [rsi]
xor r8d, r8d
mov dword [rcx + 0x10], r9d
mov qword [rcx], rax
jmp 0x140002ea0
xor r8d, r8d
lea rcx, [0x1400cef3c]
mov dword [rbp + rax + 0xd0], r8d
mov qword [rbp + rax + 0xc0], rcx
lea ecx, [rdx + 1]
mov rdx, qword [rsp + 0x68]
lea r10d, [rcx + 1]
movsxd rax, ecx
shl rax, 5
mov rcx, r8
mov qword [rbp + rax + 0xc0], rdx
lea rdx, [rbp + 0xc0]
mov dword [rbp + rax + 0xd0], r9d
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], r9d
lea rcx, [rbp + 0xc0]
add rcx, rax
movsxd rax, dword [r14 + 0x50]
mov qword [rcx], rax
mov dword [rcx + 0x10], r9d
lea rcx, [rbp + 0xc0]
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], r9d
mov qword [rcx], rax
mov ecx, dword [rsp + 0x5c]
jmp 0x1400032d1
mov dword [r14 + 0x44], r9d
cmp ecx, 8
jne 0x1400032c9
mov ecx, dword [rbp - 0x38]
mov rdx, qword [rsp + 0x68]
movsxd r10, edi
lea rdi, [rbp + 0xc0]
mov rax, r10
mov dword [r14 + 0x50], ecx
shl rax, 5
inc r10d
mov dword [rbp + rax + 0xd0], r9d
mov qword [rbp + rax + 0xc0], rdx
movsxd rax, r10d
inc r10d
shl rax, 5
add rdi, rax
mov dword [rsp + 0x44], r10d
movzx eax, cx
cmp byte [rsi + 0x108], r8b
je 0x140002fb4
mov r8d, dword [0x140107294]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r10d, dword [rsp + 0x44]
mov r9d, 1
mov ecx, dword [rbp - 0x38]
cdqe
mov qword [rdi], rax
mov dword [rdi + 0x10], r9d
lea rdi, [rbp + 0xc0]
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 0x140003003
mov r8d, dword [0x140107294]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r10d, dword [rsp + 0x44]
mov r9d, 1
mov ecx, dword [rsp + 0x5c]
xor r8d, r8d
cdqe
mov qword [rdi], rax
mov dword [rdi + 0x10], r9d
jmp 0x1400032cc
movzx eax, byte [r10 + 8]
cmp al, 0xa
je 0x14000306a
cmp al, 0x19
jne 0x1400030de
mov rax, qword [rbp - 0x5c]
lea rdx, [rbp + 0x98]
mov qword [r14 + 0x50], rax
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x98]
lea r11, [0x140000000]
sub dword [r14 + 0x50], eax
mov eax, dword [rbp + 0x9c]
sub dword [r14 + 0x54], eax
mov ecx, dword [rsp + 0x5c]
xor r8d, r8d
lea r9d, [r8 + 1]
jmp 0x1400030de
cmp cl, 0x49
jne 0x1400030de
lea rax, [rbp + 0x60]
bt ecx, 8
jae 0x140003080
mov eax, 0x53
jmp 0x14000308b
bt ecx, 9
jae 0x140003093
mov eax, reloc.WSOCK32.dll_WSAStartup
mov word [rbp + 0x60], ax
lea rax, [rbp + 0x62]
bt ecx, 0xa
jae 0x1400030a0
mov edx, 0x46
jmp 0x1400030ab
bt ecx, 0xb
jae 0x1400030b2
mov edx, 0x66
mov word [rax], dx
add rax, 2
bt ecx, 0xc
jae 0x1400030bf
mov ecx, 0x43
jmp 0x1400030ca
bt ecx, 0xd
jae 0x1400030d1
mov ecx, 0x63
mov word [rax], cx
add rax, 2
mov ecx, 0x49
mov word [rax], r8w
mov dword [rsp + 0x5c], ecx
movsxd r10, edi
lea rdx, [rbp + 0xc0]
mov rax, r10
mov dword [r14 + 0x44], ecx
shl rax, 5
inc r10d
add rdx, rax
cmp ecx, 5
jae 0x14000310a
mov eax, ecx
mov rcx, qword [r11 + rax*8 + 0xeca30]
jmp 0x14000311b
movzx eax, cl
lea rcx, [0x140109874]
mov word [0x140109874], ax
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
mov qword [rdx], rcx
mov ecx, dword [rsp + 0x5c]
movsxd rax, r10d
shl rax, 5
mov dword [rdx + 0x10], r8d
inc r10d
mov dword [rsp + 0x44], r10d
mov dword [rbp + rax + 0xd0], r9d
mov qword [rbp + rax + 0xc0], rdi
jmp 0x1400032d6
mov dword [r14 + 0x44], 5
lea rdx, [rbp + 0xa8]
mov rax, qword [rbp - 0x5c]
mov qword [r14 + 0x50], rax
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0xa8]
mov edx, 0xffffffec
sub dword [r14 + 0x50], eax
mov eax, dword [rbp + 0xac]
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 + 0xc0]
add rdi, rax
call fcn.140070a50
mov r10, qword [rsp + 0x78]
mov qword [rdi], rax
movsxd rax, esi
shl rax, 5
mov dword [rdi + 0x10], 6
test r10, r10
je 0x140003200
lea rcx, [rbp + 0xc0]
add rcx, rax
mov rax, qword [r10]
mov dword [rcx + 0x10], 1
mov qword [rcx], rax
jmp 0x140003218
xor ecx, ecx
mov dword [rbp + rax + 0xd0], ecx
lea rcx, [0x1400cef3c]
mov qword [rbp + rax + 0xc0], rcx
lea ecx, [rsi + 1]
mov rsi, qword [rsp + 0x60]
movsxd rax, ecx
lea rdi, [rbp + 0xc0]
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 0x140003260
mov r8d, dword [0x140107294]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r10d, dword [rsp + 0x44]
cdqe
mov r9d, 1
mov qword [rdi], rax
mov dword [rdi + 0x10], r9d
lea rdi, [rbp + 0xc0]
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 0x140003003
mov r8d, dword [0x140107294]
lea edx, [r9 + 0x5f]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r10d, dword [rsp + 0x44]
mov r9d, 1
mov ecx, dword [rsp + 0x5c]
xor r8d, r8d
cdqe
mov qword [rdi], rax
mov dword [rdi + 0x10], r9d
jmp 0x1400032cc
mov r10d, edi
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x68]
cmp byte [rbp + 0x13f0], 0
je 0x1400033a0
cmp byte [rsi + 8], 0x17
jne 0x1400033a0
xor edx, edx
lea rcx, [rbp + 0x2d0]
mov r8d, 0x10b8
call fcn.1400aa420
mov rcx, qword [rsi]
lea eax, [rdi - 1]
lea r9, [rbp + 0x2d0]
mov dword [rbp + 0x2d4], eax
xor r8d, r8d
mov dword [rbp + 0x2d0], SafeArrayGetElemsize
mov edx, 0x703
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140003404
cmp word [rbp + 0x340], 0
lea rax, [rbp + 0x2e0]
mov rcx, qword [0x140104d40]
lea rdx, [rbp + 0x340]
cmove rdx, rax
mov byte [rsp + 0x20], 1
xor r9d, r9d
or r8, 0xffffffffffffffff
call fcn.14008f120
movsxd rcx, dword [rsp + 0x44]
lea rdi, [rbp + 0xc0]
mov rax, rcx
xor r8d, r8d
inc ecx
shl rax, 5
mov dword [rsp + 0x44], ecx
add rdi, rax
mov rcx, qword [0x140104d40]
lea edx, [r8 + 1]
call fcn.140001450
xor ecx, ecx
mov qword [rdi], rax
mov dword [rdi + 0x10], ecx
jmp 0x140003406
cmp word [rbp + 0x60], 0
je 0x1400033ca
movsxd rax, r10d
lea rdx, [rbp + 0x60]
shl rax, 5
inc r10d
mov dword [rsp + 0x44], r10d
mov dword [rbp + rax + 0xd0], r8d
mov qword [rbp + rax + 0xc0], rdx
cmp ecx, 8
je 0x1400033f2
cmp ecx, 5
je 0x1400033f2
mov rcx, qword [0x140104d40]
lea rdx, [rbp + 0x60]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008f120
jmp 0x140003404
mov rcx, qword [0x140104d40]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rdx, rdi
call fcn.140001280
xor ecx, ecx
mov rdi, qword [rsp + 0x60]
mov rax, qword [rdi + 8]
mov qword [r14 + 0xf8], rax
add dword [rdi + 0x34], 2
mov eax, dword [rbp - 0x34]
mov dword [r14 + 0x70], eax
mov rax, qword [rsp + 0x68]
mov qword [r14 + 0x48], rax
mov qword [r14 + 0x60], rdi
mov qword [r14 + 0x58], rdi
mov r14, qword [rbp - 0x28]
test r14, r14
je 0x140003441
mov byte [r14], 1
jmp 0x14000344e
cmp byte [rbp + 0x13f0], 0
je 0x14000344e
or byte [rsi + 9], 4
mov edx, dword [rsp + 0x44]
lea rax, [rbp + 0x80]
mov dword [rsp + 0x30], ecx
lea r9, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
lea r8, [0x1400cefc0]
mov dword [rsp + 0x20], edx
mov rcx, rbx
mov rdx, rbx
call fcn.140082b00
cmp qword [rdi + 8], 0
je 0x14000352f
mov r8d, dword [rsp + 0x5c]
test r14, r14
je 0x1400034db
mov byte [r14], 0
cmp r8d, 6
jne 0x1400034e8
cmp qword [rbp + 0x80], 0
jne 0x14000352f
mov rcx, rbx
call fcn.140086560
test eax, eax
jne 0x1400034bd
test rbx, rbx
jne 0x14000352f
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000352f
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call fcn.1400707a0
jmp 0x1400037da
cmp byte [rbp + 0x13f0], 0
je 0x1400034e8
and byte [rsi + 9], 0xfb
cmp r8d, 5
jne 0x14000352f
mov rcx, qword [rbp + 0xe0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
mov rcx, qword [rdi + 8]
xor eax, eax
mov qword [rdi + 0xa0], rax
lea edx, [rax - 0x14]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [rdi + 8]
mov edx, 0xffffffec
or eax, 0x10
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, rdi
call fcn.1400707a0
jmp 0x1400037da
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140003566
mov rax, qword [rdi + 8]
mov qword [r14 + 0xf8], rax
mov eax, 1
mov dword [r14 + 0x44], eax
add dword [rdi + 0x34], 2
mov qword [r14 + 0x60], rdi
mov qword [r14 + 0x58], rdi
lea rax, [0x140107968]
xor esi, esi
lea rcx, [0x1401072b0]
mov dword [rbp + 0x10], esi
mov qword [rbp], rax
call fcn.140053eb0
mov dword [rsp + 0x30], esi
lea r9, [rbp]
mov qword [rsp + 0x28], rsi
lea r8, [0x1400cefc0]
mov rdx, rbx
mov dword [rbp + 0x50], esi
lea ecx, [rax + 1]
mov dword [rsp + 0x20], 3
mov eax, 1
mov qword [rbp + 0x20], rcx
mov dword [rbp + 0x30], eax
mov rcx, rbx
lea rax, [0x140107b72]
mov qword [rbp + 0x40], rax
call fcn.140082b00
test rdi, rdi
je 0x1400037dc
mov rcx, rdi
call fcn.1400707a0
jmp 0x1400037dc
mov rax, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x18]
mov qword [r14 + 0xf8], rax
movzx eax, byte [rcx + 0x35]
mov byte [r14 + 0x136], al
call fcn.14000e640
jmp 0x1400037da
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x140003634
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14000362b
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov edx, 2
test eax, eax
je 0x140003630
mov edx, 1
xor esi, esi
jmp 0x140003638
xor esi, esi
mov edx, esi
mov rcx, qword [0x140104d40]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov qword [r14 + 0x48], rdx
call fcn.140001280
mov rax, qword [r14 + 0x48]
mov ecx, 1
mov qword [rbp], rax
mov rax, qword [0x140107dd8]
mov dword [rbp + 0x10], ecx
mov byte [0x140107df0], cl
test rax, rax
je 0x140003681
mov rcx, rax
call fcn.140001560
mov rax, qword [0x140107dd8]
mov ecx, 1
cmp qword [rbp - 0x70], 0
jne 0x1400036a5
test rax, rax
lea rdx, [rbp]
mov r9d, esi
mov r8d, ecx
sete r9b
lea rcx, [0x140107da8]
call fcn.1400866d0
mov byte [0x140107df0], 0
jmp 0x1400037dc
mov rdi, qword [rbp - 0x40]
lea r9, [rbp]
xor esi, esi
mov dword [rbp + 0x10], 6
mov dword [rsp + 0x30], esi
lea r8, [0x1400cefc0]
mov qword [rsp + 0x28], rsi
mov rdx, rbx
mov rax, qword [rdi + 0x10]
mov rcx, rbx
mov qword [rbp], rax
mov eax, 1
mov dword [rsp + 0x20], eax
call fcn.140082b00
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400037dc
mov rcx, qword [rbp - 0x68]
lea r9, [rbp]
mov rax, qword [rbp - 0x40]
mov edx, 1
mov dword [rbp + 0x30], edx
mov dword [rbp + 0x50], edx
mov rax, qword [rax + 0x10]
mov qword [rbp], rax
movzx eax, cl
sar rcx, 0x10
xor esi, esi
mov qword [rbp + 0x20], rax
mov dword [rsp + 0x30], esi
movzx eax, cx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 3
mov qword [rbp + 0x40], rax
lea r8, [0x1400cefc0]
mov dword [rbp + 0x10], 6
mov rdx, rbx
mov rcx, rbx
call fcn.140082b00
jmp 0x1400037dc
mov rax, qword [rbp - 0x68]
lea r9, [rbp]
mov word [rbp - 0x30], ax
sar rax, 0x10
xor esi, esi
mov word [rbp - 0x2e], ax
mov rax, qword [rbp - 0x40]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov word [rbp - 0x2c], si
mov rax, qword [rax + 0x10]
mov qword [rbp], rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x30], esi
mov dword [rsp + 0x20], 2
jmp 0x140003741
mov rdi, qword [rbp - 0x20]
movzx eax, byte [rdi + 0x10]
add al, 0x64
cmp al, 3
ja 0x1400037b8
mov eax, dword [rbp - 0x68]
mov qword [r14 + 0x48], rax
mov rax, qword [rbp - 0x48]
mov rdx, r13
mov qword [r14 + 0xf8], rax
mov rcx, rdi
movzx eax, byte [r13 + 0x24]
mov byte [r14 + 0x136], al
call fcn.14000c3b0
xor esi, esi
lea rcx, [rbp + 0x1d0]
call fcn.140004270
cmp qword [rbp - 0x10], 0
movsxd r15, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13e8]
mov rbx, r15
mov edi, dword [rsp + 0x40]
je 0x1400018d0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x140003831
movsxd r15, dword [rbp + 0x13e0]
mov ecx, dword [rbp - 0x50]
mov rbx, r15
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jg 0x1400018d0
jmp 0x140003838
mov r15d, dword [rbp + 0x13e0]
movsxd rbx, r15d
cmp rbx, 0xffffffffffffffff
jle 0x14000384e
mov qword [0x140107e68], rsi
mov dword [0x140107e78], eax
mov r14b, 1
mov dword [0x140107e7c], eax
mov byte [rbp + 0x13e8], r14b
mov byte [rbp + 0x13f8], 1
jmp 0x1400018cc
cmp rbx, 0xffffffffffffffff
jle 0x140003881
xor ebx, ebx
mov dword [0x140107e78], eax
mov qword [0x140107e68], rbx
jmp 0x140003883
xor ebx, ebx
cmp byte [rsp + 0x48], 0
mov dword [0x140107e7c], eax
movzx eax, byte [0x140104bc3]
cmovne eax, ebx
cmp byte [rsp + 0x49], 0
mov byte [0x140104bc3], al
je 0x1400038f6
mov eax, dword [0x140104d6c]
dec eax
mov dword [0x140104d6c], eax
test r15d, r15d
jle 0x1400038f6
test eax, eax
jne 0x1400038f6
cmp dword [0x140107e0c], eax
jne 0x1400038f6
cmp dword [0x140105cec], eax
jne 0x1400038f6
cmp byte [0x140104bc2], al
je 0x1400038f6
mov rcx, qword [0x140104d70]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140104bc2]
test eax, eax
cmovne ecx, ebx
mov byte [0x140104bc2], cl
movzx eax, byte [rsp + 0x70]
jmp 0x1400022c5