joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006b9f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14006ba32
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14006ba79
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14006bad2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14006ba90
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14006bb13
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14007e14a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14007e14b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14006bae0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14006cabc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006cb06
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006cb06
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006cb06
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006cb06
cmp dword [rcx + 0x84], 0xe
jbe 0x14006cb06
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006cb08
xor al, al
add rsp, 0x28
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
outsd dx, dword [rsi]
add dl, bl
push 0x22
add qword [r15 + 0x32], r13
mov esi, dword [rsi + 0x75b2a4b4]
test al, 0xb3
iretd
or cl, ah
xor bh, byte [rax + 0x56de86a3]
push rsi
je 0x14003f6ed
movabs r15, 0xc4c712d648e16a84
clc
xor al, dl
invalid
div dword [rax + 0x66]
fmul dword [rdi - 0x68]
invalid
movsd dword [rdi], dword [rsi]
sahf
xchg dword [rdx + rax - 0x43279834], ecx
test al, 0x5d
leave
cmp al, 0x38
movsb byte [rdi], byte fs:[rsi]
adc ch, bl
invalid
invalid
sbb al, 0xc
or al, 0x6f
or edx, dword ds:[rdx - 0x22c049b9]
xchg edx, eax
mov r14b, 0x3f
invalid
int1
int 0x7f
dec esp
invalid
xchg edx, eax
mov r14b, 0x3f
invalid
invalid
stosd dword [rdi], eax
xchg cl, ah
fild qword [rcx + rbx - 2]
ficom word [rcx - 0x4907b092]
invalid
Function at 0x14000111e
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
cpuid
mov eax, 1
cpuid
movabs r9, 0xb2d05e00
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
fldpi
frndint
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, r9
jb 0x140001141
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0xffffffff9f345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x14000116c
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x140001165
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret

Function at 0x1400041e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14002b178]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor ebx, ebx
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x30], rbx
mov word [rsp + 0x40], bx
call fcn.140007f40
lea rax, [rsp + 0x30]
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], 0x208
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140004253
xor eax, eax
jmp 0x140004323
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea rdx, str.BIOSVersion
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x270], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov edi, ebx
test eax, eax
sete dil
test rcx, rcx
je 0x14000429f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
mov rdi, qword [rsp + 0x270]
je 0x140004321
movzx eax, word [rsp + 0x40]
cmp ax, 0x47
jne 0x1400042db
movzx eax, word [rsp + 0x42]
cmp ax, 0x45
je 0x14000431c
cmp ax, 0x4f
je 0x14000431c
cmp ax, 0x55
je 0x14000431c
cmp ax, 0x58
je 0x14000431c
cmp ax, 0x57
je 0x14000431c
jmp 0x140004321
cmp ax, 0x42
jne 0x1400042eb
cmp word [rsp + 0x42], 0x31
je 0x14000431c
jmp 0x140004321
cmp ax, 0x4e
jne 0x140004321
cmp word [rsp + 0x42], 0x31
jne 0x140004321
movzx eax, word [rsp + 0x44]
cmp ax, 0x37
je 0x14000431c
cmp ax, 0x38
je 0x14000431c
cmp ax, 0x41
je 0x14000431c
cmp ax, 0x42
je 0x14000431c
cmp ax, 0x4c
jne 0x140004321
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140007f10
add rsp, 0x260
pop rbx
ret
Function at 0x140004350
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x278
mov rax, qword [0x14002b178]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov rsi, r8
mov rbp, rdx
xor eax, eax
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
movzx ebx, r9w
mov word [rsp + 0x50], ax
call fcn.140007f40
lea r8, [0x1400226f8]
lea rcx, [rsp + 0x30]
mov r9d, ebx
mov edx, 0xf
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea r9, [rsp + 0x50]
lea r8, [0x1400226f4]
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x14000444f
and ebx, 0x3ff
lea r8, str.STRINGS._04X
lea edx, [rax + 0xf]
lea rcx, [rsp + 0x30]
mov r9d, ebx
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea r9, [rsp + 0x50]
lea r8, [0x140022714]
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x14000444f
lea r9, [rsp + 0x50]
lea r8, [0x140022734]
lea rcx, str.STRINGS
mov rdx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x14000446a
mov r8d, dword [rsp + 0x2c0]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov eax, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140007f10
add rsp, 0x278
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140004aa0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x90
mov ebx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test bl, al
mov eax, 0x101
cmovne ebx, eax
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140004b00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x70
movsxd rdi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ebx, ebx
mov r8d, edi
mov r12, rax
mov dword [rsp + 0xa0], ebx
test edi, edi
je 0x140004b3e
dec r8d
jne 0x140004b76
lea ecx, [rbx + 0x14]
jmp 0x140004b4b
cmp dword [0x14002cfa0], ebx
je 0x140004b62
mov ecx, 0x90
mov ebx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test bl, al
mov eax, 0x101
cmovne ebx, eax
jmp 0x140004b76
lea rcx, [rsp + 0xa0]
call fcn.1400049b0
mov ebx, dword [rsp + 0xa0]
bt ebx, 8
mov rbx, rdi
jae 0x140004b89
mov rdi, qword [rsi + rdi*8 + 0x90]
jmp 0x140004b91
mov rdi, qword [rsi + rdi*8 + 0xa0]
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
lea r8, [rsp + 0x50]
mov edx, 0x20
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x58]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
lea rax, [rbx + 3]
add rax, rax
mov r11, rbx
mov dword [rsp + 0x30], 0
mov eax, dword [rsi + rax*8]
add r11, r11
mov qword [rsp + 0x28], r12
add eax, dword [rsi + r11*8 + 0x28]
sub eax, r8d
cdq
sub eax, edx
sar eax, 1
mov r10d, eax
mov eax, dword [rsi + r11*8 + 0x34]
add eax, dword [rsi + r11*8 + 0x2c]
lea r9d, [r10 + r8]
sub eax, ecx
cdq
sub eax, edx
mov edx, r10d
sar eax, 1
add ecx, eax
mov r8d, eax
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x14000a37b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14002b178]
jne 0x140007f2a
rol rcx, 0x10
test cx, 0xffff
jne 0x140007f26
repz ret
ror rcx, 0x10
jmp 0x14000a2d4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002dcd0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14002ddc8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000a359
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14002dcd0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000a37b
mov rax, qword [rsp + 0x88]
mov qword [0x14002ddc8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002dd68], rax
mov rax, qword [0x14002ddc8]
mov qword [0x14002dc40], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002dd50], rax
mov dword [0x14002dc30], 0xc0000409
mov dword [0x14002dc34], 1
mov rax, qword [0x14002b178]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14002b180]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002dcc8], eax
mov ecx, 1
call fcn.140010b88
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140023190]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002dcc8], 0
jne 0x14000a402
mov ecx, 1
call fcn.140010b88
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14000d354
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000d1c4
Function at 0x14001bd30
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14002b178]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000b068
xor ebx, ebx
cmp qword [0x14002ecc8], rbx
mov rdi, rax
jne 0x14001be43
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14001bf1a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001bf1a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14002ecc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14002ecd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14002ecd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14002ece8], rax
test rax, rax
je 0x14001be3a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14002ece0], rax
jmp 0x14001be4a
mov rax, qword [0x14002ece0]
jmp 0x14001be51
mov rax, qword [0x14002ece0]
mov r11, qword [0x14002ece8]
cmp rax, rdi
je 0x14001beb8
cmp r11, rdi
je 0x14001beb8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14002ece8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14001beb8
test rax, rax
je 0x14001beb8
call rsi
test rax, rax
je 0x14001beb2
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001beb2
test byte [rsp + 0x40], 1
jne 0x14001beb8
bts ebp, 0x15
jmp 0x14001bef8
mov rcx, qword [0x14002ecd0]
cmp rcx, rdi
je 0x14001bef8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001bef8
call rax
mov rbx, rax
test rax, rax
je 0x14001bef8
mov rcx, qword [0x14002ecd8]
cmp rcx, rdi
je 0x14001bef8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001bef8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14002ecc8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001bf1a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14001bf1c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140007f10
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140020770
Capabilities:
Connect pipe
Create pipe
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rcx
lea rcx, [0x14002cfd0]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 6]
mov edx, 0x40000003
mov r9d, 0xff
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [0x14002cfc0], rax
cmp rax, 0xffffffffffffffff
jne 0x1400207ce
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x1400207e4
mov ebx, 1
jmp 0x1400207f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
sete bl
lea rcx, [0x140020b30]
mov r8, rdi
xor edx, edx
call fcn.140008778
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140020820
Capabilities:
Connect pipe
Write file on windows
Write pipe

Disassembly:
push rdi
sub rsp, 0x30
xor eax, eax
mov edi, r8d
test rdx, rdx
je 0x14002089b
test r8d, r8d
jle 0x14002089b
mov rcx, qword [0x14002cfc0]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
test eax, eax
je 0x140020896
cmp edi, dword [rsp + 0x48]
jne 0x140020896
mov rcx, qword [0x14002cfc0]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [0x14002cfc0]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [0x14002cfc0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x140020894
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000d7c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x14000d8e0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x14000d820
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x14000d820
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x14000d820

Function at 0x140023830
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140023877
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140023891
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14002386f
mov qword [rsi], rdi
call fcn.140053430
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x1400238a7
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140053430
mov rcx, qword [rsi]
call fcn.140053440
mov qword [rsi], 0
jmp 0x14002385d
int3
Function at 0x140023b10
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rcx + 0x18]
je 0x140023b56
mov r15, rbx
test r15, r15
je 0x140023c32
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, r14
sub rax, r12
jbe 0x140023bb2
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, r14
sub r15, rax
sub rbx, r14
je 0x140023ba1
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.140092640
mov r14, qword [rsi + 8]
add r15, rbx
mov qword [rsi + 0x10], r15
lea rax, [r14 + r12*8]
mov qword [rsi + 8], rax
jmp 0x140023b32
mov rax, rbx
sub rax, r12
sar rax, 2
cmp rbx, r12
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x140023c4e
lea rcx, [r13*8]
call fcn.140064440
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rbx
mov r15, rcx
sub rdx, r14
je 0x140023c14
lea r15, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x140023c32
mov r10, qword [r14 + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x140023bfc
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdx
cmp rbx, r14
je 0x140023c34
add rbx, 0xfffffffffffffff8
jne 0x140023c27
ud2
test r12, r12
je 0x140023b32
mov rcx, r12
call fcn.14006447c
mov r15, qword [rsi + 0x10]
jmp 0x140023b32
call fcn.1400937a0
int3
Function at 0x1400252a0
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x1400e3040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140025470
mov eax, dword [rsi]
mov dword [0x1400e5120], eax
mov bl, 1
test al, 1
jne 0x1400252f1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x1400e3040]
je 0x1400252e5
call fcn.140065690
int3
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x1400f45b8]
test rcx, rcx
je 0x14002531f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400f45b8], 0
cmp qword [0x1400f45c0], 0
jne 0x14002531f
and byte [0x1400e5120], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x140025348
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x140025336
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x1400253c1
mov qword [0x1400f45b8], rax
jmp 0x1400252ce
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x140025356
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140025410
lea rdi, [rsi + 8]
mov rcx, qword [0x1400f45c0]
test rcx, rcx
jne 0x140025391
mov ecx, 0x18
call fcn.140064440
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1400f45c0], rax
mov rdx, rdi
call fcn.140047860
cmp dword [rsi + 0x24], 0
jne 0x1400253b5
mov rcx, qword [0x1400f45c0]
cmp byte [rcx + 0x17], 0
jns 0x1400253af
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1400acbc0
mov ebx, eax
jmp 0x1400252ce
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, [0x1400cb774]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x232
call fcn.140053410
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.1400b0430
mov rcx, r14
call fcn.1400b0640
mov rax, qword [rsi + 0x28]
jmp 0x14002533f
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, [0x1400cb774]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x238
call fcn.140053410
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.1400b0430
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov rcx, rbx
call fcn.1400acb90
mov rcx, rbx
call fcn.1400b0640
jmp 0x14002535f