Function at 0x140001880
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 + 0x10], edx
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.1400ddd60
sub rsp, rax
mov byte [rsp + 0x49], 0
mov ebx, edx
mov r15d, ecx
mov r14d, 1
cmp edx, 2
jne 0x1400018da
cmp byte [0x140115543], 0
mov ebx, r14d
mov dword [rbp + 0x13e8], ebx
jne 0x1400018da
mov byte [0x140115543], bl
mov byte [rsp + 0x49], bl
xor esi, esi
cmp dword [0x14011989c], esi
je 0x140001914
cmp qword [0x140119880], rsi
je 0x140001901
mov rcx, qword [0x140119870]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140119880], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x14011989c], esi
mov qword [0x140119870], rsi
cmp r15d, 0x8000012f
jne 0x140001936
mov r15d, 0xa
mov byte [rbp + 0x13f0], r14b
mov dword [rbp + 0x13e0], r15d
mov dword [rbp - 0x54], esi
jmp 0x140001953
cmp r15d, 5
setle al
mov byte [rbp + 0x13f0], al
jg 0x14000194a
mov dword [rbp - 0x54], esi
jmp 0x140001953
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x54], eax
cmp dword [0x1401166c0], esi
je 0x140001960
call fcn.140004720
xor dil, dil
cmp dword [0x14011977c], esi
mov dword [rbp - 0x58], edi
je 0x140001980
call fcn.1400043b0
test al, al
movzx edi, dil
cmovne edi, r14d
mov dword [rbp - 0x58], edi
test r15d, r15d
jle 0x1400019c2
cmp ebx, r14d
jne 0x1400019c2
inc dword [0x1401156ec]
cmp byte [0x140115542], sil
mov byte [rsp + 0x4a], r14b
jne 0x1400019c7
mov rcx, qword [0x1401156f0]
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x140115542]
jmp 0x1400019c7
mov byte [rsp + 0x4a], sil
mov edi, dword [rbp + 0x13e0]
mov r14, qword [rbp + 0x13f0]
mov rbx, qword [rbp + 0x13f0]
mov r12, qword [rbp + 0x13f0]
mov r13, qword [rbp + 0x13f0]
movsxd rax, r15d
mov qword [rsp + 0x58], rax
mov rax, qword [rbp + 0x13f0]
mov qword [rbp - 0x60], rax
mov eax, dword [rbp + 0x13e0]
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x13e0]
mov dword [rbp - 0x20], eax
mov rax, qword [rbp + 0x13f0]
mov qword [rbp - 0x18], rax
movzx eax, byte [rbp + 0x13e0]
mov byte [rbp + 0x13f8], al
mov rax, qword [rbp + 0x13f0]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x13f0]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x13f0]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp + 0x13f0]
mov dword [rsp + 0x60], edi
mov edi, esi
mov qword [rbp - 0x38], rax
mov byte [rsp + 0x64], sil
mov byte [rsp + 0x48], sil
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x50], r14
mov qword [rbp - 0x50], rbx
movzx r14d, byte [rbp + 0x13f0]
movsxd rbx, r15d
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
test rbx, rbx
jle 0x140001bb7
cmp byte [rsp + 0x48], 0
jne 0x140001bb7
cmp byte [0x140115543], 0
jne 0x140001bc4
cmp dword [0x140112054], 0
je 0x140001b6d
cmp dword [0x1401156a0], 0
jne 0x140001b6d
mov rcx, qword [0x140112060]
cmp byte [rcx + 0x12c], 0
jne 0x140001b07
cmp byte [rcx + 0x12e], 0
jne 0x140001b07
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001b07
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140112060]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001b07
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
jmp 0x140001b6f
mov r15d, dword [rbp + 0x13e0]
mov edi, dword [rsp + 0x40]
jmp 0x140001a80
mov r15d, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
jmp 0x140001a80
mov r15d, dword [rbp + 0x13e0]
jmp 0x140001a80
mov r15d, dword [rbp + 0x13e0]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x40]
jmp 0x140001a80
mov r15d, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
mov edi, dword [rsp + 0x40]
jmp 0x140001a80
xor eax, eax
test eax, eax
lea rcx, [rsp + 0x70]
mov eax, 0
mov r9d, 0x311
cmovne r9d, eax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x140001a80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x140001ebc
mov dword [0x1401197e8], eax
jmp 0x140001ebc
cmp byte [0x140115543], 0
je 0x140001d87
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140001d87
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140117b88]
jne 0x140001d87
cmp dword [0x1401156e8], 0
je 0x140001c37
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 ecx, edi
lea r8, str.32770
nop
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140001c39
cmp rcx, 7
jne 0x140001c20
jmp 0x140001c92
xor edi, edi
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x140001d87
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x190]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, str.SysTreeView32
lea rcx, [rbp + 0x190]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140001c92
lea rdx, str.SysListView32
lea rcx, [rbp + 0x190]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140001d87
cmp dword [0x140112054], 0
je 0x140001cf1
cmp dword [0x1401156a0], 0
jne 0x140001cf1
mov rcx, qword [0x140112060]
cmp byte [rcx + 0x12c], 0
jne 0x140001ce8
cmp byte [rcx + 0x12e], 0
jne 0x140001ce8
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001ce8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140112060]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001ce8
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
jmp 0x140001cf3
mov eax, edi
test eax, eax
mov dword [rsp + 0x20], edi
mov eax, 0xffffffff
lea rcx, [rsp + 0x70]
mov ebx, 0x311
mov r9d, 0x1ff
cmovne ebx, eax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r9d, ebx
mov r8d, 0x20e
test eax, eax
je 0x140001e02
mov edi, dword [rbp - 0x70]
xor eax, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001d52
mov r9d, 0x1ff
jmp 0x140001df8
mov eax, dword [rbp - 0x70]
lea rcx, [rsp + 0x70]
sub eax, edi
xor edx, edx
test eax, eax
mov eax, 1
mov dword [rsp + 0x20], eax
jle 0x140001d79
mov r9d, 0x1ff
xor r8d, r8d
jmp 0x140001e0b
mov r9d, ebx
mov r8d, 0x20e
jmp 0x140001e0b
cmp dword [0x140112054], 0
je 0x140001de8
cmp dword [0x1401156a0], 0
jne 0x140001de8
mov rcx, qword [0x140112060]
cmp byte [rcx + 0x12c], 0
jne 0x140001ddd
cmp byte [rcx + 0x12e], 0
jne 0x140001ddd
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001ddd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140112060]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001ddd
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
xor edi, edi
jmp 0x140001dec
xor edi, edi
mov eax, edi
test eax, eax
mov r9d, 0x311
cmovne r9d, edi
xor r8d, r8d
lea rcx, [rsp + 0x70]
xor edx, edx
mov eax, 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001eb5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1401197e8]
mov ecx, eax
sub ecx, esi
movsxd rbx, r15d
cmp ecx, 3
cmova edx, eax
mov dword [0x1401197e8], edx
test r15d, r15d
jne 0x140001e5a
cmp byte [rsp + 0x64], r15b
jne 0x140001e5a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [rsp + 0x40]
mov byte [rsp + 0x64], 1
jmp 0x140001a80
mov edi, dword [rsp + 0x40]
test edi, edi
jne 0x140001e85
test r14b, r14b
je 0x140001e85
test r15d, r15d
jle 0x140001e75
lea ecx, [rdi + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov edi, eax
mov dword [rsp + 0x40], eax
jmp 0x140001a80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x140004246
mov ecx, dword [rbp - 0x54]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jle 0x140004246
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001a80
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
inc edi
cmp dword [0x140118be8], 0
mov dword [rsp + 0x40], edi
je 0x140001eff
mov r9, qword [rbp - 0x78]
lea rax, [rbp + 0x180]
mov r8, qword [rbp - 0x80]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.140004830
test al, al
jne 0x140001a80
mov r8d, dword [0x1401156cc]
mov r11d, dword [rsp + 0x78]
test r8d, r8d
je 0x14000273d
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14000273d
cmp rax, qword [0x1401156f0]
je 0x14000273d
cmp r11d, 0x414
je 0x14000273d
cmp r11d, 0x402
je 0x14000273d
lea eax, [r11 - 0x100]
cmp eax, 9
ja 0x1400024ca
call qword [sym.imp.USER32.dll_GetFocus]
mov rsi, rax
test rax, rax
je 0x1400024be
mov edx, 0xfffffff0
mov rcx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140001fb8
mov rcx, rdi
mov rbx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
je 0x140001fac
mov edx, 0xfffffff0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jb 0x140001f82
jmp 0x140001fb8
mov rdi, rbx
test rbx, rbx
je 0x1400024be
mov rbx, rsi
nop dword [rax + rax]
mov r8d, dword [0x1401156cc]
xor eax, eax
mov ecx, eax
test r8d, r8d
jle 0x140001ffc
mov rax, qword [0x1401156e0]
nop word [rax + rax]
mov r12, qword [rax]
cmp qword [r12 + 8], rbx
je 0x140001ff7
inc ecx
add rax, 8
cmp ecx, r8d
jl 0x140001fe0
jmp 0x140001ffc
test r12, r12
jne 0x140002037
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140002021
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x140001fc0
mov r11d, dword [rsp + 0x78]
xor esi, esi
mov r8d, dword [0x1401156cc]
mov r12d, esi
jmp 0x1400024cc
mov rdx, qword [r12 + 0xb8]
test rdx, rdx
je 0x140002068
lea r8, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
test eax, eax
jne 0x140001a80
mov r8d, dword [0x1401156cc]
mov r11d, dword [rsp + 0x78]
mov r10, qword [rbp - 0x80]
cmp r11d, 0x100
jne 0x14000245f
cmp byte [r12 + 0x108], 0
je 0x1400022e1
cmp r10, 0x27
ja 0x1400022e1
movabs rax, 0xa600000200
bt rax, r10
jae 0x1400022e1
mov rcx, rsi
mov rdi, rsi
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [r12 + 0x20]
jb 0x1400020e9
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
je 0x1400020de
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [r12 + 0x20]
jae 0x1400022bd
mov eax, ebx
imul r14, rax, 0x58
add r14, qword [r12 + 0x28]
mov qword [rbp - 0x60], r14
cmp qword [r14], rdi
jne 0x1400022bd
mov eax, 0x2af8
cmp ebx, eax
je 0x1400022bd
xor edi, edi
test r14, r14
je 0x1400022c3
movzx eax, byte [r14 + 8]
cmp al, 0xf
je 0x1400022c3
mov r10, qword [rbp - 0x80]
mov ebx, edi
cmp al, 0x13
jne 0x14000216e
lea rax, [r10 - 0x25]
mov rbx, r14
test rax, 0xfffffffffffffffd
jne 0x14000216e
cmp r10, 0x27
mov byte [rsp + 0x20], dil
mov rdx, r14
sete r8b
xor r9d, r9d
mov rcx, r12
call fcn.1400a4ff0
movzx r14d, byte [rbp + 0x13f0]
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
jmp 0x140001a80
lea rax, [r10 - 0x25]
test rax, 0xfffffffffffffffd
je 0x1400022c7
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1400022c3
mov r10, qword [rbp - 0x80]
cmp r10, 9
jne 0x1400021be
cmp byte [r14 + 8], 0xc
jne 0x1400021be
mov rcx, qword [r14]
lea edx, [r10 - 0x19]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x1400022c3
mov r10, qword [rbp - 0x80]
test rbx, rbx
jne 0x140002265
movzx r11d, byte [r14 + 0xa]
cmp r11b, 0xff
je 0x14000221e
mov r9d, dword [r12 + 0x20]
xor r8b, r8b
mov edx, edi
test r9d, r9d
je 0x14000221e
mov rdi, qword [r12 + 0x28]
nop word [rax + rax]
mov eax, edx
imul rbx, rax, 0x58
add rbx, rdi
cmp byte [rbx + 8], 0x13
jne 0x140002207
cmp r8b, r11b
je 0x140002217
inc r8b
inc edx
cmp edx, r9d
jb 0x1400021f0
xor r8b, r8b
xor edi, edi
mov edx, edi
jmp 0x140002231
test rbx, rbx
jne 0x140002265
xor edi, edi
mov r9d, dword [r12 + 0x20]
xor r8b, r8b
mov edx, edi
test r9d, r9d
je 0x1400022c7
mov r11, qword [r12 + 0x28]
nop word [rax + rax]
mov eax, edx
imul rbx, rax, 0x58
add rbx, r11
cmp byte [rbx + 8], 0x13
jne 0x140002257
test r8b, r8b
je 0x140002260
inc r8b
inc edx
cmp edx, r9d
jb 0x140002240
jmp 0x1400022c7
test rbx, rbx
je 0x1400022c7
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1400022b9
mov rax, qword [rbp - 0x80]
cmp rax, 0x22
je 0x1400022a5
cmp rax, 9
jne 0x140002292
lea ecx, [rax + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1400022a5
xor r8d, r8d
mov byte [rsp + 0x20], 1
mov r9b, 1
mov rdx, rbx
jmp 0x140002152
mov r8b, 1
mov rdx, rbx
mov byte [rsp + 0x20], r8b
movzx r9d, r8b
jmp 0x140002152
xor edi, edi
jmp 0x1400022c3
xor edi, edi
mov qword [rbp - 0x60], rdi
mov r10, qword [rbp - 0x80]
mov r11d, dword [rsp + 0x78]
mov r8d, dword [0x1401156cc]
cmp r11d, 0x100
je 0x1400022e3
jmp 0x14000245f
xor edi, edi
cmp r10, 0x1b
je 0x140002325
cmp r10, 9
je 0x140002325
cmp r10, 0x41
jne 0x14000245f
lea ecx, [r10 - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
je 0x14000244f
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x14000244f
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [r12 + 0x20]
jb 0x140002360
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
mov rsi, rax
test rax, rax
je 0x140002355
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [r12 + 0x20]
jae 0x14000244b
mov ecx, ebx
imul r14, rcx, 0x58
add r14, qword [r12 + 0x28]
mov qword [rbp - 0x60], r14
mov rcx, qword [r14]
cmp rcx, rsi
jne 0x14000244b
mov eax, 0x2af8
cmp ebx, eax
je 0x14000244b
test r14, r14
je 0x14000244f
cmp byte [r14 + 8], 0xc
jne 0x14000244f
mov r10, qword [rbp - 0x80]
cmp r10, 0x1b
je 0x140002412
movzx eax, byte [r14 + 9]
cmp r10, 0x41
je 0x1400023e5
test al, al
jns 0x140002453
lea r9, [0x1400e06f4]
mov edx, 0xc2
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rbp + 0x13f0]
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
jmp 0x140001a80
test al, 2
jne 0x140002453
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rbp + 0x13f0]
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
jmp 0x140001a80
cmp qword [r12 + 0x40], 0
movzx r14d, byte [rbp + 0x13f0]
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
je 0x140001a80
mov rcx, qword [r12 + 8]
xor r9d, r9d
mov edx, 0x414
mov r8d, 0x2af80007
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140001a78
mov qword [rbp - 0x60], rdi
mov r10, qword [rbp - 0x80]
mov r8d, dword [0x1401156cc]
mov r11d, dword [rsp + 0x78]
mov rcx, qword [0x140117b30]
test rcx, rcx
je 0x1400026af
cmp r11d, 0x100
jne 0x1400026af
cmp r10, 0xd
jne 0x1400024a7
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1116
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r14d, byte [rbp + 0x13f0]
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
jmp 0x140001a80
cmp r10, 0x1b
jne 0x1400026af
xor r9d, r9d
mov edx, 0x1116
jmp 0x1400023c5
mov r11d, dword [rsp + 0x78]
mov r8d, dword [0x1401156cc]
xor esi, esi
lea eax, [r11 - 0x20a]
test eax, 0xfffffffb
jne 0x1400026ab
mov rcx, qword [rbp - 0x6c]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rcx, rax
mov edx, 0xfffffff0
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.USER32.dll_GetParent]
mov r9d, dword [0x1401156cc]
mov edx, esi
test r9d, r9d
jle 0x140002534
mov rcx, qword [0x1401156e0]
nop dword [rax]
mov r8, qword [rcx]
cmp qword [r8 + 8], rax
je 0x1400025a2
inc edx
add rcx, 8
cmp edx, r9d
jl 0x140002520
mov rcx, qword [rsp + 0x70]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r9, qword [rbp - 0x80]
mov r8d, eax
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400017a0
test eax, eax
jne 0x14000269f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetParent]
mov r8d, dword [0x1401156cc]
mov edx, esi
test r8d, r8d
jle 0x14000259a
mov rcx, qword [0x1401156e0]
mov r12, qword [rcx]
cmp qword [r12 + 8], rax
je 0x140002610
inc edx
add rcx, 8
cmp edx, r8d
jl 0x140002581
mov r12, rsi
jmp 0x1400026a6
test r8, r8
je 0x140002534
cmp rbx, qword [rsp + 0x70]
jne 0x1400025d4
mov r9, qword [rbp - 0x80]
mov r8d, edi
mov edx, dword [rsp + 0x78]
mov rcx, rbx
call fcn.1400017a0
test eax, eax
jne 0x140002534
cmp rbx, qword [rsp + 0x70]
je 0x140002534
mov r9, qword [rbp - 0x80]
mov r8d, edi
mov edx, dword [rsp + 0x78]
mov rcx, rbx
call fcn.1400017a0
test eax, eax
je 0x140002534
mov r9, qword [rbp - 0x78]
mov rcx, rbx
mov r8, qword [rbp - 0x80]
mov edx, dword [rsp + 0x78]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
jmp 0x140001a80
test r12, r12
je 0x1400026a6
nop dword [rax]
mov r9, qword [rbp - 0x80]
mov r8d, dword [r12 + 0x64]
mov edx, dword [rsp + 0x78]
mov rcx, qword [r12 + 8]
call fcn.1400017a0
mov rcx, qword [r12 + 8]
test eax, eax
jne 0x140002681
call qword [sym.imp.USER32.dll_GetParent]
mov r8d, dword [0x1401156cc]
mov edx, esi
test r8d, r8d
jle 0x14000259a
mov rcx, qword [0x1401156e0]
nop
mov r12, qword [rcx]
cmp qword [r12 + 8], rax
je 0x14000267a
inc edx
add rcx, 8
cmp edx, r8d
jl 0x140002660
mov r12, rsi
jmp 0x1400026a6
test r12, r12
jne 0x140002620
jmp 0x1400026a6
mov r9, qword [rbp - 0x78]
mov r8, qword [rbp - 0x80]
mov edx, dword [rsp + 0x78]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
jmp 0x140001a80
mov r8d, dword [0x1401156cc]
mov r11d, dword [rsp + 0x78]
mov r10, qword [rbp - 0x80]
xor esi, esi
mov edi, esi
test r8d, r8d
jle 0x140002737
mov ebx, esi
nop word [rax + rax]
mov rdx, qword [0x1401156e0]
mov rax, qword [rdx + rbx]
cmp dword [rax + 0x20], esi
jne 0x1400026d9
cmp r11d, 0x106
je 0x140002726
mov rcx, qword [0x140112060]
mov byte [rcx + 0x128], 1
mov eax, dword [rsp + 0x78]
mov dword [rcx + 0x124], eax
mov rcx, qword [rdx + rbx]
lea rdx, [rsp + 0x70]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
mov rax, qword [0x140112060]
mov byte [rax + 0x128], sil
jne 0x14000215a
mov r11d, dword [rsp + 0x78]
mov r8d, dword [0x1401156cc]
inc edi
add rbx, 8
cmp edi, r8d
jl 0x1400026c0
mov edi, dword [rsp + 0x40]
jmp 0x14000273f
mov edi, dword [rsp + 0x40]
jmp 0x140002743
xor esi, esi
mov r10, qword [rbp - 0x80]
cmp r11d, 0x402
ja 0x140002a0a
je case.0x140002a2b.1044
cmp r11d, 0x113
ja 0x1400028f8
je 0x1400027d7
cmp r11d, 0x12
je 0x1400027bf
cmp r11d, 0x4b
je 0x1400027ae
cmp r11d, 0x100
jne case.0x140002a2b.1046
mov rax, qword [0x1401156b0]
cmp qword [rsp + 0x70], rax
jne case.0x140002a2b.1046
cmp r10, 0x1b
jne case.0x140002a2b.1046
mov rcx, qword [0x1401156f0]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140001a70
mov qword [0x1401156b8], rsi
mov byte [rsp + 0x48], 1
jmp 0x140001a70
xor r8d, r8d
lea rcx, [0x140118bf0]
lea edx, [r8 + 4]
call fcn.14002c1d0
jmp 0x140001a70
cmp qword [rbp - 0x78], 0
jne case.0x140002a2b.1046
mov rax, qword [0x1401156f0]
cmp qword [rsp + 0x70], rax
jne case.0x140002a2b.1046
cmp dword [0x1401166c0], 0
je 0x140002802
call fcn.140004720
cmp dword [0x14011977c], 0
je 0x140002823
call fcn.1400043b0
movzx ebx, byte [rbp - 0x58]
test al, al
mov eax, 1
cmovne ebx, eax
mov dword [rbp - 0x58], ebx
jmp 0x140002826
mov ebx, dword [rbp - 0x58]
cmp dword [rbp + 0x13e8], 0
movzx r14d, byte [rbp + 0x13f0]
je 0x140001a78
cmp r15d, 1
jl 0x140001a78
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x140002861
mov ecx, dword [rbp - 0x54]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jg 0x140001a78
cmp byte [rsp + 0x49], 0
mov dword [0x1401197e8], eax
mov dword [0x1401197ec], eax
movzx eax, byte [0x140115543]
cmovne eax, esi
mov qword [0x1401197d8], rsi
cmp byte [rsp + 0x4a], 0
mov byte [0x140115543], al
je 0x1400028e1
mov eax, dword [0x1401156ec]
dec eax
mov dword [0x1401156ec], eax
test r15d, r15d
jle 0x1400028e1
test eax, eax
jne 0x1400028e1
cmp dword [0x14011977c], eax
jne 0x1400028e1
cmp dword [0x1401166c0], eax
jne 0x1400028e1
cmp byte [0x140115542], al
je 0x1400028e1
mov rcx, qword [0x1401156f0]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140115542]
test eax, eax
cmovne ecx, esi
mov byte [0x140115542], cl
movzx eax, bl
add rsp, 0x1498
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, r11d
sub eax, 0x312
je case.0x140002a2b.1044
sub eax, 0xee
je case.0x140002a2b.1045
cmp eax, 1
je case.0x140002a2b.1045
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400041d4
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140117b88]
jne 0x1400041d4
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, str.32770
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1400041d4
cmp rcx, 7
jne 0x140002970
mov rcx, qword [0x140112060]
lea rdx, [rsp + 0x70]
mov byte [rcx + 0x128], 1
mov eax, dword [rsp + 0x78]
mov dword [rcx + 0x124], eax
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x1400041c4
cmp dword [0x1401156e8], 0
je 0x1400029e3
mov rax, qword [0x140114798]
lea rcx, [0x1400e0674]
test rax, rax
je 0x1400029dd
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rax, qword [0x140112060]
movzx r14d, byte [rbp + 0x13f0]
mov byte [rax + 0x128], 0
mov r15d, dword [rbp + 0x13e0]
mov rbx, qword [rsp + 0x58]
jmp 0x140001a80
lea eax, [r11 - 0x414]
cmp eax, 0xa
ja case.0x140002a2b.1046
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x42dc]
add rcx, rdx
jmp rcx
mov rax, qword [rsp + 0x70]
test rax, rax
je case.0x140002a2b.1044
cmp rax, qword [0x1401156f0]
jne case.0x140002a2b.1046
lea eax, [r11 - 0x401]
mov r15, rsi
cmp eax, 0x1d
ja case.0x140002a72.1031
lea r9, [0x140000000]
movzx eax, byte [r9 + rax + 0x4324]
mov ecx, dword [r9 + rax*4 + 0x4308]
add rcx, r9
jmp rcx
mov ecx, esi
test r8d, r8d
jle 0x140002aaa
mov rax, qword [0x1401156e0]
nop dword [rax]
nop word [rax + rax]
mov r12, qword [rax]
mov r9, qword [r12 + 8]
cmp r9, qword [rsp + 0x70]
je 0x140002ab2
inc ecx
add rax, 8
cmp ecx, r8d
jl 0x140002a90
mov r12, rsi
jmp case.0x140002a2b.1046
test r12, r12
je case.0x140002a2b.1046
mov rcx, qword [rbp - 0x78]
mov eax, 0x2af8
movzx ebx, r10w
shr r10, 0x10
cmp ebx, 8
movzx r10d, r10w
mov edi, r10d
mov dword [rsp + 0x44], esi
cmove r10d, eax
mov dword [rsp + 0x68], ebx
mov eax, ecx
mov dword [rbp - 0x20], r10d
cmovne eax, dword [rsp + 0x60]
cmovne rdi, rcx
mov r8d, eax
mov dword [rsp + 0x60], eax
mov esi, eax
cmp r10d, dword [r12 + 0x20]
jae 0x140002b11
mov eax, r10d
imul r14, rax, 0x58
add r14, qword [r12 + 0x28]
xor eax, eax
jmp 0x140002b16
xor eax, eax
mov r14d, eax
mov qword [rbp - 0x18], rax
mov eax, ebx
mov qword [rbp - 0x60], r14
mov byte [rbp + 0x13f8], 0
mov qword [rsp + 0x50], rdi
sub eax, 5
je 0x140002caf
sub eax, 1
je 0x140002c55
sub eax, 1
je 0x140002c33
sub eax, 1
je 0x140002c11
cmp eax, 1
je 0x140002be3
mov rbx, qword [rsp + 0x58]
test r14, r14
je 0x140001b55
mov rbx, qword [r14 + 0x18]
test rbx, rbx
jne 0x140002bad
test byte [r14 + 9], 1
je 0x140002b87
test r9, r9
je 0x140002b87
xor edx, edx
mov rcx, r9
call qword [sym.imp.USER32.dll_ShowWindow]
mov r15d, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x50], rdi
mov edi, dword [rsp + 0x40]
mov dword [rsp + 0x60], esi
jmp 0x140001a80
test byte [r14 + 9], 4
movzx r14d, byte [rbp + 0x13f0]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x60], esi
jne 0x140001b40
xor eax, eax
mov byte [rbp + 0x13f8], 1
mov r14d, eax
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x60], esi
jmp 0x140003228
mov rbx, qword [r12 + 0x58]
movzx r14d, byte [rbp + 0x13f0]
mov dword [rsp + 0x60], r8d
test rbx, rbx
je 0x140001b40
xor eax, eax
mov qword [rsp + 0x50], rdi
mov r14d, eax
mov dword [rsp + 0x60], esi
jmp 0x140003228
mov rbx, qword [r12 + 0x48]
movzx r14d, byte [rbp + 0x13f0]
mov dword [rsp + 0x60], r8d
test rbx, rbx
je 0x140001b40
lea rcx, [r12 + 0x62]
jmp 0x140002c75
mov rbx, qword [r12 + 0x40]
movzx r14d, byte [rbp + 0x13f0]
mov dword [rsp + 0x60], r8d
test rbx, rbx
je 0x140001b40
lea rcx, [r12 + 0x61]
jmp 0x140002c75
mov rbx, qword [r12 + 0x38]
movzx r14d, byte [rbp + 0x13f0]
mov dword [rsp + 0x60], r8d
test rbx, rbx
je 0x140001b40
lea rcx, [r12 + 0x60]
mov qword [rbp - 0x18], rcx
mov qword [rsp + 0x50], rdi
test rcx, rcx
je 0x140002cf0
cmp byte [rcx], 0
movzx r14d, byte [rbp + 0x13f0]
mov qword [rsp + 0x50], rdi
mov edi, dword [rsp + 0x40]
mov dword [rsp + 0x60], esi
jne 0x1400029f9
xor eax, eax
mov dword [rsp + 0x60], esi
mov r14d, eax
jmp 0x140003228
mov rbx, qword [r12 + 0x50]
mov r15, qword [r12 + 0xa0]
test rbx, rbx
je 0x140002cfe
mov qword [rsp + 0x50], rdi
test r15, r15
je 0x140002d16
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov r14d, eax
mov qword [rsp + 0x50], r14
test eax, eax
je 0x140002d03
mov r11d, dword [rsp + 0x78]
xor eax, eax
mov dword [rsp + 0x60], esi
mov r14d, eax
jmp 0x140003228
test r15, r15
je 0x140002d16
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
xor eax, eax
mov qword [r12 + 0xa0], rax
mov r15d, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x40]
mov dword [rsp + 0x60], esi
jmp 0x140001a80
test r10, r10
je 0x140002d88
mov ecx, esi
test r8d, r8d
jle 0x140002d65
mov rax, qword [0x1401156e0]
nop word [rax + rax]
mov r12, qword [rax]
cmp qword [r12 + 8], r10
je 0x140002d81
inc ecx
add rax, 8
cmp ecx, r8d
jl 0x140002d50
mov r12, rsi
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140002d8b
cmp rax, qword [0x1401156f0]
jne case.0x140002a2b.1046
jmp 0x140002d8b
test r12, r12
jne 0x140002d8b
jmp 0x140002d68
mov r12, rsi
mov rcx, qword [0x140119780]
test rcx, rcx
je 0x140002dc8
mov rax, qword [rbp - 0x78]
nop dword [rax + rax]
mov r13, qword [rcx + 8]
test r13, r13
je 0x140002dbf
nop dword [rax]
cmp dword [r13 + 0x28], eax
je 0x140002de4
mov r13, qword [r13 + 0x38]
test r13, r13
jne 0x140002db0
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x140002da0
movzx r14d, byte [rbp + 0x13f0]
mov r13, rsi
mov r15d, dword [rbp + 0x13e0]
mov rbx, qword [rsp + 0x58]
jmp 0x140001a80
mov rbx, qword [r13 + 0x10]
movzx r14d, byte [rbp + 0x13f0]
test rbx, rbx
je 0x1400029f9
mov r14d, dword [r13 + 0x2c]
jmp 0x14000322f
mov eax, dword [0x140116694]
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
cmp r10, rax
jae 0x140001b34
mov rax, qword [0x1401166b8]
mov rsi, qword [rax + r10*8]
mov qword [rbp - 8], rsi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140002e5a
mov rdx, qword [rsi + 8]
call fcn.14000e550
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140001b34
mov rcx, qword [rsi + 0x20]
movzx edx, byte [rcx]
dec dl
test dl, 0xfd
je 0x140002e60
xor eax, eax
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp - 0x78]
mov rcx, rsi
call fcn.140011dc0
cmp qword [rsi + 0x18], 0
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
jne 0x140001b34
cmp byte [rsi + 0x3e], 0
je 0x140002e90
movzx eax, word [rbp - 0x78]
jmp 0x140002e92
xor eax, eax
mov r11d, dword [rsp + 0x78]
mov word [0x14011979c], ax
mov rbx, qword [rsi]
mov r14d, dword [rsi + 0x28]
jmp 0x140003228
cmp byte [0x140119760], 0
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
jne 0x140001b34
mov rbx, qword [0x140119748]
mov r14d, esi
test rbx, rbx
cmove rbx, qword [0x1401192c8]
jmp 0x14000322f
mov rcx, r10
call fcn.140054ad0
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140001b10
mov rbx, qword [rax + 0x10]
mov r14d, esi
mov r11d, dword [rsp + 0x78]
mov rbx, qword [rbx + 0x388]
jmp 0x140003228
mov rdi, qword [0x1401156d8]
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
mov qword [rbp - 0x40], rdi
test rdi, rdi
je 0x140001b10
nop dword [rax]
cmp rdi, r10
je 0x140002f62
mov rdi, qword [rdi + 8]
mov qword [rbp - 0x40], rdi
test rdi, rdi
jne 0x140002f40
mov r15d, dword [rbp + 0x13e0]
mov edi, dword [rsp + 0x40]
jmp 0x140001a80
mov rbx, qword [rdi + 0x10]
cmp r11d, 0x41c
jne 0x140002f78
mov rbx, qword [rbx + 0x390]
jmp 0x140002f91
cmp r11d, 0x41e
jne 0x140002f8a
mov rbx, qword [rbx + 0x3a0]
jmp 0x140002f91
mov rbx, qword [rbx + 0x398]
mov edi, dword [rsp + 0x40]
test rbx, rbx
je 0x1400029f9
mov r14d, esi
jmp 0x14000322f
movzx r14d, byte [rbp + 0x13f0]
movzx eax, r10w
mov rbx, qword [rsp + 0x58]
mov ecx, 0x7fff
and ax, cx
cmp ax, word [0x1401166d8]
jae 0x140001b34
movzx ecx, ax
mov rax, qword [0x1401166c8]
shr r10, 0x10
mov rdx, qword [rax + rcx*8]
mov qword [rbp - 0x48], rdx
test r10w, r10w
je 0x140003017
mov r14, qword [rdx + 0x28]
mov eax, 0xffff
mov qword [rbp - 0x38], r14
add r10w, ax
je 0x14000300e
nop dword [rax + rax]
mov r14, qword [r14 + 0x10]
add r10w, ax
jne 0x140003000
mov qword [rbp - 0x38], r14
test r14, r14
jne 0x140003184
cmp r11d, 0x400
jne 0x14000303a
mov rax, qword [rbp - 0x78]
mov edi, 0x64
shr rax, 0x10
movzx ecx, ax
sub edi, ecx
lea esi, [rcx + 0x3c2bb3]
jmp 0x14000303f
mov edi, 0x3c2c17
xor eax, eax
cmp byte [rdx + 0x19], al
jne 0x140003062
mov r15d, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
mov edi, dword [rsp + 0x40]
mov qword [rbp - 0x38], rax
jmp 0x140001a80
mov r14, qword [rdx + 0x28]
mov rbx, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x38], r14
test r14, r14
je 0x140003169
nop word [rax + rax]
cmp byte [r14 + 0x28], 0
je 0x140003147
cmp byte [0x1401157f3], 0
je 0x140003109
mov r9, qword [r14]
mov rcx, r9
call fcn.1400ad7d0
test eax, eax
je 0x1400030ac
cmp eax, 1
jne 0x140003147
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x140003147
cmp byte [rcx], 0xcd
jne 0x140003147
movzx eax, byte [rcx + 1]
test al, al
je 0x140003105
mov rcx, qword [rcx + 8]
movzx eax, byte [rcx]
test al, al
jne 0x1400030ec
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400030e4
cmp qword [rax], 0
jne 0x140003105
cmp byte [rcx + 1], 0
jne 0x140003105
jmp 0x1400030f0
cmp al, 1
je 0x140003105
mov rcx, qword [rcx + 8]
lea rdx, [0x1400f5d54]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140003147
mov rdx, qword [rbp - 0x48]
lea ecx, [rsi - 0x3c2bb3]
cmp edi, 0x66
jbe 0x140003119
mov ecx, 0x65
movzx eax, byte [r14 + 0x24]
cmp ecx, eax
jle 0x140003147
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x14000313d
mov rdx, qword [rdx + 0x20]
call fcn.14000e550
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140003147
cmp qword [r14 + 8], 0
jne 0x14000315d
mov rbx, r14
mov r14, qword [r14 + 0x10]
mov qword [rbp - 0x38], r14
test r14, r14
je 0x140003164
mov rdx, qword [rbp - 0x48]
jmp 0x140003080
mov r11d, dword [rsp + 0x78]
jmp 0x140003170
mov r11d, dword [rsp + 0x78]
mov r14, rbx
mov qword [rbp - 0x38], rbx
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x40]
test r14, r14
je 0x140001b20
xor esi, esi
mov r9, qword [r14]
mov rcx, r9
call fcn.1400ad7d0
test eax, eax
je 0x140003198
cmp eax, 1
jne 0x1400031a6
mov rax, qword [r9 + 0x10]
test rax, rax
je 0x1400031a6
movzx ecx, byte [rax]
jmp 0x1400031a8
xor cl, cl
movzx eax, byte [r14 + 0x23]
cmp byte [r14 + 0x22], al
jb 0x1400031f8
add cl, 0x32
cmp cl, 0x14
ja 0x1400031c5
mov eax, LockResource
bt eax, ecx
jb 0x1400031f8
cmp byte [r14 + 0x26], 0
je 0x1400031d1
mov byte [r14 + 0x27], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r15d, dword [rbp + 0x13e0]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x40]
mov dword [r14 + 0x18], eax
movzx r14d, byte [rbp + 0x13f0]
jmp 0x140001a80
mov rax, qword [r14 + 8]
test rax, rax
je 0x14000321d
movzx ecx, byte [rax]
lea eax, [rcx - 2]
test al, 0xfd
je 0x14000321d
cmp cl, 5
jb 0x140003221
mov rax, qword [0x1401156d0]
mov qword [rbp - 0x50], rax
jmp 0x140003221
mov qword [rbp - 0x50], rsi
mov rbx, qword [r14]
mov r14d, dword [r14 + 0x1c]
lea r9, [0x140000000]
mov rsi, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400ad7d0
test eax, eax
je 0x140003245
cmp eax, 1
jne 0x140003256
mov rcx, qword [rbx + 0x10]
mov rax, rbx
test rcx, rcx
je 0x140003256
movzx edi, byte [rcx]
jmp 0x140003259
xor dil, dil
mov ecx, dword [0x1401156c8]
mov eax, dword [0x140112058]
cmp ecx, eax
jl 0x1400032e4
add eax, 2
cmp ecx, eax
jge 0x140003281
lea eax, [rdi + 0x32]
cmp al, 0x14
ja 0x140003281
mov ecx, LockResource
bt ecx, eax
jb 0x1400032e4
test r15, r15
je 0x14000329e
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
xor eax, eax
mov qword [r12 + 0xa0], rax
mov r11d, dword [rsp + 0x78]
movsxd r15, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
mov rbx, r15
mov edi, dword [rsp + 0x40]
cmp r11d, 0x41b
jne 0x140001a80
mov rdi, qword [rbp - 0x40]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r15d, dword [rbp + 0x13e0]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x40]
jmp 0x140001a80
mov rax, qword [0x140112060]
cmp r14d, dword [rax + 0x3c]
jge 0x140003354
test r15, r15
je 0x14000330e
mov rcx, r15
call qword [sym.imp.SHELL32.dll_DragFinish]
xor eax, eax
mov qword [r12 + 0xa0], rax
mov r11d, dword [rsp + 0x78]
movsxd r15, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
mov rbx, r15
mov edi, dword [rsp + 0x40]
cmp r11d, 0x41b
jne 0x140001a80
mov rdi, qword [rbp - 0x40]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r15d, dword [rbp + 0x13e0]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x40]
jmp 0x140001a80
lea eax, [r11 - 0x402]
mov byte [rbp - 0x58], 1
cmp eax, 0x1c
ja case.0x140003378.1028
movzx eax, byte [r9 + rax + 0x4350]
mov ecx, dword [r9 + rax*4 + 0x4344]
add rcx, r9
jmp rcx
mov rdx, qword [r13]
lea rcx, [0x1401192d8]
mov r8d, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor eax, eax
lea rcx, [0x1401194e2]
mov word [0x1401194e0], ax
mov r8d, 0x104
mov rdx, qword [r13 + 0x20]
mov rdx, qword [rdx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor eax, eax
mov qword [0x1401192d0], r13
mov word [0x1401196ea], ax
jmp case.0x140003378.1027
mov rax, qword [0x1401196f0]
mov qword [0x1401196f8], rax
mov eax, dword [0x140119794]
mov dword [0x140119798], eax
cmp r11d, 0x401
jne 0x1400033f3
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
jmp 0x1400033fb
mov rax, qword [rbp - 0x48]
mov rax, qword [rax + 0x20]
mov qword [0x1401196f0], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140119794], eax
mov rcx, qword [0x1401156c0]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140001630
mov r8d, 0x7f
lea rcx, [rbp + 0x1d0]
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor eax, eax
movzx r9d, dil
mov r8b, 1
mov word [rbp + 0x2ce], ax
xor edx, edx
mov ecx, r14d
call fcn.140004db0
mov r14, qword [0x140112060]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401197ec], eax
mov dword [0x1401197e8], eax
mov eax, dword [rsp + 0x78]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x140003497.1032
lea r11, [0x140000000]
movzx eax, byte [r11 + rax + 0x4390]
mov ecx, dword [r11 + rax*4 + 0x4370]
add rcx, r11
jmp rcx
mov r8, qword [rbp - 0x60]
xor r9d, r9d
mov word [rbp + 0x60], r9w
cmp byte [rbp + 0x13f8], r9b
je 0x1400034b3
mov rcx, qword [r8]
jmp 0x1400034b8
mov rcx, qword [r12 + 8]
movsxd rdi, dword [rsp + 0x44]
mov r10d, 1
mov rax, rdi
inc edi
shl rax, 5
mov dword [rsp + 0x44], edi
mov qword [rbp + rax + 0xc0], rcx
mov ecx, dword [rsp + 0x68]
mov dword [rbp + rax + 0xd0], r10d
mov eax, ecx
sub eax, 5
je 0x140003a22
sub eax, r10d
je 0x140003940
sub eax, r10d
je 0x140003940
sub eax, r10d
je 0x140003940
cmp eax, r10d
je 0x14000366a
mov rsi, qword [rbp - 0x60]
movzx eax, byte [rsi + 8]
cmp al, 0xa
je 0x140003596
cmp al, 0x19
jne 0x140003563
mov rax, qword [rbp - 0x6c]
lea rdx, [rbp + 0x88]
mov qword [r14 + 0x50], rax
mov rcx, qword [r12 + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x88]
lea r11, [0x140000000]
sub dword [r14 + 0x50], eax
mov eax, dword [rbp + 0x8c]
sub dword [r14 + 0x54], eax
mov ecx, dword [rsp + 0x68]
xor r9d, r9d
lea r10d, [r9 + 1]
movsxd r8, edi
lea rdx, [rbp + 0xc0]
mov rax, r8
mov dword [r14 + 0x44], ecx
shl rax, 5
inc r8d
add rdx, rax
cmp ecx, 5
jae 0x140003625
mov eax, ecx
mov rcx, qword [r11 + rax*8 + 0x100b78]
jmp 0x140003636
cmp cl, 0x49
jne 0x140003563
lea rax, [rbp + 0x60]
bt ecx, 8
jae 0x1400035ac
mov eax, 0x53
jmp 0x1400035b7
bt ecx, 9
jae 0x1400035bf
mov eax, reloc.WSOCK32.dll_WSAStartup
mov word [rbp + 0x60], ax
lea rax, [rbp + 0x62]
bt ecx, 0xa
jae 0x1400035cc
mov edx, 0x46
jmp 0x1400035d7
bt ecx, 0xb
jae 0x1400035de
mov edx, 0x66
mov word [rax], dx
add rax, 2
bt ecx, 0xc
jae 0x1400035eb
mov ecx, 0x43
jmp 0x1400035f6
bt ecx, 0xd
jae 0x1400035fd
mov ecx, 0x63
mov word [rax], cx
add rax, 2
mov word [rax], r9w
lea rdx, [rbp + 0xc0]
movsxd r8, edi
mov ecx, 0x49
mov rax, r8
mov dword [rsp + 0x68], ecx
shl rax, 5
add rdx, rax
mov dword [r14 + 0x44], ecx
inc r8d
movzx eax, cl
lea rcx, [0x14011b2c4]
mov word [0x14011b2c4], ax
mov rdi, qword [rsp + 0x50]
mov qword [rdx], rcx
mov ecx, dword [rsp + 0x68]
movsxd rax, r8d
shl rax, 5
mov dword [rdx + 0x10], r9d
inc r8d
mov dword [rsp + 0x44], r8d
mov dword [rbp + rax + 0xd0], r10d
mov qword [rbp + rax + 0xc0], rdi
jmp 0x140003b61
cmp qword [rsp + 0x50], r9
mov edx, 3
mov rdi, r9
mov qword [rsp + 0x50], r9
cmovne edx, r10d
mov dword [r14 + 0x44], edx
mov rax, qword [rbp - 0x6c]
mov qword [r14 + 0x50], rax
test r8, r8
je 0x140003845
test rsi, rsi
mov rsi, qword [rbp - 0x60]
je 0x1400037a6
movzx ecx, byte [rsi + 8]
mov dword [rbp - 0x30], 0x80000000
sub ecx, 9
je 0x140003728
sub ecx, r10d
je 0x1400036f9
sub ecx, r10d
je 0x1400036cf
cmp ecx, 6
jne 0x140003754
xor r8d, r8d
mov edx, 0x419
jmp 0x140003747
mov rcx, qword [rsi]
mov edx, 0x110a
mov r8d, 9
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140003754
mov qword [rbp - 0x30], rax
mov edx, 0x1104
mov r8d, 1
jmp 0x140003747
mov rcx, qword [rsi]
mov r9, r10
mov edx, 0x100c
mov r8, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, eax
cmp r8, 0xffffffffffffffff
je 0x140003754
mov dword [rbp - 0x30], 2
mov edx, 0x100e
jmp 0x140003747
mov rcx, qword [rsi]
xor r8d, r8d
mov edx, OleCreatePictureIndirect
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x140003754
mov r8, rax
mov edx, 0x198
mov rcx, qword [rsi]
lea r9, [rbp - 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbp - 0x30], 0x80000000
mov rcx, qword [rsi]
jne 0x14000376c
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x14000377e
mov r9d, 2
lea r8, [rbp - 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [rbp - 0x30]
mov ecx, dword [rbp - 0x2c]
mov dword [r14 + 0x50], eax
mov eax, dword [rbp - 0x24]
sub eax, ecx
jns 0x140003791
inc eax
sar eax, 1
mov r10d, 1
add eax, 2
add eax, ecx
mov dword [r14 + 0x54], eax
mov edx, dword [r14 + 0x44]
movzx ecx, byte [rsi + 8]
sub ecx, 9
je 0x140003838
sub ecx, 1
je 0x140003814
cmp ecx, 1
jne 0x140003849
mov rcx, qword [rsi]
cmp edx, 1
jne 0x1400037e4
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov qword [rsp + 0x50], rdi
jmp 0x140003849
mov rax, qword [rbp - 0x6c]
lea rdx, [rbp]
mov qword [rbp], rax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rsi]
lea r9, [rbp]
xor r8d, r8d
mov edx, 0x1111
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov qword [rsp + 0x50], rdi
jmp 0x140003849
mov r9, r10
mov edx, 0x100c
mov r8, 0xffffffffffffffff
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
inc eax
movsxd rdi, eax
mov qword [rsp + 0x50], rdi
jmp 0x140003849
xor r9d, r9d
mov edx, OleCreatePictureIndirect
xor r8d, r8d
jmp 0x140003823
mov rsi, qword [rbp - 0x60]
mov rcx, qword [r12 + 8]
lea rdx, [rbp + 0x98]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x98]
lea rdx, [rbp + 0xc0]
sub dword [r14 + 0x50], eax
mov eax, dword [rbp + 0x9c]
sub dword [r14 + 0x54], eax
movsxd rcx, dword [rsp + 0x44]
mov rax, rcx
shl rax, 5
add rdx, rax
lea r8d, [rcx + 1]
test rsi, rsi
je 0x140003893
mov rcx, qword [rsi]
jmp 0x14000389a
lea rcx, [0x1400e0674]
xor r9d, r9d
mov r10d, 1
test rsi, rsi
mov eax, r9d
setne al
mov dword [rdx + 0x10], eax
mov qword [rdx], rcx
lea rdx, [rbp + 0xc0]
movsxd rax, r8d
mov ecx, r9d
shl rax, 5
inc r8d
mov dword [rbp + rax + 0xd0], r10d
mov qword [rbp + rax + 0xc0], rdi
movsxd rax, r8d
inc r8d
shl rax, 5
add rdx, rax
mov eax, dword [r14 + 0x44]
cmp eax, 3
movsxd rax, r8d
sete cl
shl rax, 5
mov qword [rdx], rcx
inc r8d
mov dword [rdx + 0x10], r10d
lea rcx, [rbp + 0xc0]
add rcx, rax
movsxd rax, dword [r14 + 0x50]
mov qword [rcx], rax
mov dword [rcx + 0x10], r10d
lea rcx, [rbp + 0xc0]
movsxd rax, r8d
shl rax, 5
add rcx, rax
movsxd rax, dword [r14 + 0x54]
inc r8d
mov dword [rsp + 0x44], r8d
mov dword [rcx + 0x10], r10d
mov qword [rcx], rax
mov ecx, dword [rsp + 0x68]
jmp 0x140003b61
mov dword [r14 + 0x44], r10d
cmp ecx, 8
jne 0x140003b53
mov esi, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
movsxd r8, edi
lea rdi, [rbp + 0xc0]
mov rax, r8
mov dword [r14 + 0x50], esi
shl rax, 5
inc r8d
mov dword [rbp + rax + 0xd0], r10d
mov qword [rbp + rax + 0xc0], rcx
movsxd rax, r8d
inc r8d
shl rax, 5
add rdi, rax
mov dword [rsp + 0x44], r8d
movzx eax, si
cmp byte [r12 + 0x110], r9b
je 0x1400039bc
mov r8d, dword [0x140117b8c]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, dword [rsp + 0x44]
mov r10d, 1
cdqe
mov qword [rdi], rax
movsxd rax, r8d
inc r8d
shl rax, 5
mov dword [rdi + 0x10], r10d
lea rdi, [rbp + 0xc0]
add rdi, rax
mov eax, esi
shr eax, 0x10
cmp byte [r12 + 0x110], 0
mov dword [rsp + 0x44], r8d
je 0x140003a0d
mov r8d, dword [0x140117b8c]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, dword [rsp + 0x44]
mov r10d, 1
mov ecx, dword [rsp + 0x68]
xor r9d, r9d
cdqe
mov dword [rdi + 0x10], r10d
mov qword [rdi], rax
jmp 0x140003b58
mov dword [r14 + 0x44], 5
lea rdx, [rbp + 0xa8]
mov rax, qword [rbp - 0x6c]
mov qword [r14 + 0x50], rax
mov rcx, qword [r12 + 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 [r12 + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r12 + 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.1400941f0
mov qword [rdi], rax
mov rax, qword [rbp - 0x60]
mov dword [rdi + 0x10], 6
test rax, rax
je 0x140003abb
mov rdx, qword [rax]
mov r8d, 1
jmp 0x140003ac7
xor eax, eax
lea rdx, [0x1400e0674]
mov r8d, eax
mov ecx, dword [rsp + 0x44]
lea rdi, [rbp + 0xc0]
add ecx, 2
movsxd rax, esi
shl rax, 5
mov dword [rbp + rax + 0xd0], r8d
lea r8d, [rcx + 1]
mov qword [rbp + rax + 0xc0], rdx
movsxd rax, ecx
shl rax, 5
add rdi, rax
mov dword [rsp + 0x44], r8d
cmp byte [r12 + 0x110], 0
mov eax, dword [r14 + 0x50]
je 0x140003b27
mov r8d, dword [0x140117b8c]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, dword [rsp + 0x44]
cdqe
mov r10d, 1
mov qword [rdi], rax
mov dword [rdi + 0x10], r10d
lea rdi, [rbp + 0xc0]
movsxd rax, r8d
shl rax, 5
add rdi, rax
mov eax, dword [r14 + 0x54]
inc r8d
jmp 0x1400039de
mov r8d, dword [rsp + 0x44]
mov rsi, qword [rbp - 0x60]
mov rdi, qword [rsp + 0x50]
cmp byte [rbp + 0x13f8], 0
je 0x140003c2b
cmp byte [rsi + 8], 0x17
jne 0x140003c2b
xor edx, edx
lea rcx, [rbp + 0x2d8]
mov r8d, 0x10b0
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsi]
lea eax, [rdi - 1]
lea r9, [rbp + 0x2d0]
mov dword [rbp + 0x2d4], eax
xor r8d, r8d
mov dword [rbp + 0x2d0], SafeArrayUnlock
mov edx, 0x703
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140003c8f
cmp word [rbp + 0x340], 0
lea rax, [rbp + 0x2e0]
mov rcx, qword [0x1401156c0]
lea rdx, [rbp + 0x340]
cmove rdx, rax
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8, [r9 - 1]
call fcn.1400c4200
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 [0x1401156c0]
lea edx, [r8 + 1]
call fcn.140001630
xor ecx, ecx
mov qword [rdi], rax
mov dword [rdi + 0x10], ecx
jmp 0x140003c91
cmp word [rbp + 0x60], 0
je 0x140003c55
movsxd rax, r8d
lea rdx, [rbp + 0x60]
shl rax, 5
inc r8d
mov dword [rsp + 0x44], r8d
mov dword [rbp + rax + 0xd0], r9d
mov qword [rbp + rax + 0xc0], rdx
cmp ecx, 8
je 0x140003c7d
cmp ecx, 5
je 0x140003c7d
mov rcx, qword [0x1401156c0]
lea rdx, [rbp + 0x60]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400c4200
jmp 0x140003c8f
mov rcx, qword [0x1401156c0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rdx, rdi
call fcn.140001430
xor ecx, ecx
mov rax, qword [r12 + 8]
mov rdi, qword [rbp - 0x18]
mov qword [r14 + 0xf8], rax
add dword [r12 + 0x34], 2
mov eax, dword [rbp - 0x20]
mov dword [r14 + 0x70], eax
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x48], rax
mov qword [r14 + 0x60], r12
mov qword [r14 + 0x58], r12
movzx r14d, byte [rbp + 0x13f8]
test rdi, rdi
je 0x140003cd1
mov byte [rdi], 1
jmp 0x140003cda
test r14b, r14b
je 0x140003cda
or byte [rsi + 9], 4
mov dword [rsp + 0x30], ecx
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xc0]
mov eax, dword [rsp + 0x44]
lea r8, [0x1400e06f8]
mov rdx, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.1400a9990
cmp qword [r12 + 8], 0
je 0x140003da9
mov eax, dword [rsp + 0x68]
test rdi, rdi
je 0x140003d57
mov byte [rdi], 0
cmp eax, 6
jne 0x140003d60
cmp qword [rbp + 0x80], 0
jne 0x140003da9
mov rcx, rbx
call fcn.1400ad7d0
test eax, eax
jne 0x140003d43
test rbx, rbx
jne 0x140003da9
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x140003da9
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140003da9
test r14b, r14b
je 0x140003d60
and byte [rsi + 9], 0xfb
cmp eax, 5
jne 0x140003da9
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 [r12 + 8]
xor eax, eax
mov qword [r12 + 0xa0], rax
lea edx, [rax - 0x14]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r12 + 8]
mov edx, 0xffffffec
or eax, 0x10
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, 0xffffffff
add dword [r12 + 0x34], eax
jne 0x140004130
mov rcx, qword [r12]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x130
mov rcx, r12
call fcn.1400dcf6c
jmp 0x140004130
test r12, r12
je 0x140003dfd
mov rax, qword [r12 + 8]
mov qword [r14 + 0xf8], rax
mov eax, 1
mov dword [r14 + 0x44], eax
add dword [r12 + 0x34], 2
mov qword [r14 + 0x60], r12
mov qword [r14 + 0x58], r12
lea rax, [0x1401192d8]
xor esi, esi
lea rcx, [0x140118bf0]
mov dword [rbp + 0x10], esi
mov qword [rbp], rax
call fcn.14006a970
mov dword [rsp + 0x30], esi
lea r9, [rbp]
mov qword [rsp + 0x28], rsi
lea r8, [0x1400e06f8]
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, [0x1401194e2]
mov qword [rbp + 0x40], rax
call fcn.1400a9990
test r12, r12
je 0x140004132
mov eax, 0xffffffff
add dword [r12 + 0x34], eax
jne 0x140004132
mov rcx, qword [r12]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x130
mov rcx, r12
call fcn.1400dcf6c
jmp 0x140004132
mov rax, qword [rbp - 0x50]
mov rbx, qword [rbp - 8]
mov qword [r14 + 0xf8], rax
movzx eax, byte [rbx + 0x35]
mov byte [r14 + 0x136], al
mov r9, qword [rbx]
mov rcx, r9
call fcn.1400ad7d0
test eax, eax
je 0x140003ec0
cmp eax, 1
jne 0x140003ece
mov rax, qword [r9 + 0x10]
test rax, rax
je 0x140003ece
movzx ecx, byte [rax]
jmp 0x140003ed0
xor cl, cl
movzx eax, byte [rbx + 0x39]
cmp byte [rbx + 0x38], al
jb 0x140003ef3
add cl, 0x32
cmp cl, 0x14
ja 0x140004130
mov eax, LockResource
bt eax, ecx
jae 0x140004130
mov byte [0x14011979e], 0
lea r8, [0x1400e06f8]
inc byte [rbx + 0x38]
xor esi, esi
mov rcx, qword [rbx]
xor r9d, r9d
mov dword [rsp + 0x30], esi
mov rdx, rcx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call fcn.1400a9990
dec byte [rbx + 0x38]
jmp 0x140004132
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x140003f5d
mov ecx, SafeArrayDestroy
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140003f54
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov edx, 2
test eax, eax
je 0x140003f59
mov edx, 1
xor esi, esi
jmp 0x140003f61
xor esi, esi
mov edx, esi
mov rcx, qword [0x1401156c0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov qword [r14 + 0x48], rdx
call fcn.140001430
mov rax, qword [r14 + 0x48]
mov edx, 1
mov rcx, qword [0x140119748]
mov dword [rbp + 0x10], edx
mov qword [rbp], rax
mov byte [0x140119760], dl
test rcx, rcx
je 0x140003fd4
mov rax, qword [0x140112060]
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rax + 0xe8]
mov qword [rax + 0xe8], rcx
mov rcx, qword [rcx + 0x10]
call fcn.140041930
mov rax, qword [0x140112060]
mov edx, 1
mov qword [rax + 0xe8], rbx
mov rcx, qword [0x140119748]
cmp qword [rbp - 0x80], 0
jne 0x140003ff8
test rcx, rcx
mov r9d, esi
mov r8d, edx
lea rcx, [0x140119718]
sete r9b
lea rdx, [rbp]
call fcn.1400ad880
mov byte [0x140119760], 0
jmp 0x140004132
mov rdi, qword [rbp - 0x40]
lea r9, [rbp]
xor esi, esi
mov dword [rbp + 0x10], 6
mov dword [rsp + 0x30], esi
lea r8, [0x1400e06f8]
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.1400a9990
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140004132
mov rcx, qword [rbp - 0x78]
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, [0x1400e06f8]
mov dword [rbp + 0x10], 6
mov rdx, rbx
mov rcx, rbx
call fcn.1400a9990
jmp 0x140004132
mov rax, qword [rbp - 0x78]
lea r9, [rbp]
mov word [rbp - 0x10], ax
sar rax, 0x10
xor esi, esi
mov word [rbp - 0xe], ax
mov rax, qword [rbp - 0x40]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov word [rbp - 0xc], si
mov rax, qword [rax + 0x10]
mov qword [rbp], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x30], esi
mov dword [rsp + 0x20], 2
jmp 0x140004094
mov rdi, qword [rbp - 0x48]
movzx eax, byte [rdi + 0x10]
add al, 0x64
cmp al, 3
ja 0x14000410b
mov eax, dword [rbp - 0x78]
mov qword [r14 + 0x48], rax
mov rax, qword [rbp - 0x50]
mov rcx, rdi
mov rbx, qword [rbp - 0x38]
mov qword [r14 + 0xf8], rax
mov rdx, rbx
movzx eax, byte [rbx + 0x24]
mov byte [r14 + 0x136], al
call fcn.14000f600
xor esi, esi
lea rcx, [rbp + 0x1d0]
call fcn.140004ff0
cmp dword [rbp + 0x13e8], 0
movsxd r15, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
mov rbx, r15
mov edi, dword [rsp + 0x40]
je 0x140001a80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x140004189
movsxd r15, dword [rbp + 0x13e0]
mov ecx, dword [rbp - 0x54]
mov rbx, r15
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jg 0x140001a80
jmp 0x140004190
mov r15d, dword [rbp + 0x13e0]
movsxd rbx, r15d
cmp rbx, 0xffffffffffffffff
jle 0x1400041a6
mov qword [0x1401197d8], rsi
mov dword [0x1401197e8], eax
mov edi, dword [rsp + 0x40]
mov r14b, 1
mov byte [rbp + 0x13f0], r14b
mov dword [0x1401197ec], eax
mov byte [rsp + 0x48], 1
jmp 0x140001a80
mov rcx, qword [0x140112060]
mov byte [rcx + 0x128], 0
jmp 0x1400041db
mov rcx, qword [0x140112060]
mov rdx, qword [0x1401156a8]
test rdx, rdx
je 0x14000421a
mov rcx, qword [0x1401156f0]
lea r8, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
movsxd r15, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
mov rbx, r15
test eax, eax
jne 0x140001a80
mov rcx, qword [0x140112060]
mov byte [rcx + 0x128], 1
mov eax, dword [rsp + 0x78]
mov dword [rcx + 0x124], eax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400029e3
cmp rbx, 0xffffffffffffffff
jle 0x14000425d
xor ebx, ebx
mov dword [0x1401197e8], eax
mov qword [0x1401197d8], rbx
jmp 0x14000425f
xor ebx, ebx
cmp byte [rsp + 0x49], 0
mov dword [0x1401197ec], eax
movzx eax, byte [0x140115543]
cmovne eax, ebx
cmp byte [rsp + 0x4a], 0
mov byte [0x140115543], al
je 0x1400042d2
mov eax, dword [0x1401156ec]
dec eax
mov dword [0x1401156ec], eax
test r15d, r15d
jle 0x1400042d2
test eax, eax
jne 0x1400042d2
cmp dword [0x14011977c], eax
jne 0x1400042d2
cmp dword [0x1401166c0], eax
jne 0x1400042d2
cmp byte [0x140115542], al
je 0x1400042d2
mov rcx, qword [0x1401156f0]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140115542]
test eax, eax
cmovne ecx, ebx
mov byte [0x140115542], cl
movzx eax, byte [rbp - 0x58]
jmp 0x1400028e4