joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400039c3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14005db90]
jne 0x14000255a
rol rcx, 0x10
test cx, 0xffff
jne 0x140002556
repz ret
ror rcx, 0x10
jmp 0x14000391c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14005f0b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14005f1a8]
mov qword [rsp + 0x58], r11
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 0x1400039a1
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, [0x14005f0b0]
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 0x1400039c3
mov rax, qword [rsp + 0x88]
mov qword [0x14005f1a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14005f148], rax
mov rax, qword [0x14005f1a8]
mov qword [0x14005f020], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14005f130], rax
mov dword [0x14005f010], 0xc0000409
mov dword [0x14005f014], 1
mov rax, qword [0x14005db90]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14005db98]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14005f0a8], eax
mov ecx, 1
call fcn.140003f64
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000a538]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14005f0a8], 0
jne 0x140003a4a
mov ecx, 1
call fcn.140003f64
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 0x140005a9c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140006b98
nop
cmp dword [0x14005f5e0], 1
je 0x140005a48
mov dword [0x14005f5dc], 1
mov byte [0x14005f5d8], r12b
test ebx, ebx
jne 0x140005a34
mov rcx, qword [0x140060070]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140005a21
mov rcx, qword [0x140060068]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400059c0
call fcn.140003a70
cmp qword [rdi], rax
jne 0x1400059c0
jmp 0x1400059a6
cmp rdi, rsi
jb 0x140005a21
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140003a70
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140060070]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140060068]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400059ff
cmp r13, rax
je 0x140005a1f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400059a6
lea rdx, [0x14000a250]
lea rcx, [0x14000a248]
call fcn.1400057f0
lea rdx, [0x14000a260]
lea rcx, [0x14000a258]
call fcn.1400057f0
nop
test r12d, r12d
je 0x140005a57
mov ecx, 8
call fcn.140006a98
test r12d, r12d
jne 0x140005a82
mov dword [0x14005f5e0], 1
lea ecx, [r12 + 8]
call fcn.140006a98
mov ecx, r15d
call fcn.140005784
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140005910

Function at 0x140005aa8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140005910
Function at 0x140007f60
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140003a70
xor ebx, ebx
mov rdi, rax
cmp qword [0x14005fd60], rbx
jne 0x140008066
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14000813b
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000813b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14005fd60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14005fd68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14005fd70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14005fd80], rax
test rax, rax
je 0x14000805d
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14005fd78], rax
jmp 0x14000806d
mov rax, qword [0x14005fd78]
jmp 0x140008074
mov rax, qword [0x14005fd78]
mov r11, qword [0x14005fd80]
cmp rax, rdi
je 0x1400080dc
cmp r11, rdi
je 0x1400080dc
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14005fd80]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400080dc
test rax, rax
je 0x1400080dc
call rsi
test rax, rax
je 0x1400080d6
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400080d6
test byte [rsp + 0x38], 1
jne 0x1400080dc
bts ebp, 0x15
jmp 0x14000811a
mov rcx, qword [0x14005fd68]
cmp rcx, rdi
je 0x14000811a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000811a
call rax
mov rbx, rax
test rax, rax
je 0x14000811a
mov rcx, qword [0x14005fd70]
cmp rcx, rdi
je 0x14000811a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000811a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14005fd60]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000813b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14000813d
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180001f5c
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rdi, rdx
mov rsi, rcx
lea rdx, [rsp + 0x20]
mov rcx, rdi
xor ebx, ebx
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180001fb5
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call fcn.18000b510
test eax, eax
je 0x180001fb1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x180001f8c
mov ebx, dword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x260]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x18000216c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
and dword [rax + 0x10], 0
cmp qword [rdx + 0x18], 0x10
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
jb 0x18000219a
mov rdx, qword [rdx]
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1800021f1
lea rdx, str.Failed_to_query_size_of_registry_value:
lea rcx, [0x18003e410]
call fcn.180006664
mov rdx, rbx
mov rcx, rax
call fcn.180006884
mov dl, 0xa
mov rcx, rax
mov rbx, rax
call fcn.1800028f8
mov rcx, rbx
call fcn.180002a14
xor al, al
jmp 0x180002251
mov eax, dword [rsp + 0x48]
mov ecx, eax
mov dword [rbp], eax
call fcn.18000a9c0
mov qword [rsi], rax
cmp qword [rbx + 0x18], 0x10
jb 0x18000220e
mov rdx, qword [rbx]
jmp 0x180002211
mov rdx, rbx
lea rcx, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x18000224f
mov rcx, qword [rsi]
call fcn.18000cdb4
and qword [rsi], 0
and dword [rbp], 0
lea rdx, str.Failed_to_retrieve_data_from_registry_value:
jmp 0x1800021c1
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800049dc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, rcx
cmp qword [rcx + 0x80], 0
je 0x180004b6d
cmp byte [rcx + 0x89], 0
je 0x180004b6d
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x180004a2d
xor al, al
jmp 0x180004b6f
mov edx, 0xf
mov qword [rbp - 0x10], rdx
and qword [rbp - 0x18], 0
mov byte [rbp - 0x28], 0
lea r13d, [rdx - 7]
cmp r13b, 0xfe
jbe 0x180004a56
lea rcx, str.string_too_long
call fcn.18000a280
int3
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], r13
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
mov r9, qword [rbp - 0x28]
mov r10, qword [rbp - 0x10]
lea rdx, [rbp - 0x28]
cmp r10, 0x10
cmovae rdx, r9
lea r8, [rbp - 0x28]
cmovae r8, r9
mov rcx, qword [rbx + 0x80]
mov r10, qword [rcx]
mov rax, qword [rbp - 0x18]
lea r9, [rdx + rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbx + 0x8c]
call qword [r10 + 0x30]
test eax, eax
je 0x180004abb
dec eax
jne 0x180004b32
jmp 0x180004ac2
mov byte [rbx + 0x89], 0
lea rax, [rbp - 0x28]
mov r9, qword [rbp - 0x28]
mov r10, qword [rbp - 0x10]
cmp r10, 0x10
cmovae rax, r9
mov rdi, qword [rbp + 0x20]
sub rdi, rax
je 0x180004b0c
lea rcx, [rbp - 0x28]
cmp r10, 0x10
cmovae rcx, r9
mov r9, qword [rbx + 0x98]
mov r8, rdi
mov edx, 1
call fcn.18000cfd8
cmp rdi, rax
jne 0x180004b46
mov r10, qword [rbp - 0x10]
mov r9, qword [rbp - 0x28]
cmp byte [rbx + 0x89], 0
je 0x180004b5f
test rdi, rdi
jne 0x180004a77
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp - 0x28]
call fcn.180004058
jmp 0x180004a6f
sub eax, 2
je 0x180004b39
jmp 0x180004b46
cmp qword [rbp - 0x10], 0x10
jb 0x180004b6d
mov rcx, qword [rbp - 0x28]
jmp 0x180004b68
cmp qword [rbp - 0x10], 0x10
jb 0x180004a26
mov rcx, qword [rbp - 0x28]
call fcn.18000cdbc
jmp 0x180004a26
cmp r10, 0x10
jb 0x180004b6d
mov rcx, r9
call fcn.18000cdbc
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop rdi
pop rbp
ret
Function at 0x18002a99c
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 [0x18003ea00]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180014590
xor ebx, ebx
cmp qword [0x19d441658], rbx
mov rdi, rax
jne 0x18002aaaf
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18002ab86
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18002ab86
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x19d441658], 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 [0x19d441660], 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 [0x19d441668], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x19d441678], rax
test rax, rax
je 0x18002aaa6
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 [0x19d441670], rax
jmp 0x18002aab6
mov rax, qword [0x19d441670]
jmp 0x18002aabd
mov rax, qword [0x19d441670]
mov r11, qword [0x19d441678]
cmp rax, rdi
je 0x18002ab24
cmp r11, rdi
je 0x18002ab24
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x19d441678]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18002ab24
test rax, rax
je 0x18002ab24
call rsi
test rax, rax
je 0x18002ab1e
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 0x18002ab1e
test byte [rsp + 0x40], 1
jne 0x18002ab24
bts ebp, 0x15
jmp 0x18002ab64
mov rcx, qword [0x19d441660]
cmp rcx, rdi
je 0x18002ab64
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18002ab64
call rax
mov rbx, rax
test rax, rax
je 0x18002ab64
mov rcx, qword [0x19d441668]
cmp rcx, rdi
je 0x18002ab64
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18002ab64
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x19d441658]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18002ab86
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18002ab88
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18000e530
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14011ea60]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14011ea70]
mov dword [rax], 1
mov rax, qword [0x14011ea80]
mov dword [rax], 1
mov rax, qword [0x14011ea10]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14011ea50]
mov dword [0x14013b00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14011eb40]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14011eb20]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14011e9a0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x1400015b0
Capabilities:
Get session user name
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov dword [rbp - 4], 0x101
lea rdx, [rbp - 4]
mov rax, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_GetUserNameA]
call rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov r8d, 0
lea rax, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rdx, rax
mov rcx, 0xffffffff80000002
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call rax
test eax, eax
jne 0x140001699
mov dword [rbp - 0x14], 0x100
mov rax, qword [rbp - 0x10]
lea rdx, [rbp - 0x14]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
lea rdx, str.ProductName
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call rax
mov rax, qword [rbp - 0x10]
lea rdx, [rbp - 0x14]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x20]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
lea rdx, str.CurrentVersion
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
jmp 0x1400016e5
mov rax, qword [rbp + 0x18]
movabs rdx, 0x206e776f6e6b6e55
movabs rcx, 0x2073776f646e6957
mov qword [rax], rdx
mov qword [rax + 8], rcx
movabs rcx, 0x6e6f6973726556
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x20]
movabs rdx, 0x206e776f6e6b6e55
movabs rcx, 0x6e6f6973726556
mov qword [rax], rdx
mov qword [rax + 8], rcx
nop
add rsp, 0x50
pop rbp
ret
Function at 0x140001b7b
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push rbp
sub rsp, 0x210
lea rbp, [rsp + 0x80]
mov dword [rbp - 0x30], 0x18
mov dword [rbp - 0x20], 1
mov qword [rbp - 0x28], 0
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0xf0]
lea rax, [rbp + 0xf8]
mov r9d, 0
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreatePipe]
call rax
test eax, eax
jne 0x140001bd6
mov eax, 0
jmp 0x140001e2b
lea rax, [rbp + 0x100]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp + 0x100], 0x68
mov eax, dword [rbp + 0x13c]
or ah, 1
mov dword [rbp + 0x13c], eax
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x160], rax
lea rax, [rbp + 0x170]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [rbp + 0x170]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
lea rax, str.wmic_csproduct_get_uuid
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
jne 0x140001cd1
mov rax, qword [rbp + 0xf0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0xf8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x140001e2b
mov rax, qword [rbp + 0xf0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x140001d85
mov eax, dword [rbp - 0x14]
mov eax, eax
mov byte [rbp + rax - 0x10], 0
lea rax, [rbp - 0x10]
lea rdx, [0x1400f2060]
mov rcx, rax
call sym.strtok
mov qword [rbp + 0x188], rax
jmp 0x140001d7b
mov rax, qword [rbp + 0x188]
lea rdx, str.UUID
mov rcx, rax
call sym.strstr
test rax, rax
jne 0x140001d60
mov rax, qword [rbp + 0x188]
movzx eax, byte [rax]
test al, al
je 0x140001d60
mov rax, qword [rbp + 0x188]
mov r8d, 0x25
mov rdx, rax
lea rax, [0x14013b040]
mov rcx, rax
call sym.strncpy
mov byte [0x14013b064], 0
jmp 0x140001d85
lea rax, [0x1400f2060]
mov rdx, rax
mov ecx, 0
call sym.strtok
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x188], 0
jne 0x140001d0f
mov rax, qword [rbp + 0xf8]
lea rcx, [rbp - 0x14]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], 0
mov r9, rcx
mov r8d, 0xff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ReadFile]
call rax
test eax, eax
je 0x140001dc1
mov eax, dword [rbp - 0x14]
test eax, eax
jne 0x140001ce9
mov rax, qword [rbp + 0xf8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x170]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x170]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x178]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
movzx eax, byte [0x14013b040]
test al, al
je 0x140001e26
lea rax, [0x14013b040]
jmp 0x140001e2b
mov eax, 0
add rsp, 0x210
pop rbp
ret
Function at 0x1400026a5
Capabilities:
Query environment variable

Disassembly:
push rbp
sub rsp, 0x140
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xd0], rcx
mov ecx, 0x104
call sym.malloc
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x1400026de
mov eax, 0
jmp 0x140002742
lea rax, [rbp - 0x50]
mov r8d, 0x104
mov rdx, rax
lea rax, [0x1400f2140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call rax
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
lea rcx, [rbp - 0x50]
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x28], rdx
lea rdx, str.AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup_
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, str._s_s_s.lnk
mov edx, 0x104
mov rcx, rax
call sym.snprintf_1
mov rax, qword [rbp + 0xb8]
add rsp, 0x140
pop rbp
ret

Function at 0x140002824
Capabilities:
Delete file

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.scut
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14000284e
mov eax, 0xffffffff
jmp 0x14000286c
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.remove
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.free
mov eax, dword [rbp - 0xc]
add rsp, 0x30
pop rbp
ret
Function at 0x140005560
Capabilities:
Encode data using base64

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
mov rax, qword [r9 + 0xa8]
mov r11, rcx
cmp qword [r9 + 0xa0], rax
jae 0x14000579b
mov rax, qword [r9 + 0x98]
movzx esi, word [0x1400f2df0]
xor r10d, r10d
lea rcx, [0x1400f2d00]
jmp 0x140005690
cmp rdx, 1
jbe 0x1400056a7
sub rdx, 2
mov word [r11], si
lea rbx, [r11 + 2]
add r10, 2
mov qword [r9 + 0x98], 0
cmp rdx, 3
jbe 0x1400056a7
mov r11, qword [r9 + 0xa0]
mov rax, qword [r9 + 0xa8]
sub rax, r11
cmp rax, 2
jbe 0x1400056c0
movsx eax, byte [r9 + r11 + 0xb0]
add r10, 4
sub rdx, 4
movzx edi, byte [r9 + r11 + 0xb1]
shl eax, 8
movzx eax, ax
or eax, edi
lea rdi, [r11 + 3]
mov qword [r9 + 0xa0], rdi
shl eax, 8
movzx r12d, byte [r9 + r11 + 0xb2]
lea r11, [rbx + 4]
mov edi, eax
or r12d, eax
shr eax, 0xc
mov r13d, r12d
and r12d, 0x3f
mov ebp, eax
shr edi, 0x12
sar r13d, 6
movzx eax, byte [rcx + r12]
and ebp, 0x3f
movzx edi, byte [rcx + rdi]
and r13d, 0x3f
movzx ebp, byte [rcx + rbp]
movzx r12d, byte [rcx + r13]
shl eax, 8
or eax, r12d
shl eax, 8
or eax, ebp
shl eax, 8
or eax, edi
mov dword [rbx], eax
mov rax, qword [r9 + 0x98]
mov rbx, qword [r9 + 0xa8]
add rax, 4
mov qword [r9 + 0x98], rax
cmp qword [r9 + 0xa0], rbx
jae 0x140005780
cmp rax, 0x48
ja 0x1400055a0
mov rbx, r11
cmp rdx, 3
ja 0x1400055cf
test r10, r10
je 0x1400057ad
mov rax, r10
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test r8b, r8b
je 0x1400056b0
mov eax, 0x3d3d
mov word [rbx + 2], ax
mov rax, qword [r9 + 0xa8]
mov rcx, qword [r9 + 0xa0]
cmp rax, rcx
je 0x1400056b0
sub rax, rcx
xor edx, edx
cmp rax, 2
jne 0x1400056fb
movsx edx, byte [r9 + rcx + 0xb1]
shl edx, 8
movzx edx, dx
movsx eax, byte [r9 + rcx + 0xb0]
lea r8, [0x1400f2d00]
xor ecx, ecx
shl eax, 0x10
and eax, 0xff0000
or edx, eax
shr eax, 0x12
mov cl, byte [r8 + rax]
mov eax, edx
sar eax, 0xc
and eax, 0x3f
movzx eax, byte [r8 + rax]
mov ch, al
mov word [rbx], cx
mov rax, qword [r9 + 0xa0]
add rax, 1
mov qword [r9 + 0xa0], rax
cmp rax, qword [r9 + 0xa8]
je 0x140005761
sar edx, 6
and edx, 0x3c
movzx eax, byte [r8 + rdx]
mov byte [rbx + 2], al
add qword [r9 + 0xa0], 1
add qword [r9 + 0x98], 4
add r10, 4
mov rax, r10
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test r8b, r8b
je 0x1400056b0
cmp rdx, 3
jbe 0x1400056a7
mov rbx, r11
jmp 0x1400056c5
xor r10d, r10d
test r8b, r8b
je 0x1400056b0
cmp rdx, 3
ja 0x140005793
mov r10, 0xfffffffffffffffe
mov rax, r10
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x140005a90
Capabilities:
Read file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rdi, rdx
mov rbx, r9
test r8, r8
je 0x140005af0
mov r9, qword [r9 + 0x40]
test r9, r9
je 0x140005ac0
mov rdx, rdi
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp sym.fread
mov rcx, qword [rbx + 0x18]
lea rdx, [0x1400f2720]
mov qword [rsp + 0x28], r8
call sym.curlx_win32_fopen
mov r8, qword [rsp + 0x28]
test rax, rax
mov qword [rbx + 0x40], rax
mov r9, rax
jne 0x140005aae
mov rax, 0xffffffffffffffff
jmp 0x140005af7
mov rax, 0xfffffffffffffffe
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret