Function at 0x14008b1c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9e0]
sub rsp, 0xae0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0xb38], rbx
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0x9d0], rax
mov r13, r8
mov r15, rdx
mov rsi, rcx
mov rcx, qword [r8 + 8]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14008b4b7
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x50]
call fcn.1400974f0
xor eax, eax
mov ebx, eax
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x14008b2c5
lea rdi, [rbp + 0x3c0]
mov r12d, 0x2d
lea r14d, [r12 + 1]
nop dword [rax + rax]
movzx eax, word [rdi]
cmp ax, 0x2f
jne 0x14008b29f
mov word [rdi], r12w
jmp 0x14008b2a9
cmp ax, 0x3a
jne 0x14008b2a9
mov word [rdi], r14w
inc ebx
add rdi, 2
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, eax
jl 0x14008b290
mov rdi, qword [rsp + 0x40]
lea r9, [rbp + 0x3c0]
lea r8, str.Clipboard_Image___s_.bmp
mov r12d, 0x104
mov edx, r12d
lea rcx, [rbp + 0x7c0]
call section..text
lea r8, [rbp + 0x7c0]
mov rdx, qword [rsi + 0x40]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14008b4ad
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
lea ebx, [rax + 0xe]
mov ecx, ebx
call fcn.14002cff8
mov rsi, rax
mov eax, 0x4d42
mov word [rsi], ax
mov ecx, dword [rdi]
mov dword [rsi + 2], ecx
xor eax, eax
mov dword [rsi + 6], eax
mov dword [rsi + 0xa], ILClone
lea rcx, [rsi + 0xe]
mov rdx, rdi
lea r8d, [rax + 0x28]
call fcn.14004b590
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rdx, qword [rsp + 0x40]
add rdx, 0x28
lea r8, [rax - 0x28]
lea rcx, [rsi + 0x36]
call fcn.14004b590
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
mov r8d, ebx
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call fcn.14004b410
lea rcx, [rbp - 0x60]
lea rdx, [rbp + 0x1b0]
lea rax, [rbp - 0x60]
sub rdx, rax
nop dword [rax]
lea rax, [r12 + 0x7ffffefa]
test rax, rax
je 0x14008b404
movzx eax, word [rdx + rcx]
test ax, ax
je 0x14008b404
mov word [rcx], ax
add rcx, 2
dec r12
jne 0x14008b3e0
jmp 0x14008b409
test r12, r12
jne 0x14008b40d
sub rcx, 2
mov word [rcx], di
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathStripPathW]
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x68]
call fcn.140009a30
nop
mov rdi, qword [r15]
lea r8, [rsp + 0x68]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.14000a770
mov rdx, rax
mov rax, qword [r15 + 8]
movabs rcx, 0x666666666666665
sub rcx, rax
cmp rcx, 1
jae 0x14008b48a
lea rcx, str.list_T__too_long
call fcn.14002ba2c
int3
inc rax
mov qword [r15 + 8], rax
mov qword [rdi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
cmp qword [rbp - 0x80], 8
jb 0x14008b4ad
mov rcx, qword [rsp + 0x68]
call fcn.14004b088
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r13
call qword [sym.imp.ole32.dll_ReleaseStgMedium]
xor eax, eax
mov rcx, qword [rbp + 0x9d0]
xor rcx, rsp
call fcn.14004ae00
mov rbx, qword [rsp + 0xb38]
add rsp, 0xae0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret