Function at 0x14000d260
Capabilities:
Contain obfuscated stackstrings
Create pipe
Get file attributes
Read file on windows

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rdi, rcx
mov dword [rsp + 0x60], 0x3f005c
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x64], 0x5c003f
mov dword [rsp + 0x68], 0x3a0043
xor r14d, r14d
mov dword [rsp + 0x6c], 0x57005c
mov rax, 0xffffffffffffffff
mov dword [rsp + 0x70], 0x6e0069
mov dword [rsp + 0x74], 0x6f0064
mov dword [rsp + 0x78], 0x730077
mov dword [rsp + 0x7c], 0x53005c
mov dword [rbp - 0x80], 0x730079
mov dword [rbp - 0x7c], 0x650074
mov dword [rbp - 0x78], 0x33006d
mov dword [rbp - 0x74], 0x5c0032
mov dword [rbp - 0x70], 0x6d0063
mov dword [rbp - 0x6c], 0x2e0064
mov dword [rbp - 0x68], 0x780065
mov dword [rbp - 0x64], 0x65
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14000d300
mov dword [rsp + 0x50], r14d
lea r9, [rbp - 0x28]
add ax, ax
mov qword [rsp + 0x48], r14
mov word [rbp - 0x48], ax
lea r8, [rbp]
add ax, 2
mov dword [rsp + 0x40], 0x60
mov word [rbp - 0x46], ax
lea rcx, [0x14005e158]
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x60]
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
lea rax, [rbp - 0x48]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x80
mov edx, 0x120089
mov qword [rbp + 0x10], rax
mov dword [rbp], gethostbyname
mov qword [rbp + 8], r14
mov dword [rbp + 0x18], 0x40
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rsp + 0x20], r14
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
jns 0x14000d3ad
mov edx, eax
lea rcx, str.Failed_to_open_file._Error_code:_0x_X_n
call fcn.140005ff0
xor eax, eax
add rsp, 0x160
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [0x14005e158]
lea r8, [rbp + 0x30]
mov r9d, 0x18
mov dword [rsp + 0x20], 5
lea rdx, [rbp - 0x28]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jns 0x14000d3fd
mov edx, eax
lea rcx, str.Failed_to_get_file_information._Error_code:_0x_X_n
call fcn.140005ff0
mov rcx, qword [0x14005e158]
call qword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
add rsp, 0x160
pop r14
pop rdi
pop rbp
ret
xor r8d, r8d
mov qword [rsp + 0x158], rbx
mov rbx, qword [rbp + 0x38]
lea r9, [rbp - 0x60]
mov dword [rsp + 0x28], 4
lea rdx, [rbp + 0x88]
mov qword [rsp + 0x150], rsi
lea rcx, [r8 - 1]
mov qword [rbp + 0x88], r14
mov qword [rbp - 0x60], rbx
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x14000d6e5
mov rax, qword [rbp + 0x88]
xor r9d, r9d
mov rcx, qword [0x14005e158]
xor r8d, r8d
mov qword [rsp + 0x40], r14
xor edx, edx
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
mov ebx, eax
test eax, eax
jns 0x14000d4aa
mov edx, eax
lea rcx, str.Failed_to_read_file._Error_code:_0x_X_n
call fcn.140005ff0
mov rcx, qword [0x14005e158]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14000d6f1
mov rcx, qword [rbp + 0x88]
lea rdx, [rbp - 0x50]
call fcn.14000cfa0
mov qword [rbp + 0x90], rax
mov rcx, rax
test rax, rax
jne 0x14000d4de
mov edx, ebx
lea rcx, str.____ERROR_NaFileBufferToImageBuffer_Failed__Error_code:_0x_X_n
call fcn.140005ff0
mov rcx, qword [rbp + 0x90]
movsxd rax, dword [rcx + 0x3c]
mov esi, dword [rax + rcx + 0x28]
add rsi, rcx
cmp dword [rax + rcx + 0xd4], r14d
je 0x14000d526
mov eax, dword [rax + rcx + 0xd0]
mov rbx, qword [rax + rcx + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x14000d526
xor r8d, r8d
lea edx, [r8 + 1]
call rax
mov rax, qword [rbx + 8]
lea rbx, [rbx + 8]
test rax, rax
je 0x14000d526
mov rcx, qword [rbp + 0x90]
jmp 0x14000d507
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov ebx, 0x208
mov qword [rbp + 0x98], r14
lea r9, [rbp - 0x58]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp + 0x98]
mov dword [rsp + 0x20], 0x1000
lea rcx, [r8 - 1]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x14000d6e5
mov rbx, qword gs:[0x60]
mov rcx, qword [rbp + 0x98]
movaps xmm0, xmmword [str.C:UsersWhichDesktopyuque.exe__c]
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x38], 0x2080000
movups xmmword [rcx], xmm0
movaps xmm1, xmmword [0x14004c4e0]
movups xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [0x14004c4f0]
movups xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [0x14004c500]
movups xmmword [rcx + 0x30], xmm1
movsd xmm0, qword [0x14004c510]
movsd qword [rcx + 0x40], xmm0
movzx eax, word [0x14004c518]
mov word [rcx + 0x48], ax
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r14w
lea rcx, [rcx + 2]
jne 0x14000d5d0
xor edx, edx
nop dword [rax]
movzx eax, word [rdi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14000d5e0
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, [0x14004c520]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movups xmm0, xmmword [rbp - 0x38]
mov r9d, 0x10000
lea r8, [rbp - 0x18]
lea rcx, [0x14005e160]
lea rdx, [rax - 1]
mov eax, dword [rax + 3]
add rdx, rax
mov qword [0x14005e138], rdx
movups xmmword [rdx], xmm0
lea rdx, [0x14005e168]
mov dword [rbp - 0x18], 0x18
mov dword [rbp - 8], 1
mov qword [rbp - 0x10], r14
call qword [sym.imp.KERNEL32.dll_CreatePipe]
mov rdx, qword [0x14005e168]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
mov rdx, qword [0x14005e168]
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.140021f50
call rsi
mov r9d, 0x4000
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x88]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
mov r9d, 0x4000
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x90]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
mov rcx, qword [0x14005e158]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, 1
jmp 0x14000d6f3
lea rcx, str.____ERROR__NtAllocateVirtualMemory_Failed_
call fcn.140005ff0
xor eax, eax
mov rbx, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x150]
add rsp, 0x160
pop r14
pop rdi
pop rbp
ret