Function at 0x1400871f4
Capabilities:
Check if file exists
Copy file
Get file attributes
Log keystrokes via polling
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x968]
sub rsp, 0xa30
mov qword [rbp + 0x2c8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x920], rax
mov r12, rdx
mov r13, rcx
xor ebx, ebx
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x118], rbx
mov qword [rbp + 0x120], 0x20
mov qword [rbp + 0x128], rbx
lea rax, vtable.micro::utils::QArray_struct_tagFORMATETC_.0
mov qword [rbp + 0x108], rax
mov qword [rsp + 0x60], rbx
mov rax, qword [rdx]
lea r8, [rsp + 0x60]
lea r15d, [rbx + 1]
mov edx, r15d
mov rcx, r12
call qword [rax + 0x40]
test eax, eax
jne 0x14008731c
mov word [rbp + 0xd0], bx
xor eax, eax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rax
mov dword [rsp + 0x5c], ebx
jmp 0x1400872fe
movups xmm0, xmmword [rbp + 0xd0]
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [rbp + 0xe0]
movaps xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x108]
call fcn.140005788
mov rdx, qword [rbp + 0x118]
mov rcx, rdx
shl rcx, 5
mov rax, qword [rbp + 0x128]
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [rcx + rax], xmm0
movaps xmm1, xmmword [rbp + 0x50]
movups xmmword [rcx + rax + 0x10], xmm1
add rdx, r15
mov qword [rbp + 0x118], rdx
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r9, [rsp + 0x5c]
lea r8, [rbp + 0xd0]
mov edx, r15d
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
je 0x1400872ac
lea rcx, str.FileContents
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ebx, eax
lea rcx, str.FileGroupDescriptorW
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov edi, eax
lea rcx, str.FileNameW
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov esi, eax
lea rcx, str.Shell_IDList_Array
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov r14d, eax
lea rcx, str.UniformResourceLocatorW
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ecx, reloc.WS2_32.dll_ntohs
mov word [rbp + 0x1f0], cx
xor edx, edx
mov qword [rbp + 0x1f8], rdx
mov dword [rbp + 0x200], r15d
or r8d, 0xffffffff
mov dword [rbp + 0x204], r8d
lea ecx, [rdx + 0xd]
mov dword [rbp + 0x208], ecx
mov word [rbp + 0x150], bx
mov qword [rbp + 0x158], rdx
mov dword [rbp + 0x160], r15d
mov dword [rbp + 0x164], r8d
mov dword [rbp + 0x168], ecx
mov word [rbp + 0x1b0], di
mov qword [rbp + 0x1b8], rdx
mov dword [rbp + 0x1c0], r15d
mov dword [rbp + 0x1c4], r8d
mov dword [rbp + 0x1c8], ecx
mov word [rbp + 0x280], si
mov qword [rbp + 0x288], rdx
mov dword [rbp + 0x290], r15d
mov dword [rbp + 0x294], r8d
mov dword [rbp + 0x298], ecx
mov word [rbp + 0x240], r14w
mov qword [rbp + 0x248], rdx
mov dword [rbp + 0x250], r15d
mov dword [rbp + 0x254], r8d
mov dword [rbp + 0x258], ecx
mov word [rbp + 0x1d0], ax
mov qword [rbp + 0x1d8], rdx
mov dword [rbp + 0x1e0], r15d
mov dword [rbp + 0x1e4], r8d
mov dword [rbp + 0x1e8], ecx
mov word [rbp + 0x210], cx
mov qword [rbp + 0x218], rdx
mov dword [rbp + 0x220], r15d
mov dword [rbp + 0x224], r8d
mov dword [rbp + 0x228], ecx
mov rax, qword [r12]
lea rdx, [rbp + 0x1f0]
mov rcx, r12
call qword [rax + 0x28]
mov esi, eax
mov r8, qword [r12]
lea rdx, [rbp + 0x280]
mov rcx, r12
call qword [r8 + 0x28]
mov r8, qword [r12]
lea rdx, [rbp + 0x240]
mov rcx, r12
call qword [r8 + 0x28]
mov ebx, eax
mov r8, qword [r12]
lea rdx, [rbp + 0x150]
mov rcx, r12
call qword [r8 + 0x28]
mov r8, qword [r12]
lea rdx, [rbp + 0x1b0]
mov rcx, r12
call qword [r8 + 0x28]
mov edi, eax
mov r8, qword [r12]
lea rdx, [rbp + 0x1d0]
mov rcx, r12
call qword [r8 + 0x28]
mov r14d, eax
mov r8, qword [r12]
lea rdx, [rbp + 0x210]
mov rcx, r12
call qword [r8 + 0x28]
test ebx, ebx
jne 0x1400876a3
xor ebx, ebx
mov qword [rsp + 0x68], rbx
lea r8, [rsp + 0x68]
lea rdx, [0x140127228]
mov rcx, r12
call qword [sym.imp.SHELL32.dll_SHCreateShellItemArrayFromDataObject]
test eax, eax
je 0x140087519
mov r15b, bl
jmp 0x14008768a
mov rcx, qword [r13 + 0xb0]
mov edx, 0x3f7
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, r15d
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [r13 + 0xb0]
mov edx, r15d
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, r15d
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [r13 + 0xb0]
mov edx, 2
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov qword [rsp + 0x40], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400ed390
test al, al
jne 0x14008759c
mov r15b, bl
jmp 0x140087675
mov rax, qword [0x1401847b0]
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx]
mov rdx, qword [rax + 8]
call qword [r8 + 0x48]
mov dword [rsp + 0x58], ebx
mov rdx, qword [r13 + 0xb0]
test rdx, rdx
je 0x1400875cc
add rdx, 0xe0
jmp 0x1400875cf
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov qword [rsp + 0x50], rbx
lea r8, [rsp + 0x50]
lea rdx, [0x140111568]
mov rcx, qword [r13 + 0x60]
call qword [sym.imp.SHELL32.dll_SHCreateItemFromIDList]
mov ecx, reloc.SHELL32.dll_ILRemoveLastID
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [rsp + 0x40]
test al, 0xf0
mov rax, qword [rcx]
mov edx, 0x120021c
jne 0x14008761b
mov edx, 0x1000204
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rcx]
test byte [r13 + 0x5c], 2
je 0x14008763c
call qword [rax + 0x78]
jmp 0x140087642
call qword [rax + 0x88]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + IUnknown_GetWindow]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov edx, dword [rsp + 0x58]
call qword [rax + 0x20]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140087675
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14008768a
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
mov qword [rsp + 0x40], rbx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140088145
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
jmp 0x140088145
xor ebx, ebx
test edi, edi
jne 0x140087c2b
lea rcx, [r13 + 0x60]
lea rdx, [rbp + 0xa8]
call fcn.140068dd8
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x50]
call fcn.1400ea694
lea rcx, vtable.mc::MyStrPath.0
mov qword [rbp - 0x50], rcx
lea rdi, vtable.micro::utils::QString.0
mov qword [rbp + 0xa8], rdi
lea rcx, [rbp + 0xa8]
call fcn.1400e712c
lea edx, [rbx + 0x5c]
lea rcx, [rbp - 0x50]
call fcn.1400ea6c0
mov rcx, qword [r13 + 0xb0]
mov edx, 0x3f7
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, r15d
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [r13 + 0xb0]
mov edx, r15d
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, r15d
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [r13 + 0xb0]
lea edx, [rbx + 2]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, r15d
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov dword [rbp + 0x198], ebx
xor eax, eax
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], rax
mov rax, qword [r12]
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0x1b0]
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x140087c1b
mov rax, qword [rbp + 0x1a0]
mov qword [rbp - 0x60], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GlobalLock]
mov rbx, rax
test rax, rax
je 0x140087c19
mov esi, dword [rax]
mov dword [rbp - 0x40], esi
mov rcx, qword [r13 + 0xb0]
add rcx, 0x48
mov qword [rbp + 0x190], rsi
mov r8, qword [rcx]
mov edx, esi
call qword [r8 + 0x38]
xor edx, edx
mov dword [rsp + 0x4c], edx
test esi, esi
je 0x140087c0b
lea rax, [rbx + 4]
mov qword [rbp + 0x18], rax
lea r14, [0x14012da68]
mov rsi, qword [rbp - 0x48]
lea rcx, [rbp + 0x2d0]
mov r8d, 4
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
dec r8
jne 0x140087804
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov dword [rbp + 0x164], edx
xor ebx, ebx
mov dword [rbp + 0x78], ebx
xor eax, eax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov rax, qword [r12]
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x150]
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x140087bb4
mov eax, dword [rbp + 0x78]
cmp eax, 4
jne 0x140087b1e
mov rbx, qword [rbp + 0x80]
mov qword [rbp + 0x230], rdi
mov qword [rbp + 0x238], rsi
test rsi, rsi
je 0x1400878e2
lock add dword [rsi - 0xc], r15d
mov rsi, qword [rbp - 0x48]
lea r8, [rbp + 0x318]
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x80]
call fcn.140008a10
nop
mov rdx, r14
mov rax, qword [rbp - 0x78]
test rax, rax
cmovne rdx, rax
mov rcx, qword [r13 + 0xb0]
add rcx, 0x48
mov rax, qword [rcx]
call qword [rax + 0x20]
mov r8, r14
mov rax, qword [rbp - 0x78]
test rax, rax
cmovne r8, rax
xor edx, edx
xor ecx, ecx
lea r9d, [rdx + 5]
call qword [sym.imp.SHELL32.dll_SHPathPrepareForWriteW]
and qword [rbp - 0x38], 0
mov rcx, r14
mov rax, qword [rbp - 0x78]
test rax, rax
cmovne rcx, rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, r15d
mov edx, 0x1001
mov r8d, 0x80
call qword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileEx]
test eax, eax
je 0x1400879d7
mov qword [rbp - 0x18], rdi
and qword [rbp - 0x10], 0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x18]
call fcn.1400e7960
nop
mov rbx, r14
mov rax, qword [rbp - 0x10]
test rax, rax
cmovne rbx, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
mov r9d, reloc.SHELL32.dll_ILFindLastID
lea r8, [0x14010f168]
mov rdx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov qword [rbp - 0x18], rdi
lea rcx, [rbp - 0x18]
call fcn.1400e712c
nop
mov qword [rbp - 0x80], rdi
lea rcx, [rbp - 0x80]
call fcn.1400e712c
jmp 0x140087bb4
and dword [rbp - 0x30], 0
mov edx, 0x4000
lea rcx, [rbp + 0x2a0]
call fcn.140024ca0
nop
mov rax, qword [rbx]
lea r9, [rbp - 0x30]
mov r8d, 0x4000
mov rdx, qword [rbp + 0x2c0]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
xor ebx, ebx
test eax, eax
jne 0x140087a38
mov rcx, qword [r13 + 0xb0]
add rcx, 0x48
mov rax, qword [rcx]
mov edx, dword [rsp + 0x4c]
mov r8, qword [rbp + 0x190]
call qword [rax + 0x30]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
jmp 0x140087ac3
or r8d, 0xffffffff
lea rdx, str.Copy_error_
lea rcx, [rbp + 0x140]
call fcn.1400e6fc8
nop
mov qword [rbp - 8], rdi
mov qword [rbp], rbx
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 8]
call fcn.1400e7b9c
nop
mov qword [rbp + 0x140], rdi
lea rcx, [rbp + 0x140]
call fcn.1400e712c
mov rbx, r14
mov rax, qword [rbp]
test rax, rax
cmovne rbx, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
mov r9d, reloc.SHELL32.dll_ILFindLastID
lea r8, [0x14010f168]
mov rdx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
nop
mov qword [rbp - 8], rdi
lea rcx, [rbp - 8]
call fcn.1400e712c
xor ebx, ebx
mov byte [r13 + 0x41], r15b
lea rdx, [r13 + 0x30]
or r9d, 0xffffffff
xor r8d, r8d
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
test eax, eax
je 0x140087bd7
dec eax
jne 0x140087bdb
mov byte [r13 + 0x41], bl
lea rax, vtable.micro::utils::QBaseArray.0
mov qword [rbp + 0x2a0], rax
mov rcx, qword [rbp + 0x2c0]
test rcx, rcx
je 0x140087b11
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
mov qword [rbp - 0x80], rdi
lea rcx, [rbp - 0x80]
jmp 0x140087ba5
cmp eax, r15d
jne 0x140087b3e
mov rbx, qword [rbp + 0x1a0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GlobalLock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
jmp 0x140087baa
cmp eax, 8
jne 0x140087baa
mov qword [rbp + 0x260], rdi
mov qword [rbp + 0x268], rsi
test rsi, rsi
je 0x140087b5f
lock add dword [rsi - 0xc], r15d
mov rsi, qword [rbp - 0x48]
lea r8, [rbp + 0x318]
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x180]
call fcn.140008a10
mov r8, r14
mov rax, qword [rbp + 0x188]
test rax, rax
cmovne r8, rax
mov r9d, r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHPathPrepareForWriteW]
mov qword [rbp + 0x180], rdi
lea rcx, [rbp + 0x180]
call fcn.1400e712c
lea rcx, [rbp + 0x78]
call qword [sym.imp.ole32.dll_ReleaseStgMedium]
mov edx, dword [rsp + 0x4c]
add edx, r15d
mov dword [rsp + 0x4c], edx
mov rax, qword [rbp + 0x18]
add rax, 0x250
mov qword [rbp + 0x18], rax
cmp edx, dword [rbp - 0x40]
jae 0x140087c0b
jmp 0x1400877f7
mov byte [r13 + 0x40], bl
lea rax, vtable.micro::utils::QBaseArray.0
mov qword [rbp + 0x2a0], rax
mov rcx, qword [rbp + 0x2c0]
test rcx, rcx
je 0x140087bfc
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
mov qword [rbp - 0x80], rdi
lea rcx, [rbp - 0x80]
call fcn.1400e712c
jmp 0x140087c0d
xor ebx, ebx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
jmp 0x140087c1e
xor ebx, ebx
mov r15b, bl
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x50]
jmp 0x14008813b
test esi, esi
jne 0x140087ebf
lea rcx, [r13 + 0x60]
lea rdx, [rbp + 0x170]
call fcn.140068dd8
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x20]
call fcn.1400ea694
lea rcx, vtable.mc::MyStrPath.0
mov qword [rbp + 0x20], rcx
lea rdi, vtable.micro::utils::QString.0
mov qword [rbp + 0x170], rdi
lea rcx, [rbp + 0x170]
call fcn.1400e712c
lea edx, [rsi + 0x5c]
lea rcx, [rbp + 0x20]
call fcn.1400ea6c0
mov dword [rbp + 0x90], ebx
xor eax, eax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov rax, qword [r12]
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x1f0]
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
je 0x140087cbe
mov r15b, bl
jmp 0x140087eb0
cmp dword [rbp + 0x90], r15d
jne 0x140087eb0
mov r12, qword [rbp + 0x98]
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov r13d, eax
mov esi, ebx
test eax, eax
jle 0x140087e99
lea r14, [0x14012da68]
mov r9d, 0x200
lea r8, [rbp + 0x520]
mov edx, esi
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
or r8d, 0xffffffff
lea rdx, [rbp + 0x520]
lea rcx, [rsp + 0x70]
call fcn.1400e6fc8
lea rax, vtable.micro::files::QPathStr.0
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rbx
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140087da5
cmp dword [rax - 8], ebx
je 0x140087da5
mov edx, 0x5c
lea rcx, [rsp + 0x70]
call fcn.1400e78b8
test eax, eax
jns 0x140087d6b
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400e7b9c
jmp 0x140087da5
lea r8d, [r15 + rax]
or r9d, 0xffffffff
lea rdx, [rbp + 0x270]
lea rcx, [rsp + 0x70]
call fcn.1400e73a0
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400e7b9c
nop
mov qword [rbp + 0x270], rdi
lea rcx, [rbp + 0x270]
call fcn.1400e712c
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x28]
call fcn.140011d2c
nop
lea rcx, [rbp + 0x520]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140087e62
test al, 0x10
mov rax, qword [rbp - 0x20]
je 0x140087dee
mov r8, r14
test rax, rax
cmovne r8, rax
mov r9d, r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHPathPrepareForWriteW]
jmp 0x140087e62
mov rdx, r14
test rax, rax
cmovne rdx, rax
xor r8d, r8d
lea rcx, [rbp + 0x520]
call qword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
jne 0x140087e62
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], rbx
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.1400e7960
nop
mov rbx, r14
mov rax, qword [rbp + 0x10]
test rax, rax
cmovne rbx, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
mov r9d, reloc.SHELL32.dll_ILFindLastID
lea r8, [0x14010f168]
mov rdx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov qword [rbp + 8], rdi
lea rcx, [rbp + 8]
call fcn.1400e712c
xor ebx, ebx
mov qword [rbp - 0x28], rdi
lea rcx, [rbp - 0x28]
call fcn.1400e712c
nop
mov qword [rbp - 0x70], rdi
lea rcx, [rbp - 0x70]
call fcn.1400e712c
nop
mov qword [rsp + 0x70], rdi
lea rcx, [rsp + 0x70]
call fcn.1400e712c
add esi, r15d
cmp esi, r13d
jl 0x140087cf8
lea rcx, [rbp + 0x90]
call qword [sym.imp.ole32.dll_ReleaseStgMedium]
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragFinish]
nop
mov qword [rbp + 0x20], rdi
lea rcx, [rbp + 0x20]
call fcn.1400e712c
jmp 0x140087f21
test r14d, r14d
jne 0x140087f28
mov dword [rbp + 0xf0], ebx
xor eax, eax
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], rax
mov rax, qword [r12]
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0x1d0]
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
je 0x140087efb
mov r15b, bl
jmp 0x140087f21
mov rbx, qword [rbp + 0xf8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GlobalLock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.ole32.dll_ReleaseStgMedium]
xor ebx, ebx
jmp 0x140088145
test eax, eax
jne 0x140088142
mov dword [rbp + 0xb8], ebx
xor eax, eax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov rax, qword [r12]
lea r8, [rbp + 0xb8]
lea rdx, [rbp + 0x210]
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x140088142
mov r12, qword [rbp + 0xc0]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_GlobalLock]
mov rbx, rax
mov qword [rbp - 0x60], rax
lea rcx, [r13 + 0x60]
lea rdx, [rbp + 0x130]
call fcn.140068dd8
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x30]
call fcn.1400ea694
nop
lea rdi, vtable.micro::utils::QString.0
mov qword [rbp + 0x130], rdi
lea rcx, [rbp + 0x130]
call fcn.1400e712c
mov edx, 0x5c
lea rcx, [rbp + 0x30]
call fcn.1400ea6c0
lea rax, vtable.micro::files::QFile.0
mov qword [rbp + 0x60], rax
xor r13d, r13d
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x50], rdi
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x58], rax
test rax, rax
je 0x140087fee
lock add dword [rax - 0xc], r15d
lea r8, str.TextFile.txt
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x40]
call fcn.140008a10
lea rdx, [0x14012da68]
cmp qword [rax + 8], r13
cmovne rdx, qword [rax + 8]
mov r8d, 0x1000
lea rcx, [rbp + 0x60]
call fcn.1400e82c4
mov qword [rbp + 0x40], rdi
lea rcx, [rbp + 0x40]
call fcn.1400e712c
mov word [rsp + 0x48], 0xbbef
mov byte [rsp + 0x4a], 0xbf
mov dword [rbp - 0x58], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x58]
mov r8d, 3
lea rdx, [rsp + 0x48]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
or r9d, 0xffffffff
mov r8, rbx
xor edx, edx
mov r14d, 0xfde9
mov ecx, r14d
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
movsxd rbx, eax
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__]
mov rsi, rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, qword [rbp - 0x60]
xor edx, edx
mov ecx, r14d
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
xor ebx, ebx
test rsi, rsi
je 0x1400880cf
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_strlen]
jmp 0x1400880d2
mov rax, rbx
lea rdx, [0x14010ea73]
test rsi, rsi
cmovne rdx, rsi
mov dword [rbp - 0x54], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x54]
mov r8d, eax
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.ole32.dll_ReleaseStgMedium]
test rsi, rsi
je 0x14008811e
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
lea rax, vtable.micro::files::QFile.0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x60]
call fcn.1400e8500
nop
mov qword [rbp + 0x30], rdi
lea rcx, [rbp + 0x30]
call fcn.1400e712c
jmp 0x140088145
mov r15b, bl
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14008815a
mov rdx, qword [rcx]
call qword [rdx + reloc.SHELL32.dll_ILFindLastID]
mov qword [rsp + 0x60], rbx
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x14008816c
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov al, r15b
mov rcx, qword [rbp + 0x920]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0xa80]
add rsp, 0xa30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret