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.1400c0680
sub rsp, rax
mov byte [rsp + 0x48], 0
mov ebx, edx
mov r15d, ecx
mov r14d, 1
cmp edx, 2
jne 0x140001740
cmp byte [0x140105bc3], 0
mov ebx, r14d
jne 0x140001740
mov byte [0x140105bc3], bl
mov byte [rsp + 0x48], bl
xor esi, esi
cmp dword [0x140108f2c], esi
je 0x14000177a
cmp qword [0x140108f10], rsi
je 0x140001767
mov rcx, qword [0x140108f00]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140108f10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140108f2c], esi
mov qword [0x140108f00], 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 [0x140106ce8], esi
je 0x1400017c8
call fcn.140003c20
xor dil, dil
cmp dword [0x140108e0c], esi
mov dword [rsp + 0x70], edi
je 0x1400017ea
call fcn.140003960
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 [0x140105d6c]
cmp byte [0x140105bc2], sil
mov byte [rsp + 0x49], r14b
jne 0x140001831
mov rcx, qword [0x140105d70]
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x140105bc2]
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 [0x140101a58]
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 [0x140105bc3], 0
jne 0x1400019b0
cmp dword [0x140101a50], 0
je 0x14000195a
cmp dword [0x140105d20], 0
jne 0x14000195a
mov rcx, qword [0x140101a58]
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 [0x140101a58]
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 [0x140108e78], eax
jmp 0x140001c53
cmp byte [0x140105bc3], 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 [0x140108290]
jne 0x140001b23
cmp dword [0x140105d68], 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, [0x1400cff68]
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, [0x1400cff78]
lea rcx, [rbp + 0x190]
call fcn.1400ab3f0
test eax, eax
je 0x140001a8d
lea rdx, [0x1400cff98]
lea rcx, [rbp + 0x190]
call fcn.1400ab3f0
test eax, eax
jne 0x140001b23
call fcn.140004370
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 [0x140101a50], 0
je 0x140001b84
cmp dword [0x140105d20], 0
jne 0x140001b84
mov rcx, qword [0x140101a58]
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 [0x140101a58]
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 [0x140108e78]
mov ecx, eax
sub ecx, esi
movsxd rbx, r15d
cmp ecx, 3
cmova edx, eax
mov dword [0x140108e78], 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 0x14000384a
mov ecx, dword [rbp - 0x50]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jle 0x14000384a
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400018d0
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
inc edi
cmp dword [0x1401082a8], 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.140003ca0
test al, al
jne 0x1400018d0
mov r8d, dword [0x140105d4c]
mov r11, qword [rbp - 0x80]
mov r14d, dword [rbp - 0x78]
test r8d, r8d
je 0x14000214c
test r11, r11
je 0x14000214c
cmp r11, qword [0x140105d70]
je 0x14000214c
cmp r14d, 0x414
je 0x14000214c
cmp r14d, 0x402
je 0x14000214c
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.1400911c0
mov rbx, rax
test rax, rax
je 0x1400020bf
mov rcx, rsi
call fcn.14006d9d0
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.14007dfe0
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.14007dd30
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, [0x1400cffb4]
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 [0x1401081f8]
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 r8d, dword [0x140105d4c]
jmp 0x1400020d2
mov r14d, dword [rbp - 0x78]
mov r11, qword [rbp - 0x80]
mov r8d, dword [0x140105d4c]
mov rbx, qword [rbp - 0x70]
xor esi, esi
mov edi, esi
test r8d, r8d
jle 0x140002146
mov ebx, esi
nop dword [rax]
mov rcx, qword [0x140101a58]
lea rdx, [rbp - 0x80]
mov byte [rcx + 0x128], 1
mov eax, dword [rbp - 0x78]
mov dword [rcx + 0x124], eax
mov rax, qword [0x140105d60]
mov rcx, qword [rbx + rax]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
mov rax, qword [0x140101a58]
mov byte [rax + 0x128], sil
jne 0x140001df8
mov r8d, dword [0x140105d4c]
inc edi
add rbx, 8
cmp edi, r8d
jl 0x1400020e0
mov r14d, dword [rbp - 0x78]
mov r11, qword [rbp - 0x80]
mov edi, dword [rsp + 0x40]
jmp 0x14000214e
mov edi, dword [rsp + 0x40]
jmp 0x140002152
xor esi, esi
mov rbx, qword [rbp - 0x70]
cmp r14d, 0x401
ja 0x14000233e
cmp r14d, 0x400
jae 0x14000236a
mov eax, r14d
sub eax, 0x12
je 0x14000231b
sub eax, 0x39
je 0x1400022fd
sub eax, 0xb5
je 0x1400022c7
sub eax, 0x13
je 0x1400021a1
cmp eax, 0x1ff
je 0x14000237c
jmp 0x140002617
cmp qword [rbp - 0x68], 0
jne 0x140002617
cmp r11, qword [0x140105d70]
jne 0x140002617
cmp dword [0x140106ce8], 0
je 0x1400021c7
call fcn.140003c20
cmp dword [0x140108e0c], 0
je 0x1400021ea
call fcn.140003960
movzx ebx, byte [rsp + 0x70]
test al, al
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x70], ebx
jmp 0x1400021ee
mov ebx, dword [rsp + 0x70]
cmp qword [rbp - 0x10], 0
movzx r14d, byte [rbp + 0x13e8]
je 0x140002313
movsxd rdi, r15d
cmp rdi, 1
jl 0x140001e00
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x14000222a
mov ecx, dword [rbp - 0x50]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jg 0x140001e00
cmp rdi, 0xffffffffffffffff
jle 0x14000223d
mov qword [0x140108e68], rsi
mov dword [0x140108e78], eax
cmp byte [rsp + 0x48], 0
mov dword [0x140108e7c], eax
movzx eax, byte [0x140105bc3]
cmovne eax, esi
cmp byte [rsp + 0x49], 0
mov byte [0x140105bc3], al
je 0x1400022b0
mov eax, dword [0x140105d6c]
dec eax
mov dword [0x140105d6c], eax
test r15d, r15d
jle 0x1400022b0
test eax, eax
jne 0x1400022b0
cmp dword [0x140108e0c], eax
jne 0x1400022b0
cmp dword [0x140106ce8], eax
jne 0x1400022b0
cmp byte [0x140105bc2], al
je 0x1400022b0
mov rcx, qword [0x140105d70]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140105bc2]
test eax, eax
cmovne ecx, esi
mov byte [0x140105bc2], 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 [0x140105d30]
jne 0x140002617
cmp rbx, 0x1b
jne 0x140002617
mov rcx, qword [0x140105d70]
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 [0x140105d38], rsi
mov byte [rbp + 0x13f8], 1
movsxd rbx, r15d
jmp 0x1400018d0
xor r8d, r8d
lea rcx, [0x1401082b0]
lea edx, [r8 + 5]
call fcn.14001b150
movzx r14d, byte [rbp + 0x13e8]
movsxd rbx, r15d
jmp 0x1400018d0
cmp r14d, 0x402
je 0x14000237c
cmp r14d, 0x414
je 0x14000237c
cmp r14d, 0x415
je 0x14000236a
lea eax, [r14 - 0x41b]
cmp eax, 3
jbe 0x14000237c
jmp 0x140002617
test r11, r11
je 0x14000237c
cmp r11, qword [0x140105d70]
jne 0x140002617
lea eax, [r14 - 0x401]
mov r15, rsi
cmp eax, 0x1d
ja case.0x1400023a8.1031
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x38fc]
mov ecx, dword [rdx + rax*4 + 0x38e0]
add rcx, rdx
jmp rcx
mov edx, esi
mov rcx, rsi
test r8d, r8d
jle 0x1400023d4
mov r9, qword [0x140105d60]
nop dword [rax + rax]
mov rax, qword [r9 + rcx*8]
cmp qword [rax + 8], r11
je 0x1400023de
inc edx
inc rcx
cmp edx, r8d
jl 0x1400023c0
mov qword [rsp + 0x60], rsi
jmp 0x140002617
mov qword [rsp + 0x60], rax
mov rdi, rax
test rax, rax
je 0x140002617
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 0x140002425
mov qword [rsp + 0x68], rax
mov eax, 0x2af8
mov dword [rbp - 0x34], eax
mov dword [rbp - 0x38], ecx
cmp eax, dword [rdi + 0x20]
jae 0x140002438
lea rcx, [rax + rax*4]
mov rax, qword [rdi + 0x28]
lea r10, [rax + rcx*8]
jmp 0x14000243b
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 0x14000256c
sub eax, 1
je 0x14000253e
sub eax, 1
je 0x14000252b
sub eax, 1
je 0x140002518
cmp eax, 1
je 0x140002500
mov rbx, qword [rsp + 0x50]
test r10, r10
je 0x140001889
mov rbx, qword [r10 + 0x18]
test rbx, rbx
jne 0x1400024e3
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 0x1400027ad
mov byte [rbp + 0x13f0], 1
mov edi, esi
jmp 0x140002ace
mov rbx, qword [rdi + 0x58]
mov edi, dword [rsp + 0x40]
test rbx, rbx
je 0x1400027ad
mov edi, esi
jmp 0x140002ace
mov rbx, qword [rdi + 0x48]
test rbx, rbx
je 0x1400018af
lea rcx, [rdi + 0x62]
jmp 0x14000254f
mov rbx, qword [rdi + 0x40]
test rbx, rbx
je 0x1400018af
lea rcx, [rdi + 0x61]
jmp 0x14000254f
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x1400018af
lea rcx, [rdi + 0x60]
mov qword [rbp - 0x28], rcx
test rcx, rcx
je 0x1400025af
cmp byte [rcx], 0
mov edi, dword [rsp + 0x40]
jne 0x1400027ad
mov edi, esi
jmp 0x140002ace
mov rbx, qword [rdi + 0x50]
mov r15, qword [rdi + 0xa0]
test rbx, rbx
je 0x1400025b6
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 0x1400025b6
mov r14d, dword [rbp - 0x78]
mov edi, esi
jmp 0x140002ace
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 0x140002764
mov rcx, rbx
call fcn.14006d990
mov qword [rsp + 0x60], rax
cmp rax, 0
jne 0x140002769
test r11, r11
je 0x140002769
cmp r11, qword [0x140105d70]
je 0x140002769
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400026f2
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140108290]
jne 0x1400026f2
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, [0x1400cff68]
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1400026f2
cmp rcx, 7
jne 0x140002670
mov rcx, qword [0x140101a58]
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 0x1400026e2
cmp dword [0x140105d68], 0
je 0x1400018a1
mov rax, qword [0x140103ef0]
lea rcx, [0x1400cffcc]
test rax, rax
je 0x1400026d7
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x1400018a1
mov rcx, qword [0x140101a58]
mov byte [rcx + 0x128], 0
jmp 0x1400026f9
mov rcx, qword [0x140101a58]
mov rdx, qword [0x140105d28]
test rdx, rdx
je 0x14000273b
mov rcx, qword [0x140105d70]
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 [0x140101a58]
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 [0x140108e10]
test rcx, rcx
je 0x1400027aa
mov rax, qword [rbp - 0x68]
nop dword [rax]
mov r12, qword [rcx + 8]
test r12, r12
je 0x1400027a1
nop dword [rax]
cmp dword [r12 + 0x28], eax
je 0x1400027c6
mov r12, qword [r12 + 0x38]
test r12, r12
jne 0x140002790
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x140002780
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 0x1400027ad
mov edi, dword [r12 + 0x2c]
jmp 0x140002ace
mov eax, dword [0x140106c84]
movzx r14d, byte [rbp + 0x13e8]
cmp rbx, rax
jae 0x140001893
mov rax, qword [0x140106ce0]
mov rdi, qword [rax + rbx*8]
mov qword [rbp - 0x18], rdi
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140002832
mov rdx, qword [rdi + 8]
call fcn.14000b260
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 0x140002836
mov qword [rbp - 0x48], rsi
mov rdx, qword [rbp - 0x68]
mov rcx, rdi
call fcn.14000e5f0
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 [0x140108e2c], ax
mov rbx, qword [rdi]
mov edi, dword [rdi + 0x28]
jmp 0x140002ace
cmp byte [0x140108df0], 0
mov rbx, qword [rsp + 0x50]
jne 0x140001878
mov rbx, qword [0x140108dd8]
mov edi, esi
test rbx, rbx
cmove rbx, qword [0x140108958]
jmp 0x140002ace
mov rcx, rbx
call fcn.140040390
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 0x140002ace
mov rdi, qword [0x140105d58]
mov qword [rbp - 0x40], rdi
test rdi, rdi
je 0x1400018af
cmp rdi, rbx
je 0x14000290a
mov rdi, qword [rdi + 8]
mov qword [rbp - 0x40], rdi
test rdi, rdi
jne 0x1400028f3
jmp 0x1400018af
mov rbx, qword [rsp + 0x50]
test rdi, rdi
je 0x140001889
mov rbx, qword [rdi + 0x10]
cmp r14d, 0x41c
jne 0x14000292e
mov rbx, qword [rbx + 0x390]
jmp 0x140002947
cmp r14d, 0x41e
jne 0x140002940
mov rbx, qword [rbx + 0x3a0]
jmp 0x140002947
mov rbx, qword [rbx + 0x398]
mov edi, dword [rsp + 0x40]
test rbx, rbx
je 0x1400027ad
mov edi, esi
jmp 0x140002ace
movzx eax, bx
mov ecx, 0x7fff
and ax, cx
cmp ax, word [0x140106d00]
jae 0x1400027ad
movzx ecx, ax
mov rax, qword [0x140106cf0]
shr rbx, 0x10
mov rdi, qword [rax + rcx*8]
mov qword [rbp - 0x20], rdi
test bx, bx
je 0x1400029b2
mov r13, qword [rdi + 0x28]
mov eax, 0xffff
add bx, ax
je 0x1400029a9
nop dword [rax]
mov r13, qword [r13 + 0x10]
add bx, ax
jne 0x1400029a0
test r13, r13
jne 0x140002a37
cmp byte [rdi + 0x19], 0
jne 0x1400029c0
mov r13, rsi
jmp 0x1400018af
mov r13, qword [rdi + 0x28]
mov rbx, rsi
mov qword [rbp - 0x48], rsi
test r13, r13
je 0x140002a22
cmp byte [r13 + 0x28], 0
je 0x140002a15
cmp byte [0x140106afd], 0
je 0x1400029ec
mov rcx, r13
call fcn.140086180
test al, al
je 0x140002a15
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x140002a0b
mov rdx, qword [rdi + 0x20]
call fcn.14000b260
mov rdi, qword [rbp - 0x20]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x140002a15
cmp qword [r13 + 8], 0
jne 0x140002a5a
mov rbx, r13
mov r13, qword [r13 + 0x10]
test r13, r13
jne 0x1400029d0
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.1400860e0
test eax, eax
je 0x140002a4c
cmp eax, 1
jne 0x140002a60
mov rax, qword [r9 + 0x10]
test rax, rax
je 0x140002a60
movzx ecx, byte [rax]
jmp 0x140002a62
mov r14d, dword [rbp - 0x78]
jmp 0x140002a25
xor cl, cl
movzx eax, byte [r13 + 0x23]
cmp byte [r13 + 0x22], al
jb 0x140002a9d
add cl, 0x34
cmp cl, 0x14
ja 0x140002a82
movzx eax, cl
mov ecx, 0x10fc01
bt ecx, eax
jb 0x140002a9d
cmp byte [r13 + 0x26], 0
je 0x140002a8e
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 0x140002ac2
movzx ecx, byte [rax]
lea eax, [rcx - 2]
test al, 0xfd
je 0x140002ac2
cmp cl, 5
jb 0x140002ac6
mov rax, qword [0x140105d50]
mov qword [rbp - 0x48], rax
jmp 0x140002ac6
mov qword [rbp - 0x48], rsi
mov rbx, qword [r13]
mov edi, dword [r13 + 0x1c]
mov rcx, rbx
call fcn.1400860e0
test eax, eax
je 0x140002adf
cmp eax, 1
jne 0x140002aed
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140002aed
movzx esi, byte [rax]
jmp 0x140002af0
xor sil, sil
mov ecx, dword [0x140105d48]
mov eax, dword [0x140101a54]
cmp ecx, eax
jl 0x140002b6e
add eax, 2
cmp ecx, eax
jge 0x140002b18
lea eax, [rsi + 0x34]
cmp al, 0x14
ja 0x140002b18
mov ecx, 0x10fc01
bt ecx, eax
jb 0x140002b6e
test r15, r15
je 0x140002b38
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 [0x140101a58]
cmp edi, dword [rax + 0x3c]
jl 0x140002b18
mov byte [rsp + 0x70], 1
cmp r14d, 0x402
je 0x140002bf8
cmp r14d, 0x413
jbe 0x140002bae
cmp r14d, 0x415
jbe 0x140002c42
lea eax, [r14 - 0x41b]
cmp eax, 3
jbe 0x140002c42
mov rax, qword [0x140108d80]
mov qword [0x140108d88], rax
mov eax, dword [0x140108e24]
mov dword [0x140108e28], eax
cmp r14d, 0x401
jne 0x140002bdb
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 8]
jmp 0x140002be3
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x20]
mov qword [0x140108d80], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140108e24], eax
jmp 0x140002c42
mov rdx, qword [r12]
lea rcx, [0x140108968]
mov r8d, 0x104
call fcn.1400b44b4
xor r14d, r14d
lea rcx, [0x140108b72]
mov word [0x140108b70], r14w
mov r8d, 0x104
mov rdx, qword [r12 + 0x20]
mov rdx, qword [rdx]
call fcn.1400b44b4
mov word [0x140108d7a], r14w
mov qword [0x140108960], r12
mov rcx, qword [0x140105d40]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140001450
mov r8d, 0x7f
lea rcx, [rbp + 0x1d0]
mov rdx, rax
call fcn.1400b44b4
xor eax, eax
movzx r9d, sil
mov r8b, 1
mov word [rbp + 0x2ce], ax
xor edx, edx
mov ecx, edi
call fcn.140004090
mov r14, qword [0x140101a58]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140108e7c], eax
mov dword [0x140108e78], eax
mov eax, dword [rbp - 0x78]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x140002cc8.1032
lea r11, [0x140000000]
movzx eax, byte [r11 + rax + 0x393c]
mov ecx, dword [r11 + rax*4 + 0x391c]
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 0x140002cea
mov rcx, qword [r10]
jmp 0x140002cee
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 0x140003134
jbe 0x140002ff8
cmp ecx, 8
jbe 0x140002f17
cmp ecx, 9
jne 0x140002ff8
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 0x140002e0e
cmp ecx, r9d
jne 0x140002d82
lea r8, [r14 + 0x50]
mov rdx, r10
call fcn.14007ea10
mov r10, qword [rsp + 0x78]
mov r9d, 1
movzx ecx, byte [r10 + 8]
sub ecx, 9
je 0x140002df1
sub ecx, 1
je 0x140002de6
cmp ecx, 1
jne 0x140002e0e
cmp dword [r14 + 0x44], 1
mov rcx, qword [r10]
jne 0x140002db6
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, eax
jmp 0x140002e09
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 0x140002e09
or r8, 0xffffffffffffffff
mov edx, 0x100c
jmp 0x140002dfc
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 0x140002e66
lea rcx, [rbp + 0xc0]
add rcx, rax
mov rax, qword [rsi]
xor r8d, r8d
mov dword [rcx + 0x10], r9d
mov qword [rcx], rax
jmp 0x140002e80
xor r8d, r8d
lea rcx, [0x1400cffcc]
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 0x1400032b1
mov dword [r14 + 0x44], r9d
cmp ecx, 8
jne 0x1400032a9
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 0x140002f94
mov r8d, dword [0x140108294]
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 0x140002fe3
mov r8d, dword [0x140108294]
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 0x1400032ac
movzx eax, byte [r10 + 8]
cmp al, 0xa
je 0x14000304a
cmp al, 0x19
jne 0x1400030be
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 0x1400030be
cmp cl, 0x49
jne 0x1400030be
lea rax, [rbp + 0x60]
bt ecx, 8
jae 0x140003060
mov eax, 0x53
jmp 0x14000306b
bt ecx, 9
jae 0x140003073
mov eax, reloc.WSOCK32.dll_WSAStartup
mov word [rbp + 0x60], ax
lea rax, [rbp + 0x62]
bt ecx, 0xa
jae 0x140003080
mov edx, 0x46
jmp 0x14000308b
bt ecx, 0xb
jae 0x140003092
mov edx, 0x66
mov word [rax], dx
add rax, 2
bt ecx, 0xc
jae 0x14000309f
mov ecx, 0x43
jmp 0x1400030aa
bt ecx, 0xd
jae 0x1400030b1
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 0x1400030ea
mov eax, ecx
mov rcx, qword [r11 + rax*8 + 0xed8d0]
jmp 0x1400030fb
movzx eax, cl
lea rcx, [0x14010a874]
mov word [0x14010a874], 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 0x1400032b6
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.1400705d0
mov r10, qword [rsp + 0x78]
mov qword [rdi], rax
movsxd rax, esi
shl rax, 5
mov dword [rdi + 0x10], 6
test r10, r10
je 0x1400031e0
lea rcx, [rbp + 0xc0]
add rcx, rax
mov rax, qword [r10]
mov dword [rcx + 0x10], 1
mov qword [rcx], rax
jmp 0x1400031f8
xor ecx, ecx
mov dword [rbp + rax + 0xd0], ecx
lea rcx, [0x1400cffcc]
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 0x140003240
mov r8d, dword [0x140108294]
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 0x140002fe3
mov r8d, dword [0x140108294]
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 0x1400032ac
mov r10d, edi
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x68]
cmp byte [rbp + 0x13f0], 0
je 0x140003380
cmp byte [rsi + 8], 0x17
jne 0x140003380
xor edx, edx
lea rcx, [rbp + 0x2d0]
mov r8d, 0x10b8
call fcn.1400a9f50
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 0x1400033e4
cmp word [rbp + 0x340], 0
lea rax, [rbp + 0x2e0]
mov rcx, qword [0x140105d40]
lea rdx, [rbp + 0x340]
cmove rdx, rax
mov byte [rsp + 0x20], 1
xor r9d, r9d
or r8, 0xffffffffffffffff
call fcn.14008ec90
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 [0x140105d40]
lea edx, [r8 + 1]
call fcn.140001450
xor ecx, ecx
mov qword [rdi], rax
mov dword [rdi + 0x10], ecx
jmp 0x1400033e6
cmp word [rbp + 0x60], 0
je 0x1400033aa
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 0x1400033d2
cmp ecx, 5
je 0x1400033d2
mov rcx, qword [0x140105d40]
lea rdx, [rbp + 0x60]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008ec90
jmp 0x1400033e4
mov rcx, qword [0x140105d40]
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 0x140003421
mov byte [r14], 1
jmp 0x14000342e
cmp byte [rbp + 0x13f0], 0
je 0x14000342e
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, [0x1400cffc0]
mov dword [rsp + 0x20], edx
mov rcx, rbx
mov rdx, rbx
call fcn.140082680
cmp qword [rdi + 8], 0
je 0x14000350f
mov r8d, dword [rsp + 0x5c]
test r14, r14
je 0x1400034bb
mov byte [r14], 0
cmp r8d, 6
jne 0x1400034c8
cmp qword [rbp + 0x80], 0
jne 0x14000350f
mov rcx, rbx
call fcn.1400860e0
test eax, eax
jne 0x14000349d
test rbx, rbx
jne 0x14000350f
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000350f
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call fcn.140070320
jmp 0x1400037ba
cmp byte [rbp + 0x13f0], 0
je 0x1400034c8
and byte [rsi + 9], 0xfb
cmp r8d, 5
jne 0x14000350f
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.140070320
jmp 0x1400037ba
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140003546
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, [0x140108968]
xor esi, esi
lea rcx, [0x1401082b0]
mov dword [rbp + 0x10], esi
mov qword [rbp], rax
call fcn.140053a40
mov dword [rsp + 0x30], esi
lea r9, [rbp]
mov qword [rsp + 0x28], rsi
lea r8, [0x1400cffc0]
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, [0x140108b72]
mov qword [rbp + 0x40], rax
call fcn.140082680
test rdi, rdi
je 0x1400037bc
mov rcx, rdi
call fcn.140070320
jmp 0x1400037bc
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.14000e550
jmp 0x1400037ba
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x140003614
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14000360b
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov edx, 2
test eax, eax
je 0x140003610
mov edx, 1
xor esi, esi
jmp 0x140003618
xor esi, esi
mov edx, esi
mov rcx, qword [0x140105d40]
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 [0x140108dd8]
mov dword [rbp + 0x10], ecx
mov byte [0x140108df0], cl
test rax, rax
je 0x140003661
mov rcx, rax
call fcn.140001560
mov rax, qword [0x140108dd8]
mov ecx, 1
cmp qword [rbp - 0x70], 0
jne 0x140003685
test rax, rax
lea rdx, [rbp]
mov r9d, esi
mov r8d, ecx
sete r9b
lea rcx, [0x140108da8]
call fcn.140086250
mov byte [0x140108df0], 0
jmp 0x1400037bc
mov rdi, qword [rbp - 0x40]
lea r9, [rbp]
xor esi, esi
mov dword [rbp + 0x10], 6
mov dword [rsp + 0x30], esi
lea r8, [0x1400cffc0]
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.140082680
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400037bc
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, [0x1400cffc0]
mov dword [rbp + 0x10], 6
mov rdx, rbx
mov rcx, rbx
call fcn.140082680
jmp 0x1400037bc
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 0x140003721
mov rdi, qword [rbp - 0x20]
movzx eax, byte [rdi + 0x10]
add al, 0x64
cmp al, 3
ja 0x140003798
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.14000c2c0
xor esi, esi
lea rcx, [rbp + 0x1d0]
call fcn.140004250
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 0x140003811
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 0x140003818
mov r15d, dword [rbp + 0x13e0]
movsxd rbx, r15d
cmp rbx, 0xffffffffffffffff
jle 0x14000382e
mov qword [0x140108e68], rsi
mov dword [0x140108e78], eax
mov r14b, 1
mov dword [0x140108e7c], eax
mov byte [rbp + 0x13e8], r14b
mov byte [rbp + 0x13f8], 1
jmp 0x1400018cc
cmp rbx, 0xffffffffffffffff
jle 0x140003861
xor ebx, ebx
mov dword [0x140108e78], eax
mov qword [0x140108e68], rbx
jmp 0x140003863
xor ebx, ebx
cmp byte [rsp + 0x48], 0
mov dword [0x140108e7c], eax
movzx eax, byte [0x140105bc3]
cmovne eax, ebx
cmp byte [rsp + 0x49], 0
mov byte [0x140105bc3], al
je 0x1400038d6
mov eax, dword [0x140105d6c]
dec eax
mov dword [0x140105d6c], eax
test r15d, r15d
jle 0x1400038d6
test eax, eax
jne 0x1400038d6
cmp dword [0x140108e0c], eax
jne 0x1400038d6
cmp dword [0x140106ce8], eax
jne 0x1400038d6
cmp byte [0x140105bc2], al
je 0x1400038d6
mov rcx, qword [0x140105d70]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140105bc2]
test eax, eax
cmovne ecx, ebx
mov byte [0x140105bc2], cl
movzx eax, byte [rsp + 0x70]
jmp 0x1400022b3