Function at 0x1400018c0
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.1400ddab0
sub rsp, rax
mov byte [rsp + 0x49], 0
mov edi, edx
mov r15d, ecx
mov r14d, 1
cmp edx, 2
jne 0x14000191d
cmp byte [0x140115543], 0
mov edi, r14d
mov dword [rbp + 0x13e8], r14d
jne 0x14000191d
mov byte [0x140115543], dil
mov byte [rsp + 0x49], dil
xor esi, esi
cmp dword [0x14011989c], esi
je 0x140001957
cmp qword [0x140119880], rsi
je 0x140001944
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 0x140001979
mov r15d, 0xa
mov byte [rbp + 0x13f0], r14b
mov dword [rbp + 0x13e0], r15d
mov dword [rbp - 0x54], esi
jmp 0x140001996
cmp r15d, 5
setle al
mov byte [rbp + 0x13f0], al
jg 0x14000198d
mov dword [rbp - 0x54], esi
jmp 0x140001996
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x54], eax
cmp dword [0x1401166c0], esi
je 0x1400019a3
call fcn.140004770
xor bl, bl
cmp dword [0x14011977c], esi
mov dword [rbp - 0x58], ebx
je 0x1400019c1
call fcn.140004400
test al, al
movzx ebx, bl
cmovne ebx, r14d
mov dword [rbp - 0x58], ebx
test r15d, r15d
jle 0x140001a03
cmp edi, r14d
jne 0x140001a03
inc dword [0x1401156ec]
cmp byte [0x140115542], sil
mov byte [rsp + 0x4a], r14b
jne 0x140001a08
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 0x140001a08
mov byte [rsp + 0x4a], sil
mov byte [rsp + 0x64], sil
lea rbx, [rbp + 0xc0]
mov byte [rsp + 0x48], sil
mov edi, 6
mov dword [rsp + 0x40], esi
mov rcx, rbx
call fcn.140005540
add rbx, 0x20
sub rdi, r14
jne 0x140001a22
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 qword [rsp + 0x50], r14
mov qword [rbp - 0x50], rbx
movzx r14d, byte [rbp + 0x13f0]
movsxd rbx, r15d
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
test rbx, rbx
jle 0x140001c17
cmp byte [rsp + 0x48], 0
jne 0x140001c17
cmp byte [0x140115543], 0
jne 0x140001c24
cmp dword [0x140112054], 0
je 0x140001bcd
cmp dword [0x1401156a0], 0
jne 0x140001bcd
mov rcx, qword [0x140112060]
cmp byte [rcx + 0x12c], 0
jne 0x140001b67
cmp byte [rcx + 0x12e], 0
jne 0x140001b67
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001b67
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140112060]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001b67
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
jmp 0x140001bcf
mov r15d, dword [rbp + 0x13e0]
mov edi, dword [rsp + 0x40]
jmp 0x140001ae0
mov r15d, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
jmp 0x140001ae0
mov r15d, dword [rbp + 0x13e0]
jmp 0x140001ae0
mov r15d, dword [rbp + 0x13e0]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x40]
jmp 0x140001ae0
mov r15d, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
mov edi, dword [rsp + 0x40]
jmp 0x140001ae0
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 0x140001ae0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x140001f1c
mov dword [0x1401197e8], eax
jmp 0x140001f1c
cmp byte [0x140115543], 0
je 0x140001de7
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140001de7
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140117b88]
jne 0x140001de7
cmp dword [0x1401156e8], 0
je 0x140001c97
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 0x140001c99
cmp rcx, 7
jne 0x140001c80
jmp 0x140001cf2
xor edi, edi
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x140001de7
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 0x140001cf2
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 0x140001de7
cmp dword [0x140112054], 0
je 0x140001d51
cmp dword [0x1401156a0], 0
jne 0x140001d51
mov rcx, qword [0x140112060]
cmp byte [rcx + 0x12c], 0
jne 0x140001d48
cmp byte [rcx + 0x12e], 0
jne 0x140001d48
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001d48
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140112060]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001d48
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
jmp 0x140001d53
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 0x140001e62
mov edi, dword [rbp - 0x70]
xor eax, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001db2
mov r9d, 0x1ff
jmp 0x140001e58
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 0x140001dd9
mov r9d, 0x1ff
xor r8d, r8d
jmp 0x140001e6b
mov r9d, ebx
mov r8d, 0x20e
jmp 0x140001e6b
cmp dword [0x140112054], 0
je 0x140001e48
cmp dword [0x1401156a0], 0
jne 0x140001e48
mov rcx, qword [0x140112060]
cmp byte [rcx + 0x12c], 0
jne 0x140001e3d
cmp byte [rcx + 0x12e], 0
jne 0x140001e3d
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140001e3d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140112060]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140001e3d
mov byte [rcx + 0x12c], 1
movzx eax, byte [rcx + 0x12c]
xor edi, edi
jmp 0x140001e4c
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 0x140001f15
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 0x140001eba
cmp byte [rsp + 0x64], r15b
jne 0x140001eba
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [rsp + 0x40]
mov byte [rsp + 0x64], 1
jmp 0x140001ae0
mov edi, dword [rsp + 0x40]
test edi, edi
jne 0x140001ee5
test r14b, r14b
je 0x140001ee5
test r15d, r15d
jle 0x140001ed5
lea ecx, [rdi + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov edi, eax
mov dword [rsp + 0x40], eax
jmp 0x140001ae0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x140004295
mov ecx, dword [rbp - 0x54]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jle 0x140004295
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001ae0
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
inc edi
cmp dword [0x140118be8], 0
mov dword [rsp + 0x40], edi
je 0x140001f5f
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.140004880
test al, al
jne 0x140001ae0
mov r9d, dword [0x1401156cc]
mov r11d, dword [rsp + 0x78]
test r9d, r9d
je 0x14000279d
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14000279d
cmp rax, qword [0x1401156f0]
je 0x14000279d
cmp r11d, 0x414
je 0x14000279d
cmp r11d, 0x402
je 0x14000279d
lea eax, [r11 - 0x100]
cmp eax, 9
ja 0x14000252a
call qword [sym.imp.USER32.dll_GetFocus]
mov rsi, rax
test rax, rax
je 0x14000251e
mov edx, 0xfffffff0
mov rcx, rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140002018
mov rcx, rdi
mov rbx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
je 0x14000200c
mov edx, 0xfffffff0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jb 0x140001fe2
jmp 0x140002018
mov rdi, rbx
test rbx, rbx
je 0x14000251e
mov rbx, rsi
nop dword [rax + rax]
mov r9d, dword [0x1401156cc]
xor eax, eax
mov ecx, eax
test r9d, r9d
jle 0x14000205c
mov rax, qword [0x1401156e0]
nop word [rax + rax]
mov r12, qword [rax]
cmp qword [r12 + 8], rbx
je 0x140002057
inc ecx
add rax, 8
cmp ecx, r9d
jl 0x140002040
jmp 0x14000205c
test r12, r12
jne 0x140002097
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140002081
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x140002020
mov r11d, dword [rsp + 0x78]
xor esi, esi
mov r9d, dword [0x1401156cc]
mov r12d, esi
jmp 0x14000252c
mov rdx, qword [r12 + 0xb8]
test rdx, rdx
je 0x1400020c8
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 0x140001ae0
mov r9d, dword [0x1401156cc]
mov r11d, dword [rsp + 0x78]
mov r10, qword [rbp - 0x80]
cmp r11d, 0x100
jne 0x1400024bf
cmp byte [r12 + 0x108], 0
je 0x140002341
cmp r10, 0x27
ja 0x140002341
movabs rax, 0xa600000200
bt rax, r10
jae 0x140002341
mov rcx, rsi
mov rdi, rsi
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [r12 + 0x20]
jb 0x140002149
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
je 0x14000213e
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [r12 + 0x20]
jae 0x14000231d
mov eax, ebx
imul r14, rax, 0x58
add r14, qword [r12 + 0x28]
mov qword [rbp - 0x60], r14
cmp qword [r14], rdi
jne 0x14000231d
mov eax, 0x2af8
cmp ebx, eax
je 0x14000231d
xor edi, edi
test r14, r14
je 0x140002323
movzx eax, byte [r14 + 8]
cmp al, 0xf
je 0x140002323
mov r10, qword [rbp - 0x80]
mov ebx, edi
cmp al, 0x13
jne 0x1400021ce
lea rax, [r10 - 0x25]
mov rbx, r14
test rax, 0xfffffffffffffffd
jne 0x1400021ce
cmp r10, 0x27
mov byte [rsp + 0x20], dil
mov rdx, r14
sete r8b
xor r9d, r9d
mov rcx, r12
call fcn.1400a5120
movzx r14d, byte [rbp + 0x13f0]
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
jmp 0x140001ae0
lea rax, [r10 - 0x25]
test rax, 0xfffffffffffffffd
je 0x140002327
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x140002323
mov r10, qword [rbp - 0x80]
cmp r10, 9
jne 0x14000221e
cmp byte [r14 + 8], 0xc
jne 0x14000221e
mov rcx, qword [r14]
lea edx, [r10 - 0x19]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x140002323
mov r10, qword [rbp - 0x80]
test rbx, rbx
jne 0x1400022c5
movzx r11d, byte [r14 + 0xa]
cmp r11b, 0xff
je 0x14000227e
mov r9d, dword [r12 + 0x20]
xor r8b, r8b
mov edx, edi
test r9d, r9d
je 0x14000227e
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 0x140002267
cmp r8b, r11b
je 0x140002277
inc r8b
inc edx
cmp edx, r9d
jb 0x140002250
xor r8b, r8b
xor edi, edi
mov edx, edi
jmp 0x140002291
test rbx, rbx
jne 0x1400022c5
xor edi, edi
mov r9d, dword [r12 + 0x20]
xor r8b, r8b
mov edx, edi
test r9d, r9d
je 0x140002327
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 0x1400022b7
test r8b, r8b
je 0x1400022c0
inc r8b
inc edx
cmp edx, r9d
jb 0x1400022a0
jmp 0x140002327
test rbx, rbx
je 0x140002327
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140002319
mov rax, qword [rbp - 0x80]
cmp rax, 0x22
je 0x140002305
cmp rax, 9
jne 0x1400022f2
lea ecx, [rax + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x140002305
xor r8d, r8d
mov byte [rsp + 0x20], 1
mov r9b, 1
mov rdx, rbx
jmp 0x1400021b2
mov r8b, 1
mov rdx, rbx
mov byte [rsp + 0x20], r8b
movzx r9d, r8b
jmp 0x1400021b2
xor edi, edi
jmp 0x140002323
xor edi, edi
mov qword [rbp - 0x60], rdi
mov r10, qword [rbp - 0x80]
mov r11d, dword [rsp + 0x78]
mov r9d, dword [0x1401156cc]
cmp r11d, 0x100
je 0x140002343
jmp 0x1400024bf
xor edi, edi
cmp r10, 0x1b
je 0x140002385
cmp r10, 9
je 0x140002385
cmp r10, 0x41
jne 0x1400024bf
lea ecx, [r10 - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
je 0x1400024af
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x1400024af
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [r12 + 0x20]
jb 0x1400023c0
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
mov rsi, rax
test rax, rax
je 0x1400023b5
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [r12 + 0x20]
jae 0x1400024ab
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 0x1400024ab
mov eax, 0x2af8
cmp ebx, eax
je 0x1400024ab
test r14, r14
je 0x1400024af
cmp byte [r14 + 8], 0xc
jne 0x1400024af
mov r10, qword [rbp - 0x80]
cmp r10, 0x1b
je 0x140002472
movzx eax, byte [r14 + 9]
cmp r10, 0x41
je 0x140002445
test al, al
jns 0x1400024b3
lea r9, [0x1400e0704]
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 0x140001ae0
test al, 2
jne 0x1400024b3
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 0x140001ae0
cmp qword [r12 + 0x40], 0
movzx r14d, byte [rbp + 0x13f0]
mov edi, dword [rsp + 0x40]
movsxd rbx, r15d
je 0x140001ae0
mov rcx, qword [r12 + 8]
xor r9d, r9d
mov edx, 0x414
mov r8d, 0x2af80007
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140001ad6
mov qword [rbp - 0x60], rdi
mov r10, qword [rbp - 0x80]
mov r9d, dword [0x1401156cc]
mov r11d, dword [rsp + 0x78]
mov rcx, qword [0x140117b30]
test rcx, rcx
je 0x14000270f
cmp r11d, 0x100
jne 0x14000270f
cmp r10, 0xd
jne 0x140002507
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 0x140001ae0
cmp r10, 0x1b
jne 0x14000270f
xor r9d, r9d
mov edx, 0x1116
jmp 0x140002425
mov r11d, dword [rsp + 0x78]
mov r9d, dword [0x1401156cc]
xor esi, esi
lea eax, [r11 - 0x20a]
test eax, 0xfffffffb
jne 0x14000270b
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 0x140002594
mov rcx, qword [0x1401156e0]
nop dword [rax]
mov r8, qword [rcx]
cmp qword [r8 + 8], rax
je 0x140002602
inc edx
add rcx, 8
cmp edx, r9d
jl 0x140002580
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.1400017e0
test eax, eax
jne 0x1400026ff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetParent]
mov r9d, dword [0x1401156cc]
mov edx, esi
test r9d, r9d
jle 0x1400025fa
mov rcx, qword [0x1401156e0]
mov r12, qword [rcx]
cmp qword [r12 + 8], rax
je 0x140002670
inc edx
add rcx, 8
cmp edx, r9d
jl 0x1400025e1
mov r12, rsi
jmp 0x140002706
test r8, r8
je 0x140002594
cmp rbx, qword [rsp + 0x70]
jne 0x140002634
mov r9, qword [rbp - 0x80]
mov r8d, edi
mov edx, dword [rsp + 0x78]
mov rcx, rbx
call fcn.1400017e0
test eax, eax
jne 0x140002594
cmp rbx, qword [rsp + 0x70]
je 0x140002594
mov r9, qword [rbp - 0x80]
mov r8d, edi
mov edx, dword [rsp + 0x78]
mov rcx, rbx
call fcn.1400017e0
test eax, eax
je 0x140002594
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 0x140001ae0
test r12, r12
je 0x140002706
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.1400017e0
mov rcx, qword [r12 + 8]
test eax, eax
jne 0x1400026e1
call qword [sym.imp.USER32.dll_GetParent]
mov r9d, dword [0x1401156cc]
mov edx, esi
test r9d, r9d
jle 0x1400025fa
mov rcx, qword [0x1401156e0]
nop
mov r12, qword [rcx]
cmp qword [r12 + 8], rax
je 0x1400026da
inc edx
add rcx, 8
cmp edx, r9d
jl 0x1400026c0
mov r12, rsi
jmp 0x140002706
test r12, r12
jne 0x140002680
jmp 0x140002706
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 0x140001ae0
mov r9d, dword [0x1401156cc]
mov r11d, dword [rsp + 0x78]
mov r10, qword [rbp - 0x80]
xor esi, esi
mov edi, esi
test r9d, r9d
jle 0x140002797
mov ebx, esi
nop word [rax + rax]
mov rdx, qword [0x1401156e0]
mov rax, qword [rdx + rbx]
cmp dword [rax + 0x20], esi
jne 0x140002739
cmp r11d, 0x106
je 0x140002786
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 0x1400021ba
mov r11d, dword [rsp + 0x78]
mov r9d, dword [0x1401156cc]
inc edi
add rbx, 8
cmp edi, r9d
jl 0x140002720
mov edi, dword [rsp + 0x40]
jmp 0x14000279f
mov edi, dword [rsp + 0x40]
jmp 0x1400027a3
xor esi, esi
mov r10, qword [rbp - 0x80]
cmp r11d, 0x402
ja 0x140002a6a
je case.0x140002a8b.1044
cmp r11d, 0x113
ja 0x140002958
je 0x140002837
cmp r11d, 0x12
je 0x14000281f
cmp r11d, 0x4b
je 0x14000280e
cmp r11d, 0x100
jne case.0x140002a8b.1046
mov rax, qword [0x1401156b0]
cmp qword [rsp + 0x70], rax
jne case.0x140002a8b.1046
cmp r10, 0x1b
jne case.0x140002a8b.1046
mov rcx, qword [0x1401156f0]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140001ace
mov qword [0x1401156b8], rsi
mov byte [rsp + 0x48], 1
jmp 0x140001ace
xor r8d, r8d
lea rcx, [0x140118bf0]
lea edx, [r8 + 4]
call fcn.14002c310
jmp 0x140001ace
cmp qword [rbp - 0x78], 0
jne case.0x140002a8b.1046
mov rax, qword [0x1401156f0]
cmp qword [rsp + 0x70], rax
jne case.0x140002a8b.1046
cmp dword [0x1401166c0], 0
je 0x140002862
call fcn.140004770
cmp dword [0x14011977c], 0
je 0x140002883
call fcn.140004400
movzx ebx, byte [rbp - 0x58]
test al, al
mov eax, 1
cmovne ebx, eax
mov dword [rbp - 0x58], ebx
jmp 0x140002886
mov ebx, dword [rbp - 0x58]
cmp dword [rbp + 0x13e8], 0
movzx r14d, byte [rbp + 0x13f0]
je 0x140001ad6
cmp r15d, 1
jl 0x140001ad6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x1400028c1
mov ecx, dword [rbp - 0x54]
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jg 0x140001ad6
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 0x140002941
mov eax, dword [0x1401156ec]
dec eax
mov dword [0x1401156ec], eax
test r15d, r15d
jle 0x140002941
test eax, eax
jne 0x140002941
cmp dword [0x14011977c], eax
jne 0x140002941
cmp dword [0x1401166c0], eax
jne 0x140002941
cmp byte [0x140115542], al
je 0x140002941
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.0x140002a8b.1044
sub eax, 0xee
je case.0x140002a8b.1045
cmp eax, 1
je case.0x140002a8b.1045
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140004223
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140117b88]
jne 0x140004223
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 0x140004223
cmp rcx, 7
jne 0x1400029d0
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 0x140004213
cmp dword [0x1401156e8], 0
je 0x140002a43
mov rax, qword [0x140114798]
lea rcx, [0x1400e0684]
test rax, rax
je 0x140002a3d
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 0x140001ae0
lea eax, [r11 - 0x414]
cmp eax, 0xa
ja case.0x140002a8b.1046
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x432c]
add rcx, rdx
jmp rcx
mov rax, qword [rsp + 0x70]
test rax, rax
je case.0x140002a8b.1044
cmp rax, qword [0x1401156f0]
jne case.0x140002a8b.1046
lea eax, [r11 - 0x401]
mov r15, rsi
cmp eax, 0x1d
ja case.0x140002ad0.1031
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x4374]
mov ecx, dword [rdx + rax*4 + 0x4358]
add rcx, rdx
jmp rcx
mov ecx, esi
test r9d, r9d
jle 0x140002afa
mov rax, qword [0x1401156e0]
mov r12, qword [rax]
mov r8, qword [r12 + 8]
cmp r8, qword [rsp + 0x70]
je 0x140002b02
inc ecx
add rax, 8
cmp ecx, r9d
jl 0x140002ae0
mov r12, rsi
jmp case.0x140002a8b.1046
test r12, r12
je case.0x140002a8b.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 r9d, eax
mov dword [rsp + 0x60], eax
mov esi, eax
cmp r10d, dword [r12 + 0x20]
jae 0x140002b61
mov eax, r10d
imul r14, rax, 0x58
add r14, qword [r12 + 0x28]
xor eax, eax
jmp 0x140002b66
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 0x140002cff
sub eax, 1
je 0x140002ca5
sub eax, 1
je 0x140002c83
sub eax, 1
je 0x140002c61
cmp eax, 1
je 0x140002c33
mov rbx, qword [rsp + 0x58]
test r14, r14
je 0x140001bb5
mov rbx, qword [r14 + 0x18]
test rbx, rbx
jne 0x140002bfd
test byte [r14 + 9], 1
je 0x140002bd7
test r8, r8
je 0x140002bd7
xor edx, edx
mov rcx, r8
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 0x140001ae0
test byte [r14 + 9], 4
movzx r14d, byte [rbp + 0x13f0]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x60], esi
jne 0x140001ba0
xor eax, eax
mov byte [rbp + 0x13f8], 1
mov r14d, eax
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x60], esi
jmp 0x140003278
mov rbx, qword [r12 + 0x58]
movzx r14d, byte [rbp + 0x13f0]
mov dword [rsp + 0x60], r9d
test rbx, rbx
je 0x140001ba0
xor eax, eax
mov qword [rsp + 0x50], rdi
mov r14d, eax
mov dword [rsp + 0x60], esi
jmp 0x140003278
mov rbx, qword [r12 + 0x48]
movzx r14d, byte [rbp + 0x13f0]
mov dword [rsp + 0x60], r9d
test rbx, rbx
je 0x140001ba0
lea rcx, [r12 + 0x62]
jmp 0x140002cc5
mov rbx, qword [r12 + 0x40]
movzx r14d, byte [rbp + 0x13f0]
mov dword [rsp + 0x60], r9d
test rbx, rbx
je 0x140001ba0
lea rcx, [r12 + 0x61]
jmp 0x140002cc5
mov rbx, qword [r12 + 0x38]
movzx r14d, byte [rbp + 0x13f0]
mov dword [rsp + 0x60], r9d
test rbx, rbx
je 0x140001ba0
lea rcx, [r12 + 0x60]
mov qword [rbp - 0x18], rcx
mov qword [rsp + 0x50], rdi
test rcx, rcx
je 0x140002d40
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 0x140002a59
xor eax, eax
mov dword [rsp + 0x60], esi
mov r14d, eax
jmp 0x140003278
mov rbx, qword [r12 + 0x50]
mov r15, qword [r12 + 0xa0]
test rbx, rbx
je 0x140002d4e
mov qword [rsp + 0x50], rdi
test r15, r15
je 0x140002d66
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 0x140002d53
mov r11d, dword [rsp + 0x78]
xor eax, eax
mov dword [rsp + 0x60], esi
mov r14d, eax
jmp 0x140003278
test r15, r15
je 0x140002d66
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 0x140001ae0
test r10, r10
je 0x140002dd8
mov ecx, esi
test r9d, r9d
jle 0x140002db5
mov rax, qword [0x1401156e0]
nop word [rax + rax]
mov r12, qword [rax]
cmp qword [r12 + 8], r10
je 0x140002dd1
inc ecx
add rax, 8
cmp ecx, r9d
jl 0x140002da0
mov r12, rsi
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140002ddb
cmp rax, qword [0x1401156f0]
jne case.0x140002a8b.1046
jmp 0x140002ddb
test r12, r12
jne 0x140002ddb
jmp 0x140002db8
mov r12, rsi
mov rcx, qword [0x140119780]
test rcx, rcx
je 0x140002e18
mov rax, qword [rbp - 0x78]
nop dword [rax + rax]
mov r13, qword [rcx + 8]
test r13, r13
je 0x140002e0f
nop dword [rax]
cmp dword [r13 + 0x28], eax
je 0x140002e34
mov r13, qword [r13 + 0x38]
test r13, r13
jne 0x140002e00
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x140002df0
movzx r14d, byte [rbp + 0x13f0]
mov r13, rsi
mov r15d, dword [rbp + 0x13e0]
mov rbx, qword [rsp + 0x58]
jmp 0x140001ae0
mov rbx, qword [r13 + 0x10]
movzx r14d, byte [rbp + 0x13f0]
test rbx, rbx
je 0x140002a59
mov r14d, dword [r13 + 0x2c]
jmp 0x140003278
mov eax, dword [0x140116694]
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
cmp r10, rax
jae 0x140001b94
mov rax, qword [0x1401166b8]
mov rsi, qword [rax + r10*8]
mov qword [rbp - 8], rsi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140002eaa
mov rdx, qword [rsi + 8]
call fcn.14000e600
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140001b94
mov rcx, qword [rsi + 0x20]
movzx edx, byte [rcx]
dec dl
test dl, 0xfd
je 0x140002eb0
xor eax, eax
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp - 0x78]
mov rcx, rsi
call fcn.140011e70
cmp qword [rsi + 0x18], 0
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
jne 0x140001b94
cmp byte [rsi + 0x3e], 0
je 0x140002ee0
movzx eax, word [rbp - 0x78]
jmp 0x140002ee2
xor eax, eax
mov r11d, dword [rsp + 0x78]
mov word [0x14011979c], ax
mov rbx, qword [rsi]
mov r14d, dword [rsi + 0x28]
jmp 0x140003278
cmp byte [0x140119760], 0
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
jne 0x140001b94
mov rbx, qword [0x140119748]
mov r14d, esi
test rbx, rbx
cmove rbx, qword [0x1401192c8]
jmp 0x140003278
mov rcx, r10
call fcn.140054bb0
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140001b70
mov rbx, qword [rax + 0x10]
mov r14d, esi
mov r11d, dword [rsp + 0x78]
mov rbx, qword [rbx + 0x388]
jmp 0x140003278
mov rdi, qword [0x1401156d8]
movzx r14d, byte [rbp + 0x13f0]
mov rbx, qword [rsp + 0x58]
mov qword [rbp - 0x40], rdi
test rdi, rdi
je 0x140001b70
nop dword [rax]
cmp rdi, r10
je 0x140002fb2
mov rdi, qword [rdi + 8]
mov qword [rbp - 0x40], rdi
test rdi, rdi
jne 0x140002f90
mov r15d, dword [rbp + 0x13e0]
mov edi, dword [rsp + 0x40]
jmp 0x140001ae0
mov rbx, qword [rdi + 0x10]
cmp r11d, 0x41c
jne 0x140002fc8
mov rbx, qword [rbx + 0x390]
jmp 0x140002fe1
cmp r11d, 0x41e
jne 0x140002fda
mov rbx, qword [rbx + 0x3a0]
jmp 0x140002fe1
mov rbx, qword [rbx + 0x398]
mov edi, dword [rsp + 0x40]
test rbx, rbx
je 0x140002a59
mov r14d, esi
jmp 0x140003278
movzx r14d, byte [rbp + 0x13f0]
movzx eax, r10w
mov rbx, qword [rsp + 0x58]
mov ecx, 0x7fff
and ax, cx
cmp ax, word [0x1401166d8]
jae 0x140001b94
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 0x140003067
mov r14, qword [rdx + 0x28]
mov eax, 0xffff
mov qword [rbp - 0x38], r14
add r10w, ax
je 0x14000305e
nop dword [rax + rax]
mov r14, qword [r14 + 0x10]
add r10w, ax
jne 0x140003050
mov qword [rbp - 0x38], r14
test r14, r14
jne 0x1400031d4
cmp r11d, 0x400
jne 0x14000308a
mov rax, qword [rbp - 0x78]
mov edi, 0x64
shr rax, 0x10
movzx ecx, ax
sub edi, ecx
lea esi, [rcx + 0x3c2bb3]
jmp 0x14000308f
mov edi, 0x3c2c17
xor eax, eax
cmp byte [rdx + 0x19], al
jne 0x1400030b2
mov r15d, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
mov edi, dword [rsp + 0x40]
mov qword [rbp - 0x38], rax
jmp 0x140001ae0
mov r14, qword [rdx + 0x28]
mov rbx, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x38], r14
test r14, r14
je 0x1400031b9
nop word [rax + rax]
cmp byte [r14 + 0x28], 0
je 0x140003197
cmp byte [0x1401157f3], 0
je 0x140003159
mov r9, qword [r14]
mov rcx, r9
call fcn.1400ad8f0
test eax, eax
je 0x1400030fc
cmp eax, 1
jne 0x140003197
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x140003197
cmp byte [rcx], 0xcd
jne 0x140003197
movzx eax, byte [rcx + 1]
test al, al
je 0x140003155
mov rcx, qword [rcx + 8]
movzx eax, byte [rcx]
test al, al
jne 0x14000313c
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140003134
cmp qword [rax], 0
jne 0x140003155
cmp byte [rcx + 1], 0
jne 0x140003155
jmp 0x140003140
cmp al, 1
je 0x140003155
mov rcx, qword [rcx + 8]
lea rdx, [0x1400f5d64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140003197
mov rdx, qword [rbp - 0x48]
lea ecx, [rsi - 0x3c2bb3]
cmp edi, 0x66
jbe 0x140003169
mov ecx, 0x65
movzx eax, byte [r14 + 0x24]
cmp ecx, eax
jle 0x140003197
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x14000318d
mov rdx, qword [rdx + 0x20]
call fcn.14000e600
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140003197
cmp qword [r14 + 8], 0
jne 0x1400031ad
mov rbx, r14
mov r14, qword [r14 + 0x10]
mov qword [rbp - 0x38], r14
test r14, r14
je 0x1400031b4
mov rdx, qword [rbp - 0x48]
jmp 0x1400030d0
mov r11d, dword [rsp + 0x78]
jmp 0x1400031c0
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 0x140001b80
xor esi, esi
mov r9, qword [r14]
mov rcx, r9
call fcn.1400ad8f0
test eax, eax
je 0x1400031e8
cmp eax, 1
jne 0x1400031f6
mov rax, qword [r9 + 0x10]
test rax, rax
je 0x1400031f6
movzx ecx, byte [rax]
jmp 0x1400031f8
xor cl, cl
movzx eax, byte [r14 + 0x23]
cmp byte [r14 + 0x22], al
jb 0x140003248
add cl, 0x32
cmp cl, 0x14
ja 0x140003215
mov eax, 0x10fc01
bt eax, ecx
jb 0x140003248
cmp byte [r14 + 0x26], 0
je 0x140003221
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 0x140001ae0
mov rax, qword [r14 + 8]
test rax, rax
je 0x14000326d
movzx ecx, byte [rax]
lea eax, [rcx - 2]
test al, 0xfd
je 0x14000326d
cmp cl, 5
jb 0x140003271
mov rax, qword [0x1401156d0]
mov qword [rbp - 0x50], rax
jmp 0x140003271
mov qword [rbp - 0x50], rsi
mov rbx, qword [r14]
mov r14d, dword [r14 + 0x1c]
mov rsi, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400ad8f0
test eax, eax
je 0x14000328e
cmp eax, 1
jne 0x14000329f
mov rcx, qword [rbx + 0x10]
mov rax, rbx
test rcx, rcx
je 0x14000329f
movzx edi, byte [rcx]
jmp 0x1400032a2
xor dil, dil
mov ecx, dword [0x1401156c8]
mov eax, dword [0x140112058]
cmp ecx, eax
jl 0x14000332d
add eax, 2
cmp ecx, eax
jge 0x1400032ca
lea eax, [rdi + 0x32]
cmp al, 0x14
ja 0x1400032ca
mov ecx, 0x10fc01
bt ecx, eax
jb 0x14000332d
test r15, r15
je 0x1400032e7
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 0x140001ae0
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 0x140001ae0
mov rax, qword [0x140112060]
cmp r14d, dword [rax + 0x3c]
jge 0x14000339d
test r15, r15
je 0x140003357
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 0x140001ae0
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 0x140001ae0
lea eax, [r11 - 0x402]
mov byte [rbp - 0x58], 1
cmp eax, 0x1c
ja case.0x1400033c6.1028
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x43a0]
mov ecx, dword [rdx + rax*4 + 0x4394]
add rcx, rdx
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.0x1400033c6.1027
mov rax, qword [0x1401196f0]
mov qword [0x1401196f8], rax
mov eax, dword [0x140119794]
mov dword [0x140119798], eax
cmp r11d, 0x401
jne 0x140003441
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
jmp 0x140003449
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.140001670
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.140004e00
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.0x1400034e5.1032
lea r11, [0x140000000]
movzx eax, byte [r11 + rax + 0x43e0]
mov ecx, dword [r11 + rax*4 + 0x43c0]
add rcx, r11
jmp rcx
movsxd rdi, dword [rsp + 0x44]
lea rcx, [rbp + 0xc0]
mov r8, qword [rbp - 0x60]
mov rax, rdi
shl rax, 5
xor r9d, r9d
inc edi
mov word [rbp + 0x60], r9w
add rcx, rax
mov dword [rsp + 0x44], edi
cmp byte [rbp + 0x13f8], r9b
je 0x14000351d
mov rax, qword [r8]
jmp 0x140003522
mov rax, qword [r12 + 8]
mov qword [rcx], rax
mov r10d, 1
mov dword [rcx + 0x10], r10d
mov ecx, dword [rsp + 0x68]
mov eax, ecx
sub eax, 5
je 0x140003a71
sub eax, r10d
je 0x14000398f
sub eax, r10d
je 0x14000398f
sub eax, r10d
je 0x14000398f
cmp eax, r10d
je 0x1400036b9
mov rsi, qword [rbp - 0x60]
movzx eax, byte [rsi + 8]
cmp al, 0xa
je 0x1400035e5
cmp al, 0x19
jne 0x1400035b2
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 0x140003674
mov eax, ecx
mov rcx, qword [r11 + rax*8 + 0x100b88]
jmp 0x140003685
cmp cl, 0x49
jne 0x1400035b2
lea rax, [rbp + 0x60]
bt ecx, 8
jae 0x1400035fb
mov eax, 0x53
jmp 0x140003606
bt ecx, 9
jae 0x14000360e
mov eax, reloc.WSOCK32.dll_WSAStartup
mov word [rbp + 0x60], ax
lea rax, [rbp + 0x62]
bt ecx, 0xa
jae 0x14000361b
mov edx, 0x46
jmp 0x140003626
bt ecx, 0xb
jae 0x14000362d
mov edx, 0x66
mov word [rax], dx
add rax, 2
bt ecx, 0xc
jae 0x14000363a
mov ecx, 0x43
jmp 0x140003645
bt ecx, 0xd
jae 0x14000364c
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 0x140003bb0
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 0x140003894
test rsi, rsi
mov rsi, qword [rbp - 0x60]
je 0x1400037f5
movzx ecx, byte [rsi + 8]
mov dword [rbp - 0x30], 0x80000000
sub ecx, 9
je 0x140003777
sub ecx, r10d
je 0x140003748
sub ecx, r10d
je 0x14000371e
cmp ecx, 6
jne 0x1400037a3
xor r8d, r8d
mov edx, 0x419
jmp 0x140003796
mov rcx, qword [rsi]
mov edx, 0x110a
mov r8d, 9
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400037a3
mov qword [rbp - 0x30], rax
mov edx, 0x1104
mov r8d, 1
jmp 0x140003796
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 0x1400037a3
mov dword [rbp - 0x30], 2
mov edx, 0x100e
jmp 0x140003796
mov rcx, qword [rsi]
xor r8d, r8d
mov edx, OleCreatePictureIndirect
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x1400037a3
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 0x1400037bb
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x1400037cd
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 0x1400037e0
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 0x140003887
sub ecx, 1
je 0x140003863
cmp ecx, 1
jne 0x140003898
mov rcx, qword [rsi]
cmp edx, 1
jne 0x140003833
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 0x140003898
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 0x140003898
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 0x140003898
xor r9d, r9d
mov edx, OleCreatePictureIndirect
xor r8d, r8d
jmp 0x140003872
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 0x1400038e2
mov rcx, qword [rsi]
jmp 0x1400038e9
lea rcx, [0x1400e0684]
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 0x140003bb0
mov dword [r14 + 0x44], r10d
cmp ecx, 8
jne 0x140003ba2
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 0x140003a0b
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 0x140003a5c
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 0x140003ba7
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.140094310
mov qword [rdi], rax
mov rax, qword [rbp - 0x60]
mov dword [rdi + 0x10], 6
test rax, rax
je 0x140003b0a
mov rdx, qword [rax]
mov r8d, 1
jmp 0x140003b16
xor eax, eax
lea rdx, [0x1400e0684]
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 0x140003b76
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 0x140003a2d
mov r8d, dword [rsp + 0x44]
mov rsi, qword [rbp - 0x60]
mov rdi, qword [rsp + 0x50]
cmp byte [rbp + 0x13f8], 0
je 0x140003c7a
cmp byte [rsi + 8], 0x17
jne 0x140003c7a
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 0x140003cde
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.1400c3f40
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.140001670
xor ecx, ecx
mov qword [rdi], rax
mov dword [rdi + 0x10], ecx
jmp 0x140003ce0
cmp word [rbp + 0x60], 0
je 0x140003ca4
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 0x140003ccc
cmp ecx, 5
je 0x140003ccc
mov rcx, qword [0x1401156c0]
lea rdx, [rbp + 0x60]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400c3f40
jmp 0x140003cde
mov rcx, qword [0x1401156c0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rdx, rdi
call fcn.140001470
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 0x140003d20
mov byte [rdi], 1
jmp 0x140003d29
test r14b, r14b
je 0x140003d29
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, [0x1400e0708]
mov rdx, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.1400a9aa0
cmp qword [r12 + 8], 0
je 0x140003df8
mov eax, dword [rsp + 0x68]
test rdi, rdi
je 0x140003da6
mov byte [rdi], 0
cmp eax, 6
jne 0x140003daf
cmp qword [rbp + 0x80], 0
jne 0x140003df8
mov rcx, rbx
call fcn.1400ad8f0
test eax, eax
jne 0x140003d92
test rbx, rbx
jne 0x140003df8
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x140003df8
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140003df8
test r14b, r14b
je 0x140003daf
and byte [rsi + 9], 0xfb
cmp eax, 5
jne 0x140003df8
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 0x14000417f
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.1400dccbc
jmp 0x14000417f
test r12, r12
je 0x140003e4c
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.14006aa50
mov dword [rsp + 0x30], esi
lea r9, [rbp]
mov qword [rsp + 0x28], rsi
lea r8, [0x1400e0708]
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.1400a9aa0
test r12, r12
je 0x140004181
mov eax, 0xffffffff
add dword [r12 + 0x34], eax
jne 0x140004181
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.1400dccbc
jmp 0x140004181
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.1400ad8f0
test eax, eax
je 0x140003f0f
cmp eax, 1
jne 0x140003f1d
mov rax, qword [r9 + 0x10]
test rax, rax
je 0x140003f1d
movzx ecx, byte [rax]
jmp 0x140003f1f
xor cl, cl
movzx eax, byte [rbx + 0x39]
cmp byte [rbx + 0x38], al
jb 0x140003f42
add cl, 0x32
cmp cl, 0x14
ja 0x14000417f
mov eax, 0x10fc01
bt eax, ecx
jae 0x14000417f
mov byte [0x14011979e], 0
lea r8, [0x1400e0708]
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.1400a9aa0
dec byte [rbx + 0x38]
jmp 0x140004181
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x140003fac
mov ecx, SafeArrayDestroy
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140003fa3
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov edx, 2
test eax, eax
je 0x140003fa8
mov edx, 1
xor esi, esi
jmp 0x140003fb0
xor esi, esi
mov edx, esi
mov rcx, qword [0x1401156c0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov qword [r14 + 0x48], rdx
call fcn.140001470
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 0x140004023
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.140041960
mov rax, qword [0x140112060]
mov edx, 1
mov qword [rax + 0xe8], rbx
mov rcx, qword [0x140119748]
cmp qword [rbp - 0x80], 0
jne 0x140004047
test rcx, rcx
mov r9d, esi
mov r8d, edx
lea rcx, [0x140119718]
sete r9b
lea rdx, [rbp]
call fcn.1400ad9a0
mov byte [0x140119760], 0
jmp 0x140004181
mov rdi, qword [rbp - 0x40]
lea r9, [rbp]
xor esi, esi
mov dword [rbp + 0x10], 6
mov dword [rsp + 0x30], esi
lea r8, [0x1400e0708]
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.1400a9aa0
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140004181
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, [0x1400e0708]
mov dword [rbp + 0x10], 6
mov rdx, rbx
mov rcx, rbx
call fcn.1400a9aa0
jmp 0x140004181
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 0x1400040e3
mov rdi, qword [rbp - 0x48]
movzx eax, byte [rdi + 0x10]
add al, 0x64
cmp al, 3
ja 0x14000415a
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.14000f6b0
xor esi, esi
lea rcx, [rbp + 0x1d0]
call fcn.140005040
cmp dword [rbp + 0x13e8], 0
movsxd r15, dword [rbp + 0x13e0]
movzx r14d, byte [rbp + 0x13f0]
mov rbx, r15
mov edi, dword [rsp + 0x40]
je 0x140001ae0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
test r14b, r14b
jne 0x1400041d8
movsxd r15, dword [rbp + 0x13e0]
mov ecx, dword [rbp - 0x54]
mov rbx, r15
sub ecx, eax
add ecx, r15d
cmp ecx, 5
jg 0x140001ae0
jmp 0x1400041df
mov r15d, dword [rbp + 0x13e0]
movsxd rbx, r15d
cmp rbx, 0xffffffffffffffff
jle 0x1400041f5
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 0x140001ae0
mov rcx, qword [0x140112060]
mov byte [rcx + 0x128], 0
jmp 0x14000422a
mov rcx, qword [0x140112060]
mov rdx, qword [0x1401156a8]
test rdx, rdx
je 0x140004269
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 0x140001ae0
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 0x140002a43
cmp rbx, 0xffffffffffffffff
jle 0x1400042ac
xor ebx, ebx
mov dword [0x1401197e8], eax
mov qword [0x1401197d8], rbx
jmp 0x1400042ae
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 0x140004321
mov eax, dword [0x1401156ec]
dec eax
mov dword [0x1401156ec], eax
test r15d, r15d
jle 0x140004321
test eax, eax
jne 0x140004321
cmp dword [0x14011977c], eax
jne 0x140004321
cmp dword [0x1401166c0], eax
jne 0x140004321
cmp byte [0x140115542], al
je 0x140004321
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 0x140002944