Function at 0x140001a70
Capabilities:
Check for foreground window switch
Check for software breakpoints
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 - 0x13c8]
mov eax, 0x14c8
call fcn.1400d10e0
sub rsp, rax
mov qword [rbp + 0x1a0], 0xfffffffffffffffe
movaps xmmword [rsp + 0x14b0], xmm7
mov edi, edx
mov r12d, ecx
mov byte [rsp + 0x49], 0
mov esi, 1
cmp edx, 2
jne 0x140001ad3
mov edi, esi
cmp byte [0x140116937], 0
jne 0x140001ad3
mov byte [0x140116937], sil
mov byte [rsp + 0x49], sil
xor ebx, ebx
cmp dword [0x140118e5c], ebx
je 0x140001b0d
cmp qword [0x140118e40], rbx
je 0x140001afa
mov rcx, qword [0x140118e30]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140118e40], rbx
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140118e5c], ebx
mov qword [0x140118e30], rbx
cmp r12d, 0x8000012f
jne 0x140001b2c
mov r12d, 0xa
mov dword [rbp + 0x1410], r12d
mov byte [rbp + 0x1420], sil
jmp 0x140001b3d
cmp r12d, 5
setle al
mov byte [rbp + 0x1420], al
test al, al
je 0x140001b42
mov dword [rbp - 0x60], ebx
jmp 0x140001b4b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x60], eax
cmp dword [0x1401173b8], ebx
je 0x140001b58
call fcn.140004470
xor r15b, r15b
mov dword [rsp + 0x44], r15d
cmp dword [0x140118d3c], ebx
je 0x140001b7c
call fcn.140004190
movzx r15d, r15b
test al, al
cmovne r15d, esi
mov dword [rsp + 0x44], r15d
test r12d, r12d
jle 0x140001bbc
cmp edi, esi
jne 0x140001bbc
mov byte [rsp + 0x48], sil
inc dword [0x140116944]
cmp byte [0x140116931], bl
jne 0x140001bc0
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
mov rcx, qword [0x1401167a8]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x140116931]
jmp 0x140001bc0
mov byte [rsp + 0x48], bl
mov byte [rsp + 0x50], bl
xor sil, sil
mov byte [rbp + 0x1418], sil
mov r14d, ebx
movsxd rax, edi
mov qword [rbp + 0x28], rax
movsd xmm7, qword [0x1400ffd58]
mov rax, qword [rbp + 0x1420]
mov qword [rbp - 0x58], rax
jmp 0x140001c73
mov r12d, dword [rbp + 0x1410]
mov r15d, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x40]
jmp 0x140001c7d
mov r15d, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x40]
jmp 0x140002893
mov r12d, dword [rbp + 0x1410]
jmp 0x140001c73
mov r15d, dword [rsp + 0x44]
movzx r13d, byte [rbp + 0x1420]
jmp 0x14000289a
mov r15d, dword [rsp + 0x44]
movzx r13d, byte [rbp + 0x1420]
jmp 0x140001c7d
mov r15d, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x40]
jmp 0x140001c7b
mov r15d, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
jmp 0x140001c7b
mov r15d, dword [rsp + 0x44]
jmp 0x140001c7b
movzx esi, byte [rbp + 0x1418]
mov r14d, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x44]
movzx r13d, byte [rbp + 0x1420]
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
test r12d, r12d
jle 0x140001d48
test sil, sil
jne 0x140001d48
cmp byte [0x140116937], sil
jne 0x140001d55
cmp dword [0x140111454], 0
je 0x140001d03
cmp dword [0x140116988], 0
jne 0x140001d03
mov rcx, qword [0x140111488]
cmp byte [rcx + 0x12c], sil
jne 0x140001cfa
cmp byte [rcx + 0x12e], sil
jne 0x140001cfa
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001cfa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140111488]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001cfa
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
jmp 0x140001d05
mov eax, edi
mov r9d, 0x311
test eax, eax
cmovne r9d, edi
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x140001c7d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, ebx
cmp ecx, 3
jbe 0x140001fdc
mov dword [0x140118da8], eax
jmp 0x140001fdc
cmp byte [0x140116937], 0
je 0x140001ebf
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
test rax, rax
je 0x140001ebf
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401181b8]
jne 0x140001ebf
cmp dword [0x140116994], 0
je 0x140001dba
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x1b0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rsi, [rbp + 0x1b0]
lea rdi, str.32770
mov ecx, 7
repe cmpsw word [rsi], word [rdi]
sete al
test al, al
jne 0x140001e11
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x140001ebf
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x1b0]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, str.SysTreeView32
lea rcx, [rbp + 0x1b0]
call fcn.1400c8dac
test eax, eax
je 0x140001e11
lea rdx, str.SysListView32
lea rcx, [rbp + 0x1b0]
call fcn.1400c8dac
test eax, eax
jne 0x140001ebf
call fcn.140004de0
mov edi, 0x311
test eax, eax
mov eax, 0xffffffff
cmovne edi, eax
xor edx, edx
mov dword [rsp + 0x20], edx
mov r9d, 0x1ff
xor r8d, r8d
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_PeekMessageW]
mov r9d, edi
xor edx, edx
mov r8d, 0x20e
lea rcx, [rsp + 0x68]
test eax, eax
jne 0x140001e69
mov esi, 1
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_PeekMessageW]
xor edi, edi
jmp 0x140001f49
mov esi, dword [rbp - 0x78]
xor eax, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
xor edx, edx
lea rcx, [rsp + 0x68]
test eax, eax
jne 0x140001ea2
mov esi, 1
mov dword [rsp + 0x20], esi
mov r9d, 0x1ff
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
xor edi, edi
jmp 0x140001f49
mov eax, dword [rbp - 0x78]
sub eax, esi
mov esi, 1
mov dword [rsp + 0x20], esi
test eax, eax
jg 0x140001e8c
mov r9d, edi
mov r8d, 0x20e
jmp 0x140001e95
cmp dword [0x140111454], 0
je 0x140001f20
cmp dword [0x140116988], 0
jne 0x140001f20
mov rcx, qword [0x140111488]
cmp byte [rcx + 0x12c], 0
jne 0x140001f15
cmp byte [rcx + 0x12e], 0
jne 0x140001f15
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001f15
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140111488]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001f15
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
xor edi, edi
jmp 0x140001f24
xor edi, edi
mov eax, edi
mov r9d, 0x311
test eax, eax
cmovne r9d, edi
mov esi, 1
mov dword [rsp + 0x20], esi
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001fdc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, ebx
mov edx, dword [0x140118da8]
cmp ecx, 3
cmova edx, eax
mov dword [0x140118da8], edx
test r12d, r12d
jne 0x140001f8b
cmp byte [rsp + 0x50], r12b
jne 0x140001f8b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x50], 1
jmp 0x14000289a
test r14d, r14d
jne 0x140001fac
test r13b, r13b
je 0x140001fac
test r12d, r12d
jle 0x140001fa4
lea ecx, [r14 + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r14d, esi
jmp 0x14000289a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r13b, r13b
jne 0x140003f7f
mov ecx, dword [rbp - 0x60]
sub ecx, eax
add ecx, r12d
cmp ecx, 5
jle 0x140003f7f
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000289a
inc r14d
mov dword [rsp + 0x40], r14d
mov edi, dword [0x1401181d0]
test edi, edi
je 0x1400020da
mov r13, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x70]
mov r12, qword [rsp + 0x68]
cmp dword [0x140111454], 0
je 0x1400020ed
cmp dword [0x140116988], 0
jne 0x1400020ed
xor sil, sil
lea rax, [0x1401181c0]
mov qword [rbp - 0x10], rax
mov rax, qword [0x1401181c8]
mov qword [rbp - 8], rax
mov dword [rbp + 4], edi
lea rax, [rbp - 0x10]
mov qword [0x1401181c8], rax
xor eax, eax
mov edx, eax
mov dword [rbp], eax
test edi, edi
jle 0x1400020aa
movsxd rcx, edx
add rcx, rcx
mov rax, qword [0x1401181c0]
cmp dword [rax + rcx*8 + 8], r14d
jne 0x14000209c
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9, rbx
mov r8d, r14d
mov rdx, r12
lea rcx, [rbp - 0x10]
call fcn.140004610
test al, al
jne 0x1400020a7
mov edi, dword [rbp + 4]
mov edx, dword [rbp]
inc edx
mov dword [rbp], edx
cmp edx, edi
jge 0x1400020aa
jmp 0x140002051
mov sil, 1
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rcx + 8], rax
test sil, sil
mov r12d, dword [rbp + 0x1410]
movzx r13d, byte [rbp + 0x1420]
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
jne 0x140001c7b
mov r13, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x70]
mov r12, qword [rsp + 0x68]
mov r9d, dword [0x14011699c]
test r9d, r9d
je 0x14000258b
test r12, r12
je 0x14000258b
mov rdi, qword [0x1401167a8]
cmp r12, rdi
je 0x140002582
cmp r14d, 0x414
je 0x140002582
cmp r14d, 0x402
je 0x140002582
lea eax, [r14 - 0x100]
cmp eax, 9
ja 0x1400024ea
call qword [sym.imp.USER32.dll_GetFocus]
mov r12, rax
test rax, rax
je 0x1400024c9
mov rcx, rax
call fcn.1400b2750
mov rdi, rax
test rax, rax
je 0x1400024c9
mov rcx, r12
call fcn.14008a8d0
mov r13, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400024c9
mov rdx, qword [rax + 0xb8]
test rdx, rdx
je 0x1400021ad
lea r8, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
jne 0x140001c12
mov r14d, dword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
cmp r14d, 0x100
jne 0x14000247b
cmp byte [r13 + 0x100], 0
je 0x140002372
cmp rbx, 0x22
je 0x1400021f4
cmp rbx, 0x21
je 0x1400021f4
cmp rbx, 9
je 0x1400021f4
cmp rbx, 0x25
je 0x1400021f4
cmp rbx, 0x27
jne 0x140002372
mov rdx, r12
mov rcx, r13
call fcn.1400019f0
mov rsi, rax
mov qword [rbp - 0x68], rax
test rax, rax
je 0x14000235b
movzx ecx, byte [rax + 8]
cmp cl, 0xf
je 0x14000235b
xor r14d, r14d
mov edi, r14d
mov rbx, qword [rsp + 0x78]
cmp cl, 0x13
jne 0x14000225b
mov rdi, rax
cmp rbx, 0x25
je 0x14000223b
cmp rbx, 0x27
jne 0x14000225b
cmp rbx, 0x27
sete r8b
mov byte [rsp + 0x20], r14b
xor r9d, r9d
mov rdx, rax
mov rcx, r13
call fcn.14009d130
jmp 0x1400026d6
cmp rbx, 0x25
je 0x140002360
cmp rbx, 0x27
je 0x140002360
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14000235b
mov rbx, qword [rsp + 0x78]
cmp rbx, 9
jne 0x1400022b2
cmp byte [rsi + 8], 0xc
jne 0x1400022b2
lea edx, [rbx - 0x19]
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x14000235b
mov rbx, qword [rsp + 0x78]
test rdi, rdi
jne 0x14000230a
movzx edx, byte [rsi + 0xa]
mov rcx, r13
call fcn.14009ce50
mov rdi, rax
test rax, rax
jne 0x14000230a
xor cl, cl
mov edx, r14d
mov edi, dword [r13 + 0x20]
test edi, edi
je 0x140002360
mov rsi, qword [r13 + 0x28]
lea rax, [rsi + 8]
cmp byte [rax], 0x13
jne 0x1400022ef
test cl, cl
je 0x1400022fb
inc cl
inc edx
add rax, 0x28
cmp edx, edi
jae 0x140002360
jmp 0x1400022e4
mov eax, edx
lea rcx, [rax + rax*4]
lea rdi, [rsi + rcx*8]
test rdi, rdi
je 0x140002360
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x14000235b
mov rax, qword [rsp + 0x78]
cmp rax, 0x22
je 0x140002340
cmp rax, 9
jne 0x14000233b
lea ecx, [rax + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140002340
xor r8d, r8d
jmp 0x140002343
mov r8b, 1
mov byte [rsp + 0x20], 1
mov r9b, 1
mov rdx, rdi
mov rcx, r13
call fcn.14009d130
jmp 0x1400026d6
mov rbx, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x70]
cmp r14d, 0x100
jne 0x14000247b
cmp rbx, 0x1b
je 0x1400023b1
cmp rbx, 9
je 0x1400023b1
cmp rbx, 0x41
jne 0x14000247b
lea ecx, [rbx - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0x8000
test di, ax
je 0x140002471
lea ecx, [rbx + 0x64]
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
jne 0x140002471
mov rdx, r12
mov rcx, r13
call fcn.1400019f0
mov rsi, rax
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140002471
cmp byte [rax + 8], 0xc
jne 0x140002471
mov rbx, qword [rsp + 0x78]
cmp rbx, 0x1b
je 0x140002431
cmp rbx, 0x41
je 0x140002411
test byte [rax + 9], 0x80
je 0x140002476
lea r9, [0x1400e14e4]
mov edx, 0xc2
mov r8d, 1
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400026d6
test byte [rax + 9], 2
jne 0x140002476
or r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400026d6
cmp qword [r13 + 0x40], 0
mov r12d, dword [rbp + 0x1410]
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
mov edi, 0
je 0x140001c32
xor r9d, r9d
mov edx, 0x414
mov r8d, 0x2af80007
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14000288b
mov rbx, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x70]
mov rcx, qword [0x140118120]
test rcx, rcx
je 0x1400024d3
cmp r14d, 0x100
jne 0x1400024d3
cmp rbx, 0xd
jne 0x1400024ac
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1116
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400026d6
cmp rbx, 0x1b
jne 0x1400024d3
xor r9d, r9d
mov edx, 0x1116
lea r8d, [rbx - 0x1a]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400026d6
mov rbx, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x70]
mov r9d, dword [0x14011699c]
mov rdi, qword [0x1401167a8]
mov r12, qword [rsp + 0x68]
mov r13, qword [rbp - 0x80]
xor eax, eax
mov esi, eax
test r9d, r9d
jle 0x140002582
mov edi, eax
mov r8, qword [0x140117260]
mov rax, qword [rdi + r8]
cmp dword [rax + 0x20], 0
jne 0x140002513
cmp r14d, 0x106
je 0x140002567
mov rcx, qword [0x140111488]
mov byte [rcx + 0x128], 1
mov eax, dword [rsp + 0x70]
mov dword [rcx + 0x124], eax
mov rcx, qword [rdi + r8]
lea rdx, [rsp + 0x68]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
mov rax, qword [0x140111488]
mov byte [rax + 0x128], 0
jne 0x1400026d6
mov r14d, dword [rsp + 0x70]
mov r9d, dword [0x14011699c]
mov r8, qword [0x140117260]
inc esi
add rdi, 8
cmp esi, r9d
jl 0x140002500
mov r13, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x78]
mov r12, qword [rsp + 0x68]
jmp 0x140002592
mov r8, qword [0x140117260]
jmp 0x140002599
mov r8, qword [0x140117260]
mov rdi, qword [0x1401167a8]
cmp r14d, 0x401
ja 0x1400026f6
cmp r14d, 0x400
jae 0x14000272c
mov eax, r14d
sub eax, 0x12
je 0x1400026c3
sub eax, 0x39
je 0x140002697
sub eax, 0xb5
je 0x140002673
sub eax, 0x13
je 0x1400025e8
cmp eax, 0x1ff
je 0x14000273a
jmp 0x1400029e3
test r13, r13
jne 0x1400029e3
cmp r12, rdi
jne 0x1400029e3
cmp dword [0x1401173b8], r13d
je 0x140002608
call fcn.140004470
cmp dword [0x140118d3c], 0
je 0x14000262a
call fcn.140004190
movzx r15d, r15b
test al, al
mov eax, 1
cmovne r15d, eax
mov dword [rsp + 0x44], r15d
cmp qword [rbp + 0x28], 0
mov r12d, dword [rbp + 0x1410]
movzx r13d, byte [rbp + 0x1420]
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
je 0x140001c7b
cmp r12d, 1
jl 0x140001c7b
movzx r8d, r13b
mov edx, dword [rbp - 0x60]
mov ecx, r12d
call fcn.140004110
test eax, eax
jne 0x140003ff3
jmp 0x1400026ea
cmp r12, qword [0x1401167b0]
jne 0x1400029e3
cmp rbx, 0x1b
jne 0x1400029e3
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400026d6
xor edi, edi
mov qword [0x140116908], rdi
mov sil, 1
mov byte [rbp + 0x1418], sil
mov r12d, dword [rbp + 0x1410]
movzx r13d, byte [rbp + 0x1420]
mov r14d, dword [rsp + 0x40]
jmp 0x140001c7d
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [0x1401181e0]
call fcn.14001f730
mov r14d, dword [rsp + 0x40]
mov r12d, dword [rbp + 0x1410]
movzx r13d, byte [rbp + 0x1420]
movzx esi, byte [rbp + 0x1418]
jmp 0x140001c7b
cmp r14d, 0x402
je 0x14000273a
cmp r14d, 0x414
je 0x14000273a
cmp r14d, 0x415
je 0x14000272c
cmp r14d, 0x41a
jbe 0x1400029e3
cmp r14d, 0x41e
jbe 0x14000273a
jmp 0x1400029e3
test r12, r12
je 0x14000273a
cmp r12, rdi
jne 0x1400029e3
xor r10d, r10d
mov r15d, r10d
lea eax, [r14 - 0x401]
cmp eax, 0x1d
ja case.0x140002769.1031
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x40a4]
mov ecx, dword [rdx + rax*4 + 0x4088]
add rcx, rdx
jmp rcx
mov edx, r10d
mov rcx, r10
test r9d, r9d
jle 0x1400029ab
nop word [rax + rax]
mov rax, qword [r8 + rcx*8]
cmp qword [rax + 8], r12
je 0x140002799
inc edx
inc rcx
cmp edx, r9d
jl 0x140002780
jmp 0x1400029ab
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400029e3
mov qword [rsp + 0x58], r13
movzx edx, bx
mov dword [rsp + 0x54], edx
shr rbx, 0x10
movzx eax, bx
mov dword [rbp - 0x38], eax
mov dword [rsp + 0x4c], r10d
cmp edx, 8
jne 0x1400027d8
mov dword [rbp - 0x34], r13d
mov qword [rsp + 0x58], rax
mov eax, 0x2af8
mov dword [rbp - 0x38], eax
mov r13, qword [rsp + 0x60]
cmp eax, dword [r13 + 0x20]
jae 0x1400027f1
lea rcx, [rax + rax*4]
mov rax, qword [r13 + 0x28]
lea rsi, [rax + rcx*8]
jmp 0x1400027f4
mov rsi, r10
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x20], r10
mov byte [rbp + 0x1428], r10b
mov eax, edx
sub eax, 5
je 0x140002920
mov r12d, dword [rbp + 0x1410]
dec eax
je 0x1400028f4
dec eax
je 0x1400028e1
dec eax
je 0x1400028ce
dec eax
je 0x1400028bc
test rsi, rsi
je 0x140001c62
mov rsi, qword [rsi + 0x18]
mov rdi, qword [rbp - 0x68]
test rsi, rsi
jne 0x1400028a6
test byte [rdi + 9], 1
mov r15d, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
mov rdi, r10
je 0x140001c32
mov rcx, qword [r13 + 8]
test rcx, rcx
movzx r13d, byte [rbp + 0x1420]
je 0x140001c7d
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov r15d, dword [rsp + 0x44]
movzx r13d, byte [rbp + 0x1420]
mov r12d, dword [rbp + 0x1410]
movzx esi, byte [rbp + 0x1418]
jmp 0x140001c7d
test byte [rdi + 9], 4
jne 0x140001c62
mov byte [rbp + 0x1428], 1
jmp 0x14000296d
mov rsi, qword [r13 + 0x58]
test rsi, rsi
je 0x140001c62
jmp 0x14000296d
mov rsi, qword [r13 + 0x48]
test rsi, rsi
je 0x140001c62
lea rcx, [r13 + 0x62]
jmp 0x140002905
mov rsi, qword [r13 + 0x40]
test rsi, rsi
je 0x140001c62
lea rcx, [r13 + 0x61]
jmp 0x140002905
mov rsi, qword [r13 + 0x38]
test rsi, rsi
je 0x140001c62
lea rcx, [r13 + 0x60]
mov qword [rbp - 0x20], rcx
test rcx, rcx
je 0x14000296d
cmp byte [rcx], r10b
mov r12d, dword [rbp + 0x1410]
jne 0x140001c62
jmp 0x14000296d
mov r15, qword [r13 + 0xa0]
mov rsi, qword [r13 + 0x50]
test rsi, rsi
je 0x140002975
test r15, r15
mov r12d, dword [rbp + 0x1410]
mov r14d, dword [rsp + 0x40]
mov rdi, r10
je 0x140001c1b
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov edi, eax
mov qword [rsp + 0x58], rdi
test eax, eax
je 0x140002975
mov r14d, dword [rsp + 0x70]
xor r10d, r10d
mov ebx, r10d
jmp 0x140002fba
test r15, r15
mov r12d, dword [rbp + 0x1410]
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
mov edi, 0
je 0x140001c2d
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
mov qword [r13 + 0xa0], rdi
jmp 0x140002886
mov qword [rsp + 0x60], r10
jmp 0x1400029e3
test rbx, rbx
je 0x140002b51
mov rcx, rbx
call fcn.14008a890
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x140002b58
test r12, r12
je 0x140002b58
cmp r12, rdi
je 0x140002b58
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140002abe
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401181b8]
jne 0x140002abe
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x1b0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rsi, [rbp + 0x1b0]
lea rdi, str.32770
mov ecx, 7
repe cmpsw word [rsi], word [rdi]
jne 0x140002abe
mov rcx, qword [0x140111488]
mov byte [rcx + 0x128], 1
mov eax, dword [rsp + 0x70]
mov dword [rcx + 0x124], eax
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x140002aae
cmp dword [0x140116994], 0
je 0x140002a94
mov rax, qword [0x140112e30]
lea rcx, [0x1400e146c]
test rax, rax
je 0x140002a8e
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rax, qword [0x140111488]
mov byte [rax + 0x128], 0
mov r12d, dword [rbp + 0x1410]
jmp 0x140001c62
mov rcx, qword [0x140111488]
mov byte [rcx + 0x128], 0
jmp 0x140002ac5
mov rcx, qword [0x140111488]
mov rdx, qword [0x1401167d0]
test rdx, rdx
je 0x140002b17
lea r8, [rsp + 0x68]
mov rcx, qword [0x1401167a8]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
mov r12d, dword [rbp + 0x1410]
mov r15d, dword [rsp + 0x44]
movzx r13d, byte [rbp + 0x1420]
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
mov edi, 0
jne 0x140001c7d
mov rcx, qword [0x140111488]
mov byte [rcx + 0x128], 1
mov eax, dword [rsp + 0x70]
mov dword [rcx + 0x124], eax
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rdx, qword [0x140111488]
mov byte [rdx + 0x128], 0
jmp 0x140002aa2
mov qword [rsp + 0x60], r10
jmp 0x140002b5b
xor r10d, r10d
mov rax, qword [0x140118d40]
test rax, rax
je 0x140002bb7
mov r12, qword [rax + 8]
mov qword [rbp - 0x50], r12
test r12, r12
je 0x140002b89
cmp dword [r12 + 0x28], r13d
je 0x140002b8f
mov r12, qword [r12 + 0x38]
mov qword [rbp - 0x50], r12
test r12, r12
jne 0x140002b74
mov rax, qword [rax + 0x30]
jmp 0x140002b62
mov rsi, qword [r12 + 0x10]
test rsi, rsi
movzx r13d, byte [rbp + 0x1420]
mov rdi, r15
je 0x140001c03
mov ebx, dword [r12 + 0x2c]
mov r13, qword [rsp + 0x60]
jmp 0x140002fbe
mov qword [rbp - 0x50], r10
mov r15d, dword [rsp + 0x44]
jmp 0x1400026d6
mov eax, dword [0x1401173bc]
cmp rbx, rax
mov r12d, dword [rbp + 0x1410]
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
jae 0x140001c6e
mov rax, qword [0x1401173c0]
mov r14, qword [rax + rbx*8]
mov qword [rbp + 0x30], r14
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x140002c3b
mov rdx, qword [r14 + 8]
call fcn.14000c400
mov qword [rbp - 0x58], rax
test rax, rax
movzx r13d, byte [rbp + 0x1420]
mov rdi, r15
je 0x140001bf7
mov rcx, qword [r14 + 0x20]
movzx edx, byte [rcx]
cmp dl, 1
je 0x140002c35
cmp dl, 3
je 0x140002c35
mov qword [rbp - 0x58], r15
mov r13, qword [rbp - 0x80]
jmp 0x140002c41
mov qword [rbp - 0x58], r10
xor edi, edi
mov rdx, r13
mov rcx, r14
call fcn.140011d80
cmp qword [r14 + 0x18], r15
mov r12d, dword [rbp + 0x1410]
movzx r13d, byte [rbp + 0x1420]
movzx esi, byte [rbp + 0x1418]
jne 0x140001bf7
cmp byte [r14 + 0x3e], r15b
je 0x140002c7f
movzx eax, word [rbp - 0x80]
mov word [0x140118d5c], ax
jmp 0x140002c86
mov word [0x140118d5c], di
mov rsi, qword [r14]
mov ebx, dword [r14 + 0x28]
mov r14d, dword [rsp + 0x70]
jmp 0x140002fb5
cmp byte [0x140118d20], r10b
mov r12d, dword [rbp + 0x1410]
movzx r13d, byte [rbp + 0x1420]
movzx esi, byte [rbp + 0x1418]
jne 0x140001c3c
mov rsi, qword [0x140118d08]
test rsi, rsi
cmove rsi, qword [0x140118888]
mov ebx, r10d
jmp 0x140002fb5
mov rcx, rbx
call fcn.140048100
mov rdi, rax
mov qword [rbp - 0x48], rax
test rax, rax
mov r12d, dword [rbp + 0x1410]
movzx r13d, byte [rbp + 0x1420]
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
je 0x140001c5b
mov rsi, qword [rax + 0x10]
mov rsi, qword [rsi + 0x388]
xor eax, eax
mov ebx, eax
mov r14d, dword [rsp + 0x70]
jmp 0x140002fb5
mov rdi, qword [0x140117320]
mov qword [rbp - 0x48], rdi
test rdi, rdi
mov r12d, dword [rbp + 0x1410]
movzx r13d, byte [rbp + 0x1420]
movzx esi, byte [rbp + 0x1418]
je 0x140001c3c
nop word [rax + rax]
cmp rdi, rbx
je 0x140002d6c
mov rdi, qword [rdi + 8]
mov qword [rbp - 0x48], rdi
test rdi, rdi
jne 0x140002d50
mov r15d, dword [rsp + 0x44]
jmp 0x1400026d6
test rdi, rdi
mov r12d, dword [rbp + 0x1410]
movzx r13d, byte [rbp + 0x1420]
movzx esi, byte [rbp + 0x1418]
je 0x140001c3c
mov rsi, qword [rdi + 0x10]
cmp r14d, 0x41c
jne 0x140002da1
mov rsi, qword [rsi + 0x390]
jmp 0x140002dba
cmp r14d, 0x41e
jne 0x140002db3
mov rsi, qword [rsi + 0x3a0]
jmp 0x140002dba
mov rsi, qword [rsi + 0x398]
test rsi, rsi
mov r12d, dword [rbp + 0x1410]
movzx r13d, byte [rbp + 0x1420]
je 0x140001c48
mov ebx, r10d
jmp 0x140002fb5
movzx ecx, bx
mov eax, 0x7fff
and cx, ax
mov rax, qword [0x140112e40]
cmp cx, word [rax]
mov r12d, dword [rbp + 0x1410]
movzx r13d, byte [rbp + 0x1420]
movzx esi, byte [rbp + 0x1418]
jae 0x140001c3c
movzx ecx, cx
mov rax, qword [0x140117398]
mov rsi, qword [rax + rcx*8]
mov qword [rbp - 0x18], rsi
shr rbx, 0x10
test bx, bx
je 0x140002e57
mov eax, 0xffff
add bx, ax
mov r12, qword [rsi + 0x28]
mov qword [rbp - 0x40], r12
je 0x140002e4e
nop dword [rax + rax]
mov r12, qword [r12 + 0x10]
add bx, ax
jne 0x140002e40
mov qword [rbp - 0x40], r12
test r12, r12
jne 0x140002f07
cmp byte [rsi + 0x19], r10b
jne 0x140002e6b
mov qword [rbp - 0x40], r10
mov r15d, dword [rsp + 0x44]
jmp 0x1400026d6
mov qword [rbp - 0x58], r10
mov rdi, r10
mov r12, qword [rsi + 0x28]
mov qword [rbp - 0x40], r12
test r12, r12
je 0x140002ee2
nop
cmp byte [r12 + 0x28], r15b
je 0x140002ec6
cmp byte [0x140116936], r15b
je 0x140002e9c
mov rcx, r12
call fcn.1400a63c0
test al, al
je 0x140002ec6
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x140002ebc
mov rdx, qword [rsi + 0x20]
call fcn.14000c400
mov qword [rbp - 0x58], rax
mov rsi, qword [rbp - 0x18]
test rax, rax
je 0x140002ec6
cmp qword [r12 + 8], r15
jne 0x140002ed6
mov rdi, r12
mov r12, qword [r12 + 0x10]
mov qword [rbp - 0x40], r12
test r12, r12
je 0x140002edd
jmp 0x140002e80
mov r14d, dword [rsp + 0x70]
jmp 0x140002ee9
mov r14d, dword [rsp + 0x70]
mov r12, rdi
mov qword [rbp - 0x40], rdi
test r12, r12
movzx r13d, byte [rbp + 0x1420]
movzx esi, byte [rbp + 0x1418]
mov rdi, r15
je 0x140001bf0
xor r10d, r10d
mov rdi, qword [r12]
mov rcx, rdi
call fcn.1400a6310
test eax, eax
je 0x140002f1b
dec eax
jne 0x140002f29
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140002f29
movzx ecx, byte [rax]
jmp 0x140002f2b
xor cl, cl
movzx eax, byte [r12 + 0x23]
cmp byte [r12 + 0x22], al
jb 0x140002f82
cmp cl, 0xe0
je 0x140002f82
cmp cl, 0xcc
je 0x140002f82
cmp cl, 0xda
je 0x140002f82
cmp cl, 0xdb
je 0x140002f82
cmp cl, 0xd6
je 0x140002f82
cmp cl, 0xd7
je 0x140002f82
cmp cl, 0xd8
je 0x140002f82
cmp cl, 0xd9
je 0x140002f82
cmp byte [r12 + 0x26], r15b
je 0x140002f6d
mov byte [r12 + 0x27], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [r12 + 0x18], eax
mov r15d, dword [rsp + 0x44]
jmp 0x1400026d6
mov rax, qword [r12 + 8]
test rax, rax
je 0x140002fa8
movzx eax, byte [rax]
cmp al, 2
je 0x140002fa8
cmp al, 4
je 0x140002fa8
cmp al, 5
jb 0x140002fac
mov rax, qword [0x140116970]
mov qword [rbp - 0x58], rax
jmp 0x140002fac
mov qword [rbp - 0x58], r10
mov rsi, qword [r12]
mov ebx, dword [r12 + 0x1c]
mov r13, qword [rsp + 0x60]
mov r12, qword [rbp - 0x50]
mov rcx, rsi
call fcn.1400a6310
test eax, eax
je 0x140002fce
dec eax
jne 0x140002fdc
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140002fdc
movzx edi, byte [rax]
jmp 0x140002fdf
xor dil, dil
mov ecx, dword [0x140116948]
mov eax, dword [0x14011145c]
cmp ecx, eax
jl 0x140003026
add eax, 2
cmp ecx, eax
jge 0x140003032
cmp dil, 0xe0
je 0x140003026
cmp dil, 0xcc
je 0x140003026
cmp dil, 0xda
je 0x140003026
cmp dil, 0xdb
je 0x140003026
cmp dil, 0xd6
je 0x140003026
cmp dil, 0xd7
je 0x140003026
cmp dil, 0xd8
je 0x140003026
cmp dil, 0xd9
jne 0x140003032
mov rax, qword [0x140111488]
cmp ebx, dword [rax + 0x3c]
jge 0x140003092
test r15, r15
je 0x140003050
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
xor edi, edi
mov qword [r13 + 0xa0], rdi
mov r14d, dword [rsp + 0x70]
jmp 0x140003052
xor edi, edi
cmp r14d, 0x41b
mov r12d, dword [rbp + 0x1410]
mov r15d, dword [rsp + 0x44]
movzx r13d, byte [rbp + 0x1420]
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
jne 0x140001c7d
mov rdi, qword [rbp - 0x48]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400026db
mov byte [rsp + 0x44], 1
cmp r14d, 0x402
je 0x140003116
cmp r14d, 0x413
jbe 0x1400030cc
cmp r14d, 0x415
jbe 0x140003160
cmp r14d, 0x41a
jbe 0x1400030cc
cmp r14d, 0x41e
jbe 0x140003160
mov rax, qword [0x140118cb0]
mov qword [0x140118cb8], rax
mov eax, dword [0x140118d54]
mov dword [0x140118d58], eax
cmp r14d, 0x401
jne 0x1400030f9
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
jmp 0x140003101
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x20]
mov qword [0x140118cb0], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140118d54], eax
jmp 0x140003160
mov r8d, 0x104
mov rdx, qword [r12]
lea rcx, [0x140118898]
call fcn.1400cbfa4
xor r13d, r13d
mov word [0x140118aa0], r13w
mov rdx, qword [r12 + 0x20]
mov r8d, 0x104
mov rdx, qword [rdx]
lea rcx, [0x140118aa2]
call fcn.1400cbfa4
mov word [0x140118caa], r13w
mov qword [0x140118890], r12
xor r8d, r8d
mov r14d, 1
mov edx, r14d
mov rcx, qword [0x140117318]
call fcn.140001820
lea r8d, [r14 + 0x7e]
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.1400cbfa4
xor r12d, r12d
mov word [rbp + 0x2ee], r12w
movzx r9d, dil
movzx r8d, r14b
xor edx, edx
mov ecx, ebx
call fcn.1400048d0
mov r13, qword [0x140111488]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140118dac], eax
mov dword [0x140118da8], eax
mov eax, dword [rsp + 0x70]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x1400031eb.1032
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x40e4]
mov ecx, dword [rdx + rax*4 + 0x40c4]
add rcx, rdx
jmp rcx
xor r8d, r8d
mov word [rbp + 8], r8w
mov rbx, qword [rbp - 0x68]
mov r14, qword [rsp + 0x60]
cmp byte [rbp + 0x1428], r8b
je 0x14000320c
mov rcx, qword [rbx]
jmp 0x140003210
mov rcx, qword [r14 + 8]
movsxd r12, dword [rsp + 0x4c]
mov rax, r12
shl rax, 5
inc r12d
mov dword [rsp + 0x4c], r12d
mov r9d, 1
mov dword [rbp + rax + 0xc0], r9d
mov qword [rbp + rax + 0xb0], rcx
mov edi, dword [rsp + 0x54]
cmp edi, 5
je 0x1400035d3
jbe 0x1400034a7
cmp edi, 8
jbe 0x140003425
cmp edi, 9
jne 0x1400034a7
mov ecx, 3
mov rdx, qword [rsp + 0x58]
test rdx, rdx
cmovne ecx, r9d
mov dword [r13 + 0x44], ecx
mov qword [rsp + 0x58], r8
mov rax, qword [rbp - 0x74]
mov qword [r13 + 0x50], rax
test rbx, rbx
je 0x140003323
cmp ecx, r9d
jne 0x14000329f
lea rdx, [r13 + 0x50]
mov rcx, rbx
call fcn.14009db90
lea r9d, [rdi - 8]
movzx ecx, byte [rbx + 8]
sub ecx, 9
je 0x140003306
dec ecx
je 0x1400032fb
dec ecx
jne 0x140003323
mov rcx, qword [rbx]
cmp dword [r13 + 0x44], 1
jne 0x1400032d0
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, eax
jmp 0x14000331e
mov rax, qword [rbp - 0x74]
mov qword [rbp + 0x40], rax
lea rdx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
lea r9, [rbp + 0x40]
xor r8d, r8d
mov edx, 0x1111
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, eax
jmp 0x14000331e
or r8, 0xffffffffffffffff
mov edx, 0x100c
jmp 0x140003311
xor r9d, r9d
xor r8d, r8d
mov edx, OleCreatePictureIndirect
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SendMessageW]
inc eax
cdqe
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x180]
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rbp + 0x180]
sub dword [r13 + 0x50], edx
mov eax, dword [rbp + 0x184]
sub dword [r13 + 0x54], eax
mov r9d, 1
test rbx, rbx
je 0x140003375
movsxd rcx, r12d
shl rcx, 5
inc r12d
mov rax, qword [rbx]
mov dword [rbp + rcx + 0xc0], r9d
mov qword [rbp + rcx + 0xb0], rax
xor r8d, r8d
jmp 0x140003399
movsxd rax, r12d
shl rax, 5
inc r12d
xor r8d, r8d
mov dword [rbp + rax + 0xc0], r8d
lea rcx, [0x1400e146c]
mov qword [rbp + rax + 0xb0], rcx
movsxd rax, r12d
shl rax, 5
inc r12d
mov dword [rbp + rax + 0xc0], r9d
mov rdx, qword [rsp + 0x58]
mov qword [rbp + rax + 0xb0], rdx
movsxd rcx, r12d
shl rcx, 5
inc r12d
mov eax, r8d
cmp dword [r13 + 0x44], 3
sete al
mov dword [rbp + rcx + 0xc0], r9d
cdqe
mov qword [rbp + rcx + 0xb0], rax
movsxd rcx, r12d
shl rcx, 5
inc r12d
movsxd rax, dword [r13 + 0x50]
mov dword [rbp + rcx + 0xc0], r9d
mov qword [rbp + rcx + 0xb0], rax
movsxd rcx, r12d
shl rcx, 5
inc r12d
mov dword [rsp + 0x4c], r12d
movsxd rax, dword [r13 + 0x54]
mov dword [rbp + rcx + 0xc0], r9d
mov qword [rbp + rcx + 0xb0], rax
jmp 0x14000372a
mov dword [r13 + 0x44], r9d
cmp edi, 8
jne 0x14000372e
mov ecx, dword [rbp - 0x34]
mov dword [r13 + 0x50], ecx
movsxd rax, r12d
shl rax, 5
inc r12d
mov dword [rbp + rax + 0xc0], r9d
mov rdx, qword [rsp + 0x58]
mov qword [rbp + rax + 0xb0], rdx
movsxd rdi, r12d
shl rdi, 5
inc r12d
movzx eax, cx
cmp byte [r14 + 0x108], r8b
je 0x14000348b
mov r8d, dword [0x1401181bc]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [rbp - 0x34]
mov r9d, 1
mov dword [rbp + rdi + 0xc0], r9d
cdqe
mov qword [rbp + rdi + 0xb0], rax
mov eax, ecx
shr eax, 0x10
jmp 0x1400036e2
movzx eax, byte [rbx + 8]
cmp al, 0xa
je 0x1400034f4
cmp al, 0x19
jne 0x140003569
mov rax, qword [rbp - 0x74]
mov qword [r13 + 0x50], rax
lea rdx, [rbp + 0x170]
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rbp + 0x170]
sub dword [r13 + 0x50], edx
mov eax, dword [rbp + 0x174]
sub dword [r13 + 0x54], eax
xor r8d, r8d
lea r9d, [r8 + 1]
lea rdx, [0x140000000]
jmp 0x140003569
cmp dil, 0x49
jne 0x140003569
lea rax, [rbp + 8]
bt edi, 8
jae 0x14000350b
mov eax, 0x53
jmp 0x140003516
bt edi, 9
jae 0x14000351e
mov eax, reloc.WSOCK32.dll_WSAStartup
mov word [rbp + 8], ax
lea rax, [rbp + 0xa]
bt edi, 0xa
jae 0x14000352b
mov ecx, 0x46
jmp 0x140003536
bt edi, 0xb
jae 0x14000353d
mov ecx, 0x66
mov word [rax], cx
add rax, 2
bt edi, 0xc
jae 0x14000354a
mov ecx, 0x43
jmp 0x140003555
bt edi, 0xd
jae 0x14000355c
mov ecx, 0x63
mov word [rax], cx
add rax, 2
mov word [rax], r8w
mov edi, 0x49
mov dword [rsp + 0x54], edi
mov dword [r13 + 0x44], edi
movsxd rcx, r12d
shl rcx, 5
inc r12d
cmp edi, 5
jae 0x140003588
mov eax, edi
mov rdx, qword [rdx + rax*8 + 0x113788]
jmp 0x14000359a
movzx eax, dil
mov word [0x140119d6c], ax
lea rdx, [0x140119d6c]
mov dword [rbp + rcx + 0xc0], r8d
mov qword [rbp + rcx + 0xb0], rdx
movsxd rax, r12d
shl rax, 5
inc r12d
mov dword [rsp + 0x4c], r12d
mov dword [rbp + rax + 0xc0], r9d
mov rcx, qword [rsp + 0x58]
mov qword [rbp + rax + 0xb0], rcx
jmp 0x140003733
mov dword [r13 + 0x44], 5
mov rax, qword [rbp - 0x74]
mov qword [r13 + 0x50], rax
lea rdx, [rbp + 0x190]
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rbp + 0x190]
sub dword [r13 + 0x50], edx
mov eax, dword [rbp + 0x194]
sub dword [r13 + 0x54], eax
mov edx, 0xffffffec
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffffffef
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
movsxd rdi, r12d
shl rdi, 5
inc r12d
mov rcx, r15
call fcn.14008e320
mov dword [rbp + rdi + 0xc0], 6
mov qword [rbp + rdi + 0xb0], rax
test rbx, rbx
je 0x140003678
movsxd rcx, r12d
shl rcx, 5
inc r12d
mov rax, qword [rbx]
mov dword [rbp + rcx + 0xc0], 1
mov qword [rbp + rcx + 0xb0], rax
jmp 0x14000369a
movsxd rax, r12d
shl rax, 5
inc r12d
xor edx, edx
mov dword [rbp + rax + 0xc0], edx
lea rcx, [0x1400e146c]
mov qword [rbp + rax + 0xb0], rcx
movsxd rdi, r12d
shl rdi, 5
inc r12d
mov eax, dword [r13 + 0x50]
cmp byte [r14 + 0x108], 0
je 0x1400036c6
mov r8d, dword [0x1401181bc]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r9d, 1
mov dword [rbp + rdi + 0xc0], r9d
cdqe
mov qword [rbp + rdi + 0xb0], rax
mov eax, dword [r13 + 0x54]
movsxd rdi, r12d
shl rdi, 5
inc r12d
cmp byte [r14 + 0x108], 0
mov dword [rsp + 0x4c], r12d
je 0x140003715
mov r8d, dword [0x1401181bc]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r9d, 1
cdqe
xor r8d, r8d
mov qword [rbp + rdi + 0xb0], rax
mov dword [rbp + rdi + 0xc0], r9d
mov edi, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
cmp byte [rbp + 0x1428], 0
je 0x140003800
cmp byte [rbx + 8], 0x17
jne 0x140003800
xor edx, edx
mov r8d, 0x10b8
lea rcx, [rbp + 0x2f0]
call fcn.1400cef60
mov dword [rbp + 0x2f0], SafeArrayGetElemsize
mov rax, qword [rsp + 0x58]
dec eax
mov dword [rbp + 0x2f4], eax
lea r9, [rbp + 0x2f0]
xor r8d, r8d
mov edx, 0x703
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140003b1d
lea rdx, [rbp + 0x360]
lea rax, [rbp + 0x300]
cmp word [rbp + 0x360], 0
cmove rdx, rax
mov byte [rsp + 0x20], 1
xor r9d, r9d
or r8, 0xffffffffffffffff
mov rcx, qword [0x140117318]
call fcn.1400afa10
movsxd rdi, r12d
shl rdi, 5
inc r12d
mov dword [rsp + 0x4c], r12d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [0x140117318]
call fcn.140001820
xor ecx, ecx
mov dword [rbp + rdi + 0xc0], ecx
mov qword [rbp + rdi + 0xb0], rax
jmp 0x140003b1f
cmp word [rbp + 8], 0
je 0x14000382a
movsxd rax, r12d
shl rax, 5
inc r12d
mov dword [rsp + 0x4c], r12d
mov dword [rbp + rax + 0xc0], r8d
lea rdx, [rbp + 8]
mov qword [rbp + rax + 0xb0], rdx
cmp edi, 8
je 0x140003b04
cmp edi, 5
je 0x140003b04
mov rbx, qword [0x140117318]
movzx edx, byte [rbx + 0x23]
test dl, dl
jne 0x140003869
mov byte [rsp + 0x20], 1
xor r9d, r9d
or r8, 0xffffffffffffffff
lea rdx, [rbp + 8]
mov rcx, qword [rbx + 0x10]
call fcn.1400afa10
jmp 0x140003b1d
lea rax, [rbp + 8]
cmp qword [rbx + 8], rax
jne 0x14000387c
mov r12, qword [rbx + 0x10]
shr r12, 1
jmp 0x140003892
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 8]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r12, rcx
lea rax, [r12 + 1]
lea rdi, [rax + rax]
cmp dl, 2
jne 0x1400038b1
mov rdx, r12
lea rcx, [rbp + 8]
call fcn.140006020
jmp 0x140003b18
mov r9, qword [0x140111460]
cmp rdi, r9
jbe 0x1400038e2
cmp rdi, qword [rbx + 0x18]
jbe 0x1400038e2
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea r8, [0x1400e146c]
lea rcx, [0x1401181e0]
call fcn.14003ffa0
jmp 0x140003b18
cmp rax, 2
jae 0x1400038fc
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, rbx
call fcn.1400b00c0
jmp 0x140003b18
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140003919
and al, 0x3d
mov byte [rbx + 0x21], al
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r9, qword [0x140111460]
and byte [rbx + 0x21], 0x82
mov r8, qword [rbx + 0x18]
cmp rdi, r8
jbe 0x140003ad6
movzx ecx, byte [rbx + 0x20]
movzx eax, cl
cmp cl, 1
jbe 0x140003943
cmp al, 2
je 0x14000398c
mov rax, qword [rbp + 0x38]
jmp 0x140003a91
cmp rdi, 0x80
ja 0x14000398c
cmp rdi, 8
ja 0x140003959
mov eax, 8
jmp 0x14000396a
mov eax, 0x80
cmp rdi, 0x10
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
cmovbe eax, ecx
mov qword [rbp - 0x28], rax
mov rcx, rax
call fcn.1400a8cb0
mov qword [rbp + 0x38], rax
test rax, rax
je 0x140003b18
mov byte [rbx + 0x20], 1
jmp 0x140003a91
cmp rdi, 0x20
jae 0x14000399d
mov r10d, SafeArrayAllocDescriptor
jmp 0x140003a4d
cmp rdi, 0x208
jae 0x1400039b1
mov r10d, 0x208
jmp 0x140003a4d
cmp rdi, 0x50000
jae 0x140003a09
pxor xmm0, xmm0
cvtsi2sd xmm0, rdi
test rdi, rdi
jns 0x1400039cc
addsd xmm0, xmm7
mulsd xmm0, qword [0x1400ffd90]
xor eax, eax
comisd xmm0, xmmword [0x1400ffd88]
jbe 0x1400039ff
subsd xmm0, qword [0x1400ffd88]
comisd xmm0, xmmword [0x1400ffd88]
jae 0x1400039ff
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si r10, xmm0
add r10, rax
jmp 0x140003a4d
cmp rdi, 0x320000
jae 0x140003a1b
lea r10, [rdi + 0x8000]
jmp 0x140003a4d
cmp rdi, 0xc80000
jae 0x140003a46
mov r10, rdi
movabs rax, 0x47ae147ae147ae15
mul rdi
sub r10, rdx
shr r10, 1
add r10, rdx
shr r10, 6
add r10, rdi
jmp 0x140003a4d
lea r10, [rdi + 0x20000]
cmp r10, r9
cmova r10, r9
mov qword [rbp - 0x28], r10
cmp cl, 2
jne 0x140003a74
test r8, r8
je 0x140003a74
mov dil, 1
mov rcx, qword [rbx + 8]
call fcn.1400c98d0
mov r10, qword [rbp - 0x28]
jmp 0x140003a77
xor dil, dil
test r10, r10
js 0x140003aa3
mov rcx, r10
call fcn.1400c8e34
mov qword [rbp + 0x38], rax
test rax, rax
je 0x140003aa3
mov byte [rbx + 0x20], 2
mov qword [rbx + 8], rax
mov rax, qword [rbp - 0x28]
mov qword [rbx + 0x18], rax
and byte [rbx + 0x21], 0x7f
jmp 0x140003ad6
test dil, dil
je 0x140003abb
xor eax, eax
mov qword [rbx + 0x18], rax
lea rcx, [0x140118198]
mov qword [rbx + 8], rcx
jmp 0x140003ac6
mov rax, qword [rbx + 8]
xor edx, edx
mov word [rax], dx
xor eax, eax
mov qword [rbx + 0x10], rax
lea rdx, str.Out_of_memory.
jmp 0x1400038ca
mov rcx, qword [rbx + 8]
lea rax, [rbp + 8]
cmp rcx, rax
je 0x140003af0
lea r8, [r12 + r12]
lea rdx, [rbp + 8]
call fcn.1400c9a90
lea rcx, [r12 + r12]
mov rax, qword [rbx + 8]
xor edx, edx
mov word [rcx + rax], dx
mov qword [rbx + 0x10], rcx
jmp 0x140003b18
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rdx, rcx
mov rcx, qword [0x140117318]
call fcn.140001090
jmp 0x140003b1d
mov r12d, dword [rsp + 0x4c]
xor ecx, ecx
mov rax, qword [r14 + 8]
mov qword [r13 + 0xf8], rax
add dword [r14 + 0x34], 2
mov qword [r13 + 0x60], r14
mov qword [r13 + 0x58], r14
mov eax, dword [rbp - 0x38]
mov dword [r13 + 0x70], eax
mov rax, qword [rsp + 0x58]
mov qword [r13 + 0x48], rax
mov rbx, qword [rbp - 0x20]
movzx r14d, byte [rbp + 0x1428]
test rbx, rbx
je 0x140003b5d
mov byte [rbx], 1
jmp 0x140003b6c
test r14b, r14b
je 0x140003b6c
mov rdi, qword [rbp - 0x68]
or byte [rdi + 9], 4
jmp 0x140003b70
mov rdi, qword [rbp - 0x68]
mov dword [rsp + 0x30], ecx
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
lea r9, [rbp + 0xb0]
lea r8, [0x1400e14f0]
mov rdx, rsi
mov rcx, rsi
call fcn.1400a1c60
mov r13, qword [rsp + 0x60]
cmp qword [r13 + 8], 0
je 0x140003c3c
mov edx, dword [rsp + 0x54]
test rbx, rbx
je 0x140003bed
mov byte [rbx], 0
cmp edx, 6
jne 0x140003bf6
cmp qword [rbp + 0xa0], 0
jne 0x140003c3c
mov rcx, rsi
call fcn.1400a6310
test eax, eax
jne 0x140003bda
test rsi, rsi
jne 0x140003c3c
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x140003c3c
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140003c3c
test r14b, r14b
je 0x140003bf6
and byte [rdi + 9], 0xfb
cmp edx, 5
jne 0x140003c3c
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
xor eax, eax
mov qword [r13 + 0xa0], rax
lea edx, [rax - 0x14]
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x10
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0xffffffff
add dword [r13 + 0x34], eax
jne 0x140003f15
mov rcx, qword [r13]
call fcn.1400c98d0
mov rcx, r13
call fcn.1400c98c8
jmp 0x140003f15
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140003c84
mov rax, qword [rdx + 8]
mov qword [r13 + 0xf8], rax
mov dword [r13 + 0x44], r14d
add dword [rdx + 0x34], 2
mov qword [r13 + 0x60], rdx
mov qword [r13 + 0x58], rdx
xor edi, edi
mov dword [rbp + 0x50], edi
lea rax, [0x140118898]
mov qword [rbp + 0x40], rax
lea rcx, [0x1401181e0]
call fcn.14006a170
lea ecx, [rax + 1]
mov dword [rbp + 0x70], r14d
mov qword [rbp + 0x60], rcx
mov dword [rbp + 0x90], edi
lea rax, [0x140118aa2]
mov qword [rbp + 0x80], rax
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x40]
lea r8, [0x1400e14f0]
mov rdx, rsi
mov rcx, rsi
call fcn.1400a1c60
mov r13, qword [rsp + 0x60]
test r13, r13
je 0x140003f17
or eax, 0xffffffff
add dword [r13 + 0x34], eax
jne 0x140003f17
mov rcx, qword [r13]
call fcn.1400c98d0
mov rcx, r13
call fcn.1400c98c8
jmp 0x140003f17
mov rax, qword [rbp - 0x58]
mov qword [r13 + 0xf8], rax
mov rcx, qword [rbp + 0x30]
movzx eax, byte [rcx + 0x35]
mov byte [r13 + 0x136], al
call fcn.140011cd0
jmp 0x140003f15
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x140003d71
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140003d6a
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140003d6a
mov eax, 2
xor edi, edi
jmp 0x140003d75
mov eax, r14d
xor edi, edi
jmp 0x140003d75
xor edi, edi
mov eax, edi
movsxd rdx, eax
mov qword [r13 + 0x48], rdx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, qword [0x140117318]
call fcn.140001090
mov dword [rbp + 0x50], r14d
mov rax, qword [r13 + 0x48]
mov qword [rbp + 0x40], rax
mov byte [0x140118d20], r14b
mov rax, qword [0x140118d08]
test rax, rax
je 0x140003db9
mov rcx, rax
call fcn.1400a62c0
mov rax, qword [0x140118d08]
cmp qword [rsp + 0x78], r12
jne 0x140003ddd
mov r9d, edi
test rax, rax
sete r9b
mov r8d, r14d
lea rdx, [rbp + 0x40]
lea rcx, [0x140118cd8]
call fcn.1400a6490
mov byte [0x140118d20], r12b
jmp 0x140003f17
mov dword [rbp + 0x50], 6
mov rdi, qword [rbp - 0x48]
mov rax, qword [rdi + 0x10]
mov qword [rbp + 0x40], rax
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x40]
lea r8, [0x1400e14f0]
mov rdx, rsi
mov rcx, rsi
call fcn.1400a1c60
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140003f15
mov rax, qword [rbp - 0x48]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x70], r14d
mov rcx, qword [rbp - 0x80]
movzx eax, cl
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x90], r14d
sar rcx, 0x10
movzx eax, cx
mov qword [rbp + 0x80], rax
xor edi, edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x40]
mov dword [rbp + 0x50], 6
lea r8, [0x1400e14f0]
mov rdx, rsi
mov rcx, rsi
call fcn.1400a1c60
jmp 0x140003f17
mov rax, qword [rbp - 0x80]
mov word [rbp - 0x30], ax
sar rax, 0x10
mov word [rbp - 0x2e], ax
xor edi, edi
mov word [rbp - 0x2c], di
mov rax, qword [rbp - 0x48]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x70], edi
lea rax, [rbp - 0x30]
mov qword [rbp + 0x60], rax
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 2
lea r9, [rbp + 0x40]
jmp 0x140003e77
mov rsi, qword [rbp - 0x18]
movzx eax, byte [rsi + 0x10]
cmp al, 0x9c
jb 0x140003ef0
cmp al, 0x9f
ja 0x140003ef0
mov eax, dword [rbp - 0x80]
mov qword [r13 + 0x48], rax
mov rax, qword [rbp - 0x58]
mov qword [r13 + 0xf8], rax
mov rdi, qword [rbp - 0x40]
movzx eax, byte [rdi + 0x24]
mov byte [r13 + 0x136], al
mov rdx, rdi
mov rcx, rsi
call fcn.14000d650
xor edi, edi
lea rcx, [rbp + 0x1f0]
call fcn.140004a20
cmp qword [rbp + 0x28], 0
mov r12d, dword [rbp + 0x1410]
mov r15d, dword [rsp + 0x44]
movzx r13d, byte [rbp + 0x1420]
mov r14d, dword [rsp + 0x40]
movzx esi, byte [rbp + 0x1418]
je 0x140001c7d
movzx r8d, r13b
mov edx, dword [rbp - 0x60]
mov ecx, r12d
call fcn.140004110
test eax, eax
je 0x140001c7d
mov sil, 1
mov byte [rbp + 0x1418], sil
movzx r13d, sil
mov byte [rbp + 0x1420], sil
jmp 0x140001c7d
cmp r12d, 0xffffffff
jle 0x140003f92
mov qword [0x140118d98], rdi
mov dword [0x140118da8], eax
mov dword [0x140118dac], eax
movzx eax, byte [0x140116937]
cmp byte [rsp + 0x49], 0
cmovne eax, edi
mov byte [0x140116937], al
cmp byte [rsp + 0x48], 0
je 0x140004068
mov eax, dword [0x140116944]
dec eax
mov dword [0x140116944], eax
test r12d, r12d
jle 0x140004068
test eax, eax
jne 0x140004068
cmp dword [0x140118d3c], eax
jne 0x140004068
cmp dword [0x1401173b8], eax
jne 0x140004068
cmp byte [0x140116931], al
jmp 0x140004042
movzx eax, byte [0x140116937]
cmp byte [rsp + 0x49], 0
mov edi, 0
cmovne eax, edi
mov byte [0x140116937], al
cmp byte [rsp + 0x48], dil
je 0x140004068
mov eax, dword [0x140116944]
dec eax
mov dword [0x140116944], eax
test r12d, r12d
jle 0x140004068
test eax, eax
jne 0x140004068
cmp dword [0x140118d3c], edi
jne 0x140004068
cmp dword [0x1401173b8], edi
jne 0x140004068
cmp byte [0x140116931], dil
je 0x140004068
mov edx, 9
mov rcx, qword [0x1401167a8]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140116931]
test eax, eax
cmovne ecx, edi
mov byte [0x140116931], cl
movzx eax, r15b
movaps xmm7, xmmword [rsp + 0x14b0]
add rsp, 0x14c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret