Function at 0x140001800
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Get graphical window text
Log keystrokes via polling
Set current directory

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1388]
mov eax, 0x1488
call fcn.1400ae8c0
sub rsp, rax
mov byte [rsp + 0x4c], 0
mov ebx, edx
mov edi, ecx
mov r15d, 1
cmp edx, 2
jne 0x14000184f
cmp byte [0x1400f1193], 0
mov ebx, r15d
jne 0x14000184f
mov byte [0x1400f1193], bl
mov byte [rsp + 0x4c], bl
cmp dword [0x1400f6624], 0
je 0x140001866
xor edx, edx
lea rcx, [0x1400f65f8]
call fcn.140004e70
xor esi, esi
cmp edi, 0x8000012f
jne 0x140001887
mov edi, 0xa
mov byte [rbp + 0x13d8], r15b
mov dword [rbp + 0x13d0], edi
mov dword [rbp - 0x70], esi
jmp 0x1400018a5
cmp edi, 5
setle al
mov byte [rbp + 0x13d8], al
test al, al
je 0x14000189c
mov dword [rbp - 0x70], esi
jmp 0x1400018a5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x70], eax
cmp dword [0x1400f2478], esi
je 0x1400018b2
call fcn.140003820
xor r14b, r14b
cmp dword [0x1400f6504], esi
mov dword [rsp + 0x44], r14d
je 0x1400018d6
call fcn.140003650
test al, al
movzx r14d, r14b
cmovne r14d, r15d
mov dword [rsp + 0x44], r14d
test edi, edi
jle 0x140001917
cmp ebx, r15d
jne 0x140001917
inc dword [0x1400f1540]
cmp byte [0x1400f1192], sil
mov byte [rsp + 0x4d], r15b
jne 0x14000191c
mov rcx, qword [0x1400f1538]
xor r9d, r9d
lea edx, [r9 + 9]
lea r8d, [r9 + 0xa]
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
setne byte [0x1400f1192]
jmp 0x14000191c
mov byte [rsp + 0x4d], sil
mov r13, qword [rbp + 0x13e0]
mov r12, qword [rbp + 0x13e0]
mov r15, qword [rbp + 0x13e0]
movsxd rax, ebx
mov ebx, esi
mov qword [rbp - 0x38], rax
mov byte [rsp + 0x4e], sil
mov byte [rbp + 0x13e8], sil
mov dword [rsp + 0x40], esi
jmp 0x140001955
mov ebx, dword [rsp + 0x40]
mov r14d, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
test edi, edi
jle 0x140001a2a
cmp byte [rbp + 0x13e8], 0
jne 0x140001a2a
cmp byte [0x1400f1193], 0
jne 0x140001a37
cmp dword [0x1400edaa0], 0
je 0x1400019de
cmp dword [0x1400f1194], 0
jne 0x1400019de
mov rcx, qword [0x1400edaa8]
cmp byte [rcx + 0x124], 0
jne 0x1400019d5
cmp byte [rcx + 0x126], 0
jne 0x1400019d5
cmp dword [rcx + 0x118], 0xffffffff
jle 0x1400019d5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400edaa8]
sub eax, dword [rcx + 0x114]
cmp eax, dword [rcx + 0x118]
jb 0x1400019d5
mov byte [rcx + 0x124], 1
movzx eax, byte [rcx + 0x124]
jmp 0x1400019e2
xor ecx, ecx
mov eax, ecx
test eax, eax
lea rcx, [rsp + 0x60]
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 0x140001955
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x140001cef
mov dword [0x1400f6570], eax
jmp 0x140001cef
cmp byte [0x1400f1193], 0
je 0x140001bbb
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140001bbb
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1400f5950]
jne 0x140001bbb
cmp dword [0x1400f1534], 0
je 0x140001ab3
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x120]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
xor ecx, ecx
lea rdx, [rbp + 0x120]
mov eax, ecx
lea r8, [0x1400bdf90]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x140001aac
cmp rax, 7
jne 0x140001a91
cmp cx, word [r8 + rax*2 - 2]
sete al
test al, al
jne 0x140001b0a
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x140001bbb
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x120]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, [0x1400bdfa0]
lea rcx, [rbp + 0x120]
call fcn.140099630
test eax, eax
je 0x140001b0a
lea rdx, [0x1400bdfc0]
lea rcx, [rbp + 0x120]
call fcn.140099630
test eax, eax
jne 0x140001bbb
call fcn.140003ef0
test eax, eax
lea rcx, [rsp + 0x60]
mov eax, 0xffffffff
mov ebx, 0x311
cmovne ebx, eax
mov r9d, 0x1ff
xor eax, eax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r9d, ebx
mov r8d, 0x20e
test eax, eax
je 0x140001c37
mov edi, dword [rbp - 0x80]
xor eax, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
xor edx, edx
lea rcx, [rsp + 0x60]
test eax, eax
jne 0x140001b8f
mov eax, 1
mov dword [rsp + 0x20], eax
mov r9d, 0x1ff
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [rbp + 0x13d0]
jmp 0x140001c46
mov eax, dword [rbp - 0x80]
sub eax, edi
test eax, eax
mov eax, 1
mov dword [rsp + 0x20], eax
jg 0x140001b75
mov r9d, ebx
mov r8d, 0x20e
call qword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [rbp + 0x13d0]
jmp 0x140001c46
cmp dword [0x1400edaa0], 0
je 0x140001c1a
cmp dword [0x1400f1194], 0
jne 0x140001c1a
mov rcx, qword [0x1400edaa8]
cmp byte [rcx + 0x124], 0
jne 0x140001c11
cmp byte [rcx + 0x126], 0
jne 0x140001c11
cmp dword [rcx + 0x118], 0xffffffff
jle 0x140001c11
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400edaa8]
sub eax, dword [rcx + 0x114]
cmp eax, dword [rcx + 0x118]
jb 0x140001c11
mov byte [rcx + 0x124], 1
movzx eax, byte [rcx + 0x124]
jmp 0x140001c1c
xor eax, eax
test eax, eax
lea rcx, [rsp + 0x60]
mov eax, 0
mov r9d, 0x311
cmovne r9d, eax
xor r8d, r8d
xor edx, edx
mov eax, 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140001ceb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1400f6570]
mov ecx, eax
sub ecx, esi
cmp ecx, 3
cmova edx, eax
mov dword [0x1400f6570], edx
test edi, edi
jne 0x140001c8b
cmp byte [rsp + 0x4e], dil
jne 0x140001c8b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [rsp + 0x40]
mov byte [rsp + 0x4e], 1
jmp 0x140001955
mov ebx, dword [rsp + 0x40]
test ebx, ebx
jne 0x140001cb8
cmp byte [rbp + 0x13d8], bl
je 0x140001cb8
test edi, edi
jle 0x140001ca8
lea ecx, [rbx + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov ebx, eax
mov dword [rsp + 0x40], eax
jmp 0x140001955
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [rbp + 0x13d8], 0
jne 0x140003531
mov ecx, dword [rbp - 0x70]
sub ecx, eax
add ecx, edi
cmp ecx, 5
jle 0x140003531
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001955
mov ebx, dword [rsp + 0x40]
inc ebx
cmp dword [0x1400f5968], 0
mov dword [rsp + 0x40], ebx
je 0x140001d34
mov r9, qword [rsp + 0x78]
lea rax, [rbp + 0x110]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.1400038a0
test al, al
jne 0x140001955
mov r8d, dword [0x1400f1530]
mov r10, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x68]
test r8d, r8d
je 0x140002197
test r10, r10
je 0x140002197
cmp r10, qword [0x1400f1538]
je 0x140002197
cmp ecx, 0x414
je 0x140002197
cmp ecx, 0x402
je 0x140002197
lea eax, [rcx - 0x100]
cmp eax, 9
ja 0x140002104
call qword [sym.imp.USER32.dll_GetFocus]
mov rsi, rax
test rax, rax
je 0x1400020f4
mov rcx, rax
call fcn.14007f8e0
mov rbx, rax
test rax, rax
je 0x1400020f4
mov rcx, rsi
call fcn.140060600
mov r13, rax
test rax, rax
je 0x1400020f4
mov rdx, qword [rax + 0xb8]
test rdx, rdx
je 0x140001dea
lea r8, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov ebx, dword [rsp + 0x40]
test eax, eax
jne 0x140001955
mov ecx, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
cmp ecx, 0x100
jne 0x14000207f
cmp byte [r13 + 0x100], 0
je 0x140001f73
cmp rbx, 0x27
ja 0x140001f73
movabs rax, 0xa600000200
bt rax, rbx
jae 0x140001f73
mov rdx, rsi
mov rcx, r13
call fcn.140001780
mov r12, rax
test rax, rax
je 0x140001f5e
movzx ecx, byte [rax + 8]
cmp cl, 0xf
je 0x140001f5e
mov rbx, qword [rsp + 0x70]
xor eax, eax
mov edi, eax
cmp cl, 0x13
jne 0x140001e96
lea rax, [rbx - 0x25]
mov rdi, r12
test rax, 0xfffffffffffffffd
jne 0x140001e96
cmp rbx, 0x27
mov byte [rsp + 0x20], 0
mov rdx, r12
mov rcx, r13
sete r8b
xor r9d, r9d
call fcn.14006e220
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
jmp 0x140001955
lea rax, [rbx - 0x25]
test rax, 0xfffffffffffffffd
je 0x140001f63
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140001f5e
mov rbx, qword [rsp + 0x70]
cmp rbx, 9
jne 0x140001ee8
cmp byte [r12 + 8], 0xc
jne 0x140001ee8
mov rcx, qword [r12]
lea edx, [rbx - 0x19]
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x140001f5e
mov rbx, qword [rsp + 0x70]
test rdi, rdi
jne 0x140001f15
movzx edx, byte [r12 + 0xa]
mov rcx, r13
call fcn.14006df80
mov rdi, rax
test rax, rax
jne 0x140001f15
xor edx, edx
mov rcx, r13
call fcn.14006df80
mov rdi, rax
test rax, rax
je 0x140001f63
cmp rbx, 0x22
je 0x140001f39
cmp rbx, 9
jne 0x140001f34
lea ecx, [rbx + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140001f39
xor r8d, r8d
jmp 0x140001f3c
mov r8b, 1
mov r9b, 1
mov byte [rsp + 0x20], 1
mov rdx, rdi
mov rcx, r13
call fcn.14006e220
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
jmp 0x140001955
mov rbx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
cmp ecx, 0x100
jne 0x14000207f
cmp rbx, 0x1b
je 0x140001fb4
cmp rbx, 9
je 0x140001fb4
cmp rbx, 0x41
jne 0x14000207f
lea ecx, [rbx - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
je 0x140002076
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x140002076
mov rdx, rsi
mov rcx, r13
call fcn.140001780
mov r12, rax
test rax, rax
je 0x140002076
cmp byte [rax + 8], 0xc
jne 0x140002076
mov rbx, qword [rsp + 0x70]
cmp rbx, 0x1b
je 0x140002044
cmp rbx, 0x41
je 0x14000201a
test byte [rax + 9], 0x80
je 0x14000207b
mov rcx, qword [rax]
lea r9, [0x1400bdfdc]
mov edx, 0xc2
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
jmp 0x140001955
test byte [rax + 9], 2
jne 0x14000207b
mov rcx, qword [rax]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
jmp 0x140001955
cmp qword [r13 + 0x40], 0
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
je 0x140001955
mov rcx, qword [r13 + 8]
xor r9d, r9d
mov edx, 0x414
mov r8d, 0x2af80007
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140001955
mov rbx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
mov rax, qword [0x1400f58b0]
test rax, rax
je 0x1400020e6
cmp ecx, 0x100
jne 0x1400020e6
cmp rbx, 0xd
jne 0x1400020bc
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1116
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
jmp 0x140001955
cmp rbx, 0x1b
jne 0x1400020e6
xor r9d, r9d
lea r8d, [rbx - 0x1a]
mov edx, 0x1116
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
jmp 0x140001955
mov r10, qword [rsp + 0x60]
mov r8d, dword [0x1400f1530]
jmp 0x140002109
mov ecx, dword [rsp + 0x68]
mov r10, qword [rsp + 0x60]
mov r8d, dword [0x1400f1530]
mov rbx, qword [rsp + 0x70]
xor esi, esi
mov edi, esi
test r8d, r8d
jle 0x14000219e
mov rcx, qword [0x1400edaa8]
mov ebx, esi
nop
mov byte [rcx + 0x120], 1
lea rdx, [rsp + 0x60]
mov eax, dword [rsp + 0x68]
mov dword [rcx + 0x11c], eax
mov rax, qword [0x1400f1528]
mov rcx, qword [rbx + rax]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14000217a
mov rcx, qword [0x1400edaa8]
inc edi
mov r8d, dword [0x1400f1530]
add rbx, 8
mov byte [rcx + 0x120], sil
cmp edi, r8d
jl 0x140002120
mov ecx, dword [rsp + 0x68]
mov r10, qword [rsp + 0x60]
jmp 0x140002199
mov rax, qword [0x1400edaa8]
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
mov byte [rax + 0x120], sil
jmp 0x140001955
xor esi, esi
mov rbx, qword [rsp + 0x70]
cmp ecx, 0x312
ja 0x140002353
je 0x140002395
sub ecx, 0x12
je 0x14000232e
sub ecx, 0x39
je 0x140002311
sub ecx, 0xb5
je 0x1400022dc
cmp ecx, 0x13
jne 0x14000252b
cmp qword [rsp + 0x78], 0
jne 0x14000252b
cmp r10, qword [0x1400f1538]
jne 0x14000252b
cmp dword [0x1400f2478], 0
je 0x1400021fe
call fcn.140003820
cmp dword [0x1400f6504], 0
je 0x140002220
call fcn.140003650
test al, al
movzx r14d, r14b
mov eax, 1
cmovne r14d, eax
mov dword [rsp + 0x44], r14d
cmp qword [rbp - 0x38], 0
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
je 0x140001955
cmp edi, 1
jl 0x140001955
movzx r8d, byte [rbp + 0x13d8]
mov ecx, edi
mov edx, dword [rbp - 0x70]
call fcn.1400035d0
test eax, eax
je 0x1400029b1
cmp byte [rsp + 0x4c], 0
movzx eax, byte [0x1400f1193]
cmovne eax, esi
cmp byte [rsp + 0x4d], 0
mov byte [0x1400f1193], al
je 0x1400022c4
mov eax, dword [0x1400f1540]
dec eax
mov dword [0x1400f1540], eax
test edi, edi
jle 0x1400022c4
test eax, eax
jne 0x1400022c4
cmp dword [0x1400f6504], eax
jne 0x1400022c4
cmp dword [0x1400f2478], eax
jne 0x1400022c4
cmp byte [0x1400f1192], al
je 0x1400022c4
mov rcx, qword [0x1400f1538]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x1400f1192]
test eax, eax
cmovne ecx, esi
mov byte [0x1400f1192], cl
movzx eax, r14b
add rsp, 0x1488
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp r10, qword [0x1400f1508]
jne 0x14000252b
cmp rbx, 0x1b
jne 0x14000252b
mov rcx, qword [0x1400f1538]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
jmp 0x140001955
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
mov qword [0x1400f1510], rsi
mov byte [rbp + 0x13e8], 1
jmp 0x140001955
xor r9d, r9d
lea rcx, [0x1400f59d0]
xor r8d, r8d
lea edx, [r9 + 6]
call fcn.1400178b0
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
jmp 0x140001955
cmp ecx, 0x400
jb 0x14000252b
cmp ecx, 0x401
jbe 0x140002383
cmp ecx, 0x402
je 0x140002395
cmp ecx, 0x414
je 0x140002395
cmp ecx, 0x415
jne 0x14000252b
test r10, r10
je 0x140002395
cmp r10, qword [0x1400f1538]
jne 0x14000252b
mov r14, rsi
sub ecx, 0x401
je 0x14000287b
sub ecx, 1
je 0x1400027c0
sub ecx, 0x12
je 0x1400024fc
mov edi, dword [rbp + 0x13d0]
sub ecx, 1
je 0x1400024d4
mov eax, 0x3fff
movzx ecx, bx
and cx, ax
mov rax, qword [0x1400ef488]
cmp cx, word [rax]
jae 0x14000194c
movzx eax, cx
lea rcx, [0x140000000]
shr rbx, 0x10
mov rax, qword [rcx + rax*8 + 0xf2480]
mov qword [rbp - 0x48], rax
test bx, bx
je 0x140002423
mov rdi, qword [rax + 0x28]
mov ecx, 0xffff
mov qword [rbp - 0x50], rdi
add bx, cx
je 0x14000241e
mov rdi, qword [rdi + 0x28]
add bx, cx
jne 0x140002411
mov qword [rbp - 0x50], rdi
test rdi, rdi
jne 0x14000243f
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14000b5a0
mov qword [rbp - 0x50], rax
mov rdi, rax
test rax, rax
je 0x1400025eb
mov rbx, qword [rdi]
mov rcx, rbx
call fcn.140074ed0
test eax, eax
je 0x140002453
cmp eax, 1
jne 0x140002461
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140002461
movzx ecx, byte [rax]
jmp 0x140002463
xor cl, cl
movzx eax, byte [rdi + 0x38]
cmp byte [rdi + 0x37], al
jb 0x14000249f
add cl, 0x36
cmp cl, 0x14
ja 0x140002481
movzx eax, cl
mov ecx, 0x10fc01
bt ecx, eax
jb 0x14000249f
cmp byte [rdi + 0x3b], 0
je 0x14000248b
mov byte [rdi + 0x3c], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 8], eax
mov edi, dword [rbp + 0x13d0]
jmp 0x14000194c
movzx ecx, byte [rdi + 0x36]
lea eax, [rcx - 2]
test al, 0xfd
je 0x1400024c5
cmp cl, 5
jne 0x1400024c9
mov rax, qword [0x1400f1520]
mov rbx, qword [rdi]
mov esi, dword [rdi + 0x30]
mov qword [rbp - 0x68], rax
jmp 0x14000293d
mov qword [rbp - 0x68], rsi
mov rbx, qword [rdi]
mov esi, dword [rdi + 0x30]
jmp 0x14000293d
cmp byte [0x1400f64e8], 0
mov ebx, dword [rsp + 0x40]
jne 0x140001950
mov rbx, qword [0x1400f64d0]
test rbx, rbx
cmove rbx, qword [0x1400f6070]
jmp 0x14000293d
mov edx, esi
mov rcx, rsi
test r8d, r8d
jle 0x140002528
mov r9, qword [0x1400f1528]
nop dword [rax]
mov rax, qword [r9 + rcx*8]
cmp qword [rax + 8], r10
je 0x1400025ff
inc edx
inc rcx
cmp edx, r8d
jl 0x140002510
mov r13, rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400034c2
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1400f5950]
jne 0x1400034c2
mov r8d, SafeArrayAllocDescriptor
lea rdx, [rbp + 0x120]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
mov rcx, rsi
lea rdx, [rbp + 0x120]
lea r8, [0x1400bdf90]
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1400034c2
cmp rcx, 7
jne 0x140002580
mov rcx, qword [0x1400edaa8]
lea rdx, [rsp + 0x60]
mov byte [rcx + 0x120], 1
mov eax, dword [rsp + 0x68]
mov dword [rcx + 0x11c], eax
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x1400034b2
cmp dword [0x1400f1534], 0
je 0x1400025dd
lea rcx, [0x1400f1300]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rax, qword [0x1400edaa8]
mov byte [rax + 0x120], 0
mov r14d, dword [rsp + 0x44]
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
jmp 0x140001955
mov r13, rax
test rax, rax
je 0x14000252b
mov r8, qword [rsp + 0x78]
movzx edx, bx
shr rbx, 0x10
movzx eax, bx
mov dword [rbp - 0x5c], eax
mov qword [rsp + 0x58], r8
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x48], esi
cmp edx, 8
jne 0x140002640
mov qword [rsp + 0x58], rax
mov eax, 0x2af8
mov dword [rbp - 0x5c], eax
mov dword [rbp - 0x60], r8d
cmp eax, dword [r13 + 0x20]
jae 0x140002654
lea rcx, [rax + rax*4]
mov rax, qword [r13 + 0x28]
lea r12, [rax + rcx*8]
jmp 0x140002657
mov r12, rsi
mov eax, edx
mov qword [rbp - 0x58], rsi
mov byte [rbp + 0x13e0], 0
sub eax, 5
je 0x140002757
mov edi, dword [rbp + 0x13d0]
sub eax, 1
je 0x140002725
sub eax, 1
je 0x140002712
sub eax, 1
je 0x1400026ff
cmp eax, 1
je 0x1400026ed
mov ebx, dword [rsp + 0x40]
test r12, r12
je 0x140001950
mov rbx, qword [r12 + 0x18]
test rbx, rbx
jne 0x1400026d5
test byte [r12 + 9], 1
mov r14d, dword [rsp + 0x44]
mov ebx, dword [rsp + 0x40]
je 0x140001955
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x140001955
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140001950
test byte [r12 + 9], 4
jne 0x14000194c
mov byte [rbp + 0x13e0], 1
jmp 0x14000293d
mov rbx, qword [r13 + 0x58]
test rbx, rbx
je 0x14000194c
jmp 0x14000293d
mov rbx, qword [r13 + 0x48]
test rbx, rbx
je 0x14000194c
lea rcx, [r13 + 0x62]
jmp 0x140002736
mov rbx, qword [r13 + 0x40]
test rbx, rbx
je 0x14000194c
lea rcx, [r13 + 0x61]
jmp 0x140002736
mov rbx, qword [r13 + 0x38]
test rbx, rbx
je 0x14000194c
lea rcx, [r13 + 0x60]
mov qword [rbp - 0x58], rcx
test rcx, rcx
je 0x14000293d
cmp byte [rcx], 0
mov edi, dword [rbp + 0x13d0]
jne 0x14000194c
jmp 0x14000293d
mov rbx, qword [r13 + 0x50]
mov r14, qword [r13 + 0xa0]
test rbx, rbx
je 0x140002798
mov edi, dword [rbp + 0x13d0]
test r14, r14
je 0x14000194c
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov eax, eax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x14000293d
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
test r14, r14
je 0x140001950
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
mov qword [r13 + 0xa0], rsi
jmp 0x140001950
test rbx, rbx
je 0x14000280b
mov edx, esi
mov rcx, rsi
test r8d, r8d
jle 0x1400027ea
mov r9, qword [0x1400f1528]
mov rax, qword [r9 + rcx*8]
cmp qword [rax + 8], rbx
je 0x140002801
inc edx
inc rcx
cmp edx, r8d
jl 0x1400027d6
mov r13, rsi
test r10, r10
je 0x14000280e
cmp r10, qword [0x1400f1538]
jne 0x14000252b
jmp 0x14000280e
mov r13, rax
test rax, rax
jne 0x14000280e
jmp 0x1400027ed
mov r13, rsi
mov rcx, qword [0x1400f6508]
test rcx, rcx
je 0x140002848
mov rax, qword [rsp + 0x78]
nop
mov r15, qword [rcx + 8]
test r15, r15
je 0x14000283f
nop dword [rax]
cmp dword [r15 + 0x10], eax
je 0x14000285f
mov r15, qword [r15 + 0x38]
test r15, r15
jne 0x140002830
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x140002820
mov r14d, dword [rsp + 0x44]
mov r15, rsi
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
jmp 0x140001955
mov rbx, qword [r15 + 0x18]
mov edi, dword [rbp + 0x13d0]
test rbx, rbx
je 0x14000194c
mov esi, dword [r15 + 0x30]
jmp 0x14000293d
mov eax, dword [0x1400f2424]
mov edi, dword [rbp + 0x13d0]
cmp rbx, rax
jae 0x14000194c
mov rax, qword [0x1400f2470]
mov rsi, qword [rax + rbx*8]
mov qword [rbp - 0x40], rsi
movzx r10d, byte [rsi + 0x38]
test r10b, r10b
je 0x1400028fa
mov rax, qword [rsi]
test rax, rax
je 0x1400028b7
mov rcx, qword [rax + 8]
jmp 0x1400028be
lea rcx, [0x1400bdf7c]
mov r9d, dword [rsi + 0x30]
mov r8, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x18]
mov qword [rsp + 0x20], rcx
movzx ecx, r10b
call fcn.14000aa60
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140001950
movzx ecx, byte [rsi + 0x38]
dec cl
test cl, 0xfd
je 0x140002900
xor eax, eax
mov qword [rbp - 0x68], rax
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call fcn.14000dac0
mov rax, qword [rsi + 0x10]
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
cmp word [rax], 0
jne 0x140001950
xor eax, eax
cmp byte [rsi + 0x43], al
cmovne ax, word [rsp + 0x78]
mov word [0x1400f6524], ax
mov rbx, qword [rsi]
mov esi, dword [rsi + 0x28]
mov rcx, rbx
call fcn.140074ed0
test eax, eax
je 0x14000294e
cmp eax, 1
jne 0x14000295c
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14000295c
movzx edi, byte [rax]
jmp 0x14000295f
xor dil, dil
mov ecx, dword [0x1400f12f4]
mov eax, dword [0x1400edaa4]
cmp ecx, eax
jl 0x1400029b6
add eax, 2
cmp ecx, eax
jge 0x140002987
lea eax, [rdi + 0x36]
cmp al, 0x14
ja 0x140002987
mov ecx, 0x10fc01
bt ecx, eax
jb 0x1400029b6
mov edi, dword [rbp + 0x13d0]
mov ebx, dword [rsp + 0x40]
test r14, r14
je 0x140001950
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
mov r14d, dword [rsp + 0x44]
xor eax, eax
mov qword [r13 + 0xa0], rax
jmp 0x140001955
mov rax, qword [0x1400edaa8]
cmp esi, dword [rax + 0x3c]
jl 0x140002987
mov ecx, dword [rsp + 0x68]
mov byte [rsp + 0x44], 1
cmp ecx, 0x402
je 0x140002a41
lea eax, [rcx - 0x414]
cmp eax, 1
jbe 0x140002a81
mov rax, qword [0x1400f6490]
mov qword [0x1400f6498], rax
mov eax, dword [0x1400f651c]
mov dword [0x1400f6520], eax
cmp ecx, 0x401
jne 0x140002a24
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
mov rcx, qword [rax + 8]
mov qword [0x1400f6490], rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400f651c], eax
jmp 0x140002a81
mov rax, qword [rbp - 0x48]
mov rax, qword [rax + 8]
mov qword [0x1400f6490], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400f651c], eax
jmp 0x140002a81
mov rdx, qword [r15]
lea rcx, [0x1400f6078]
mov r8d, 0x104
call fcn.1400a2664
xor eax, eax
lea rcx, [0x1400f6282]
mov word [0x1400f6280], ax
mov r8d, 0x104
mov rdx, qword [r15 + 0x28]
mov rdx, qword [rdx]
call fcn.1400a2664
xor eax, eax
mov word [0x1400f648a], ax
mov rcx, qword [0x1400f1518]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.1400015b0
mov r8d, 0x7f
lea rcx, [rbp + 0x1c0]
mov rdx, rax
call fcn.1400a2664
xor eax, eax
movzx r9d, dil
mov r8b, 1
mov word [rbp + 0x2be], ax
xor edx, edx
mov ecx, esi
call fcn.140003c80
mov rsi, qword [0x1400edaa8]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400f6574], eax
mov dword [0x1400f6570], eax
mov eax, dword [rsp + 0x68]
sub eax, 0x401
je 0x140003441
sub eax, 1
je 0x140003398
sub eax, 0x12
je 0x140002bfa
cmp eax, 1
je 0x140002b41
mov r8, qword [rbp - 0x48]
movzx eax, byte [r8 + 0x1a]
add al, 0x64
cmp al, 3
ja 0x140002b18
mov eax, dword [rsp + 0x78]
mov qword [rsi + 0x48], rax
mov rcx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x68]
mov rdx, rcx
mov qword [rsi + 0xf0], rax
movzx eax, byte [rcx + 0x39]
mov rcx, r8
mov byte [rsi + 0x12e], al
call fcn.14000ba10
jmp 0x14000345f
call qword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x140002b79
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140002b70
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140002b70
mov eax, 2
xor ebx, ebx
jmp 0x140002b7d
mov eax, 1
xor ebx, ebx
jmp 0x140002b7d
xor ebx, ebx
mov eax, ebx
mov rcx, qword [0x1400f1518]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
movsxd rdx, eax
mov qword [rsi + 0x48], rdx
call fcn.140001460
mov rax, qword [rsi + 0x48]
mov ecx, 1
mov qword [rbp + 0x28], rax
mov rax, qword [0x1400f64d0]
mov dword [rbp + 0x38], ecx
mov byte [0x1400f64e8], cl
test rax, rax
je 0x140002bc9
mov rcx, rax
call fcn.1400016b0
mov rax, qword [0x1400f64d0]
mov ecx, 1
cmp qword [rsp + 0x70], 0
jne 0x140002bee
test rax, rax
lea rdx, [rbp + 0x28]
mov r9d, ebx
mov r8d, ecx
sete r9b
lea rcx, [0x1400f64b8]
call fcn.140075040
mov byte [0x1400f64e8], 0
jmp 0x14000345f
xor r10d, r10d
mov word [rbp - 0x30], r10w
cmp byte [rbp + 0x13e0], r10b
je 0x140002c11
mov rcx, qword [r12]
jmp 0x140002c15
mov rcx, qword [r13 + 8]
movsxd r8, dword [rsp + 0x48]
mov r11d, 1
mov edi, dword [rsp + 0x50]
mov rax, r8
shl rax, 5
inc r8d
mov dword [rsp + 0x48], r8d
mov dword [rbp + rax + 0x60], r11d
mov qword [rbp + rax + 0x50], rcx
cmp edi, 5
je 0x140002ff7
jbe 0x140002ed7
cmp edi, 8
jbe 0x140002e06
cmp edi, 9
jne 0x140002ed7
mov r9, qword [rsp + 0x58]
mov ecx, 3
test r9, r9
mov qword [rsp + 0x58], r10
cmovne ecx, r11d
mov dword [rsi + 0x44], ecx
mov rax, qword [rbp - 0x7c]
mov qword [rsi + 0x50], rax
test r12, r12
je 0x140002d2a
cmp ecx, r11d
jne 0x140002c9d
lea r8, [rsi + 0x50]
mov rdx, r12
call fcn.14006e340
lea r11d, [rdi - 8]
movzx ecx, byte [r12 + 8]
sub ecx, 9
je 0x140002d0c
sub ecx, 1
je 0x140002cfe
cmp ecx, 1
jne 0x140002d2a
cmp dword [rsi + 0x44], 1
mov rcx, qword [r12]
jne 0x140002cd2
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, eax
jmp 0x140002d25
mov rax, qword [rbp - 0x7c]
lea rdx, [rbp + 0x28]
mov qword [rbp + 0x28], rax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [r12]
lea r9, [rbp + 0x28]
xor r8d, r8d
mov edx, 0x1111
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, eax
jmp 0x140002d25
mov r9, r11
or r8, 0xffffffffffffffff
mov edx, 0x100c
jmp 0x140002d17
xor r9d, r9d
mov edx, OleCreatePictureIndirect
xor r8d, r8d
mov rcx, qword [r12]
call qword [sym.imp.USER32.dll_SendMessageW]
inc eax
cdqe
mov qword [rsp + 0x58], rax
mov rcx, qword [r13 + 8]
lea rdx, [rbp - 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp - 8]
mov r11d, 1
sub dword [rsi + 0x50], eax
mov eax, dword [rbp - 4]
sub dword [rsi + 0x54], eax
movsxd rdx, dword [rsp + 0x48]
mov rax, rdx
inc edx
shl rax, 5
test r12, r12
je 0x140002d74
lea rcx, [rbp + 0x50]
add rcx, rax
mov rax, qword [r12]
xor r10d, r10d
mov dword [rcx + 0x10], r11d
mov qword [rcx], rax
jmp 0x140002d88
xor r10d, r10d
lea rcx, [0x1400bdf7c]
mov dword [rbp + rax + 0x60], r10d
mov qword [rbp + rax + 0x50], rcx
mov r9, qword [rsp + 0x58]
lea rcx, [rbp + 0x50]
mov edi, dword [rsp + 0x50]
movsxd rax, edx
inc edx
shl rax, 5
mov dword [rbp + rax + 0x60], r11d
mov qword [rbp + rax + 0x50], r9
movsxd rax, edx
inc edx
shl rax, 5
add rcx, rax
mov eax, r10d
cmp dword [rsi + 0x44], 3
sete al
mov dword [rcx + 0x10], r11d
cdqe
mov qword [rcx], rax
lea rcx, [rbp + 0x50]
movsxd rax, edx
inc edx
shl rax, 5
add rcx, rax
movsxd rax, dword [rsi + 0x50]
mov qword [rcx], rax
mov dword [rcx + 0x10], r11d
lea rcx, [rbp + 0x50]
movsxd rax, edx
shl rax, 5
add rcx, rax
movsxd rax, dword [rsi + 0x54]
inc edx
mov dword [rsp + 0x48], edx
mov dword [rcx + 0x10], r11d
mov qword [rcx], rax
jmp 0x140003148
mov dword [rsi + 0x44], r11d
cmp edi, 8
jne 0x140003145
mov ecx, dword [rbp - 0x60]
lea rdi, [rbp + 0x50]
mov r9, qword [rsp + 0x58]
movsxd rax, r8d
inc r8d
shl rax, 5
mov dword [rsi + 0x50], ecx
mov dword [rbp + rax + 0x60], r11d
mov qword [rbp + rax + 0x50], r9
movsxd rax, r8d
inc r8d
shl rax, 5
add rdi, rax
mov dword [rsp + 0x48], r8d
movzx eax, cx
cmp byte [r13 + 0x108], r10b
je 0x140002e76
mov r8d, dword [0x1400f5954]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, dword [rsp + 0x48]
mov r11d, 1
mov ecx, dword [rbp - 0x60]
cdqe
mov qword [rdi], rax
mov dword [rdi + 0x10], r11d
lea rdi, [rbp + 0x50]
movsxd rax, r8d
inc r8d
shl rax, 5
add rdi, rax
mov dword [rsp + 0x48], r8d
mov eax, ecx
shr eax, 0x10
cmp byte [r13 + 0x108], 0
je 0x140002ebe
mov r8d, dword [0x1400f5954]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r11d, 1
mov edx, dword [rsp + 0x48]
xor r10d, r10d
cdqe
mov qword [rdi], rax
mov dword [rdi + 0x10], r11d
mov edi, dword [rsp + 0x50]
jmp 0x140003148
movzx eax, byte [r12 + 8]
cmp al, 0xa
je 0x140002f19
cmp al, 0x18
jne 0x140002f8e
mov rax, qword [rbp - 0x7c]
lea rdx, [rbp + 8]
mov qword [rsi + 0x50], rax
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 8]
sub dword [rsi + 0x50], eax
mov eax, dword [rbp + 0xc]
sub dword [rsi + 0x54], eax
mov r8d, dword [rsp + 0x48]
xor r10d, r10d
lea r11d, [r10 + 1]
jmp 0x140002f8e
cmp dil, 0x49
jne 0x140002f8e
lea rax, [rbp - 0x30]
bt edi, 8
jae 0x140002f30
mov eax, 0x53
jmp 0x140002f3b
bt edi, 9
jae 0x140002f43
mov eax, reloc.WSOCK32.dll_WSAStartup
mov word [rbp - 0x30], ax
lea rax, [rbp - 0x2e]
bt edi, 0xa
jae 0x140002f50
mov ecx, 0x46
jmp 0x140002f5b
bt edi, 0xb
jae 0x140002f62
mov ecx, 0x66
mov word [rax], cx
add rax, 2
bt edi, 0xc
jae 0x140002f6f
mov ecx, 0x43
jmp 0x140002f7a
bt edi, 0xd
jae 0x140002f81
mov ecx, 0x63
mov word [rax], cx
add rax, 2
mov edi, 0x49
mov word [rax], r10w
mov dword [rsp + 0x50], edi
movsxd rax, r8d
lea rdx, [rbp + 0x50]
shl rax, 5
inc r8d
add rdx, rax
mov dword [rsi + 0x44], edi
cmp edi, 5
jae 0x140002fba
mov eax, edi
lea rcx, [0x140000000]
mov rcx, qword [rcx + rax*8 + 0xdaee8]
jmp 0x140002fcc
movzx eax, dil
lea rcx, [0x1400f7fa4]
mov word [0x1400f7fa4], ax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x58]
mov dword [rdx + 0x10], r10d
movsxd rdx, r8d
mov rax, rdx
shl rax, 5
inc edx
mov dword [rsp + 0x48], edx
mov dword [rbp + rax + 0x60], r11d
mov qword [rbp + rax + 0x50], rcx
jmp 0x14000314d
mov dword [rsi + 0x44], 5
lea rdx, [rbp + 0x18]
mov rax, qword [rbp - 0x7c]
mov qword [rsi + 0x50], rax
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x18]
mov edx, 0xffffffec
sub dword [rsi + 0x50], eax
mov eax, dword [rbp + 0x1c]
sub dword [rsi + 0x54], eax
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r13 + 8]
mov edx, 0xffffffec
and eax, 0xffffffef
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
movsxd rcx, dword [rsp + 0x48]
lea rdi, [rbp + 0x50]
mov rax, rcx
inc ecx
mov dword [rsp + 0x48], ecx
mov rcx, r14
shl rax, 5
add rdi, rax
call fcn.140062c40
movsxd rdx, dword [rsp + 0x48]
mov qword [rdi], rax
mov rax, rdx
shl rax, 5
mov dword [rdi + 0x10], 6
test r12, r12
je 0x140003099
lea rcx, [rbp + 0x50]
add rcx, rax
mov rax, qword [r12]
inc edx
mov dword [rcx + 0x10], 1
mov qword [rcx], rax
jmp 0x1400030ad
inc edx
xor ecx, ecx
mov dword [rbp + rax + 0x60], ecx
lea rcx, [0x1400bdf7c]
mov qword [rbp + rax + 0x50], rcx
movsxd rax, edx
lea rdi, [rbp + 0x50]
shl rax, 5
inc edx
add rdi, rax
mov dword [rsp + 0x48], edx
cmp byte [r13 + 0x108], 0
mov eax, dword [rsi + 0x50]
je 0x1400030e6
mov r8d, dword [0x1400f5954]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [rsp + 0x48]
cdqe
mov r11d, 1
mov qword [rdi], rax
mov dword [rdi + 0x10], r11d
lea rdi, [rbp + 0x50]
movsxd rax, edx
inc edx
shl rax, 5
add rdi, rax
mov dword [rsp + 0x48], edx
cmp byte [r13 + 0x108], 0
mov eax, dword [rsi + 0x54]
je 0x140003133
mov r8d, dword [0x1400f5954]
lea edx, [r11 + 0x5f]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [rsp + 0x48]
mov r11d, 1
cdqe
xor r10d, r10d
mov qword [rdi], rax
mov dword [rdi + 0x10], r11d
mov edi, dword [rsp + 0x50]
jmp 0x140003148
mov edx, r8d
mov rcx, qword [rsp + 0x58]
cmp byte [rbp + 0x13e0], 0
je 0x14000321b
cmp byte [r12 + 8], 0x16
jne 0x14000321b
xor edx, edx
lea rcx, [rbp + 0x2c0]
mov r8d, 0x10b8
call fcn.140098640
mov rax, qword [rsp + 0x58]
lea r9, [rbp + 0x2c0]
mov rcx, qword [r12]
dec eax
xor r8d, r8d
mov dword [rbp + 0x2c4], eax
mov edx, 0x703
mov dword [rbp + 0x2c0], SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140003277
cmp word [rbp + 0x330], 0
lea rax, [rbp + 0x2d0]
mov rcx, qword [0x1400f1518]
lea rdx, [rbp + 0x330]
cmove rdx, rax
mov byte [rsp + 0x20], 1
xor r9d, r9d
or r8, 0xffffffffffffffff
call fcn.14007d4e0
movsxd rcx, dword [rsp + 0x48]
lea rdi, [rbp + 0x50]
mov rax, rcx
xor r8d, r8d
inc ecx
shl rax, 5
mov dword [rsp + 0x48], ecx
add rdi, rax
mov rcx, qword [0x1400f1518]
lea edx, [r8 + 1]
call fcn.1400015b0
xor ecx, ecx
mov qword [rdi], rax
mov dword [rdi + 0x10], ecx
jmp 0x140003279
cmp word [rbp - 0x30], 0
je 0x14000323d
movsxd rax, edx
shl rax, 5
inc edx
mov dword [rsp + 0x48], edx
lea rdx, [rbp - 0x30]
mov qword [rbp + rax + 0x50], rdx
mov dword [rbp + rax + 0x60], r10d
cmp edi, 8
je 0x140003265
cmp edi, 5
je 0x140003265
mov rcx, qword [0x1400f1518]
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14007d4e0
jmp 0x140003277
mov rdx, rcx
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, qword [0x1400f1518]
call fcn.140001460
xor ecx, ecx
mov rax, qword [r13 + 8]
mov rdi, qword [rbp - 0x58]
mov qword [rsi + 0xf0], rax
add dword [r13 + 0x34], 2
mov eax, dword [rbp - 0x5c]
mov dword [rsi + 0x70], eax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x48], rax
mov qword [rsi + 0x60], r13
mov qword [rsi + 0x58], r13
movzx esi, byte [rbp + 0x13e0]
test rdi, rdi
je 0x1400032b5
mov byte [rdi], 1
jmp 0x1400032c0
test sil, sil
je 0x1400032c0
or byte [r12 + 9], 4
mov dword [rsp + 0x30], ecx
lea rax, [rbp - 0x10]
mov ecx, dword [rsp + 0x48]
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea r8, [0x1400bdfe8]
mov dword [rsp + 0x20], ecx
mov rdx, rbx
mov rcx, rbx
call fcn.140071af0
cmp qword [r13 + 8], 0
je 0x14000338b
mov edx, dword [rsp + 0x50]
test rdi, rdi
je 0x14000333d
mov byte [rdi], 0
cmp edx, 6
jne 0x140003348
cmp qword [rbp - 0x10], 0
jne 0x14000338b
mov rcx, rbx
call fcn.140074ed0
test eax, eax
jne 0x14000331f
test rbx, rbx
jne 0x14000338b
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x14000338b
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r13
call fcn.1400629b0
jmp 0x14000345f
test sil, sil
je 0x140003348
and byte [r12 + 9], 0xfb
cmp edx, 5
jne 0x14000338b
mov rcx, qword [rbp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragFinish]
mov rcx, qword [r13 + 8]
xor eax, eax
mov qword [r13 + 0xa0], rax
lea edx, [rax - 0x14]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r13 + 8]
mov edx, 0xffffffec
or eax, 0x10
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, r13
call fcn.1400629b0
jmp 0x14000345f
test r13, r13
je 0x1400033bd
mov rax, qword [r13 + 8]
mov qword [rsi + 0xf0], rax
mov eax, 1
mov dword [rsi + 0x44], eax
add dword [r13 + 0x34], 2
mov qword [rsi + 0x60], r13
mov qword [rsi + 0x58], r13
lea rax, [0x1400f6078]
xor edi, edi
lea rcx, [0x1400f59d0]
mov dword [rbp + 0x170], edi
mov qword [rbp + 0x160], rax
call fcn.140049d20
mov dword [rsp + 0x30], edi
lea r9, [rbp + 0x160]
mov qword [rsp + 0x28], rdi
lea r8, [0x1400bdfe8]
mov rdx, rbx
mov dword [rbp + 0x1b0], edi
lea ecx, [rax + 1]
mov dword [rsp + 0x20], 3
mov eax, 1
mov qword [rbp + 0x180], rcx
mov dword [rbp + 0x190], eax
mov rcx, rbx
lea rax, [0x1400f6282]
mov qword [rbp + 0x1a0], rax
call fcn.140071af0
test r13, r13
je 0x14000345f
mov rcx, r13
call fcn.1400629b0
jmp 0x14000345f
mov rax, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x40]
mov qword [rsi + 0xf0], rax
movzx eax, byte [rcx + 0x39]
mov byte [rsi + 0x12e], al
call fcn.14000da40
lea rcx, [rbp + 0x1c0]
call fcn.140003e20
cmp qword [rbp - 0x38], 0
mov edi, dword [rbp + 0x13d0]
mov r14d, dword [rsp + 0x44]
mov ebx, dword [rsp + 0x40]
je 0x140001955
movzx r8d, byte [rbp + 0x13d8]
mov ecx, edi
mov edx, dword [rbp - 0x70]
call fcn.1400035d0
test eax, eax
je 0x140001955
mov byte [rbp + 0x13e8], 1
mov byte [rbp + 0x13d8], 1
jmp 0x140001955
mov rcx, qword [0x1400edaa8]
mov byte [rcx + 0x120], 0
jmp 0x1400034c9
mov rcx, qword [0x1400edaa8]
mov rdx, qword [0x1400f12f8]
test rdx, rdx
je 0x140003505
mov rcx, qword [0x1400f1538]
lea r8, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov edi, dword [rbp + 0x13d0]
mov r14d, dword [rsp + 0x44]
mov ebx, dword [rsp + 0x40]
test eax, eax
jne 0x140001955
mov rcx, qword [0x1400edaa8]
mov byte [rcx + 0x120], 1
mov eax, dword [rsp + 0x68]
mov dword [rcx + 0x11c], eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400025dd
xor ebx, ebx
cmp edi, 0xffffffff
jle 0x140003545
mov qword [0x1400f6560], rbx
mov dword [0x1400f6570], eax
cmp byte [rsp + 0x4c], 0
mov dword [0x1400f6574], eax
movzx eax, byte [0x1400f1193]
cmovne eax, ebx
cmp byte [rsp + 0x4d], 0
mov byte [0x1400f1193], al
je 0x1400022c4
mov eax, dword [0x1400f1540]
dec eax
mov dword [0x1400f1540], eax
test edi, edi
jle 0x1400022c4
test eax, eax
jne 0x1400022c4
cmp dword [0x1400f6504], eax
jne 0x1400022c4
cmp dword [0x1400f2478], eax
jne 0x1400022c4
cmp byte [0x1400f1192], al
je 0x1400022c4
mov rcx, qword [0x1400f1538]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x1400f1192]
test eax, eax
cmovne ecx, ebx
jmp 0x1400022be