joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005f608
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.180061ef4
nop
cmp dword [0x18008e8e8], 1
je 0x18005f5b4
mov dword [0x18008e8e4], 1
mov byte [0x18008e8e0], r12b
test ebx, ebx
jne 0x18005f5a0
mov rcx, qword [0x180091190]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18005f58d
mov rcx, qword [0x180091188]
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 0x18005f52c
call fcn.18005c9a0
cmp qword [rdi], rax
jne 0x18005f52c
jmp 0x18005f512
cmp rdi, rsi
jb 0x18005f58d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.18005c9a0
mov qword [rdi], rax
call rbx
mov rcx, qword [0x180091190]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x180091188]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x18005f56b
cmp r13, rax
je 0x18005f58b
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 0x18005f512
lea rdx, [0x1800704a0]
lea rcx, [0x180070488]
call fcn.18005f35c
lea rdx, [0x1800704b0]
lea rcx, [0x1800704a8]
call fcn.18005f35c
nop
test r12d, r12d
je 0x18005f5c3
mov ecx, 8
call fcn.180061df4
test r12d, r12d
jne 0x18005f5ee
mov dword [0x18008e8e8], 1
lea ecx, [r12 + 8]
call fcn.180061df4
mov ecx, r15d
call fcn.18005f2f0
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
lea edx, [r8 + 1]
jmp 0x18005f47c
Function at 0x180065bb8
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.18005c9a0
xor ebx, ebx
mov rdi, rax
cmp qword [0x18008ecf0], rbx
jne 0x180065cbe
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180065d93
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180065d93
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18008ecf0], 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 [0x18008ecf8], 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 [0x18008ed00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x18008ed10], rax
test rax, rax
je 0x180065cb5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x18008ed08], rax
jmp 0x180065cc5
mov rax, qword [0x18008ed08]
jmp 0x180065ccc
mov rax, qword [0x18008ed08]
mov r11, qword [0x18008ed10]
cmp rax, rdi
je 0x180065d34
cmp r11, rdi
je 0x180065d34
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x18008ed10]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180065d34
test rax, rax
je 0x180065d34
call rsi
test rax, rax
je 0x180065d2e
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 0x180065d2e
test byte [rsp + 0x38], 1
jne 0x180065d34
bts ebp, 0x15
jmp 0x180065d72
mov rcx, qword [0x18008ecf8]
cmp rcx, rdi
je 0x180065d72
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180065d72
call rax
mov rbx, rax
test rax, rax
je 0x180065d72
mov rcx, qword [0x18008ed00]
cmp rcx, rdi
je 0x180065d72
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180065d72
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18008ecf0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180065d93
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180065d95
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 0x140001170
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140021008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400011b5
xor al, al
jmp 0x140001202
cmp word [rbx], 0
je 0x1400011cd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x1400011c0
cmp word [rsp + 0x30], 0
je 0x1400011fb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x140001223
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x1400011e0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140002220
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.1400060b8
int3
Function at 0x1400017d0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x80
mov rcx, qword [0x140024d90]
xor ebx, ebx
test rcx, rcx
je 0x140001865
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
test eax, eax
jne 0x140001846
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x90]
mov r9d, 0x400
mov ecx, 0x1300
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rcx, str.Failed_to_send_CTRL_C_to_child_process.
call fcn.140006684
mov rcx, qword [rsp + 0x90]
call fcn.140006684
mov rcx, qword [0x140024d90]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140024d90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140026da8], bl
je 0x1400018b5
lea rax, [0x140024da0]
mov qword [rsp + 0x40], rbx
lea rcx, [0x14001ea70]
mov qword [rsp + 0x50], rax
mov eax, 0x414
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x40]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x64], ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
add rsp, 0x80
pop rbx
ret
Function at 0x1400060ac
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140005f3f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005f3f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005f3f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005f3f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005f3f
cmp dword [rcx + 0x84], 0xe
jbe 0x140005f3f
cmp dword [rcx + 0xf8], 0
je 0x140005f3f
mov ecx, ebx
call fcn.140005fe0
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140005dd0
cmp dword [rbp + 0x20], 0
je 0x140005f8c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005f94
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005ed8
Function at 0x140857058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1408571df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140857089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14085706f
add dl, dl
jne 0x140857096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408570f6
xor eax, eax
add dl, dl
jne 0x1408570a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408571ad
add dl, dl
jne 0x1408570b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408570c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408570d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408570dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408570ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14085707e
mov eax, 1
add dl, dl
jne 0x140857106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140857113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408570fb
sub eax, ebx
mov ebx, 1
jne 0x14085714c
mov ecx, 1
add dl, dl
jne 0x14085712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14085713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140857123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14085707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140857168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140857175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14085715d
cmp eax, 0x7d00
jae 0x14085719b
cmp eax, 0x500
jb 0x140857196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14085707e
cmp eax, 0x7f
ja 0x14085719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14085707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408571d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14085707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400012f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14009a010]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]

Function at 0x1400024e0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x14009a010]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rax, qword gs:[0x30]
mov ebp, ecx
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov r14, qword [rax + 0x10]
nop
mov rbx, qword [r14 + 0x30]
movsxd rax, dword [rbx + 0x3c]
mov rdx, qword [rax + rbx + 0x88]
mov r15, rdx
mov esi, edx
shr r15, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x1400025bd
mov edi, dword [rsi + 0x18]
xor r11d, r11d
test edi, edi
je 0x1400025bd
mov r10d, dword [rsi + 0x20]
add r10, rbx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r10]
mov r9d, 0x811c9dc5
add rax, rbx
movzx r8d, byte [rax]
inc rax
test r8b, r8b
je 0x1400025ac
nop dword [rax + rax]
movsx ecx, r8b
lea rax, [rax + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rax - 1]
cmova edx, ecx
xor edx, r9d
imul r9d, edx, 0x1000193
test r8b, r8b
jne 0x140002580
cmp r9d, ebp
je 0x1400025c5
inc r11d
add r10, 4
cmp r11d, edi
jb 0x140002560
mov r14, qword [r14]
jmp 0x140002520
mov eax, dword [rsi + 0x24]
mov ecx, dword [rsi + 0x1c]
add rax, rbx
add rcx, rbx
movzx edx, word [rax + r11*2]
mov r8d, dword [rcx + rdx*4]
add r8, rbx
cmp r8, rsi
jbe 0x1400025f9
lea rax, [r15 + rsi]
cmp r8, rax
jae 0x1400025f9
mov edx, 0x811c9dc5
mov ecx, edx
call fcn.140002630
jmp 0x1400025fc
mov rax, r8
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.14004f3c0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400058e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x14009a010]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r14, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x60]
call fcn.140053d90
lea rdx, [rbp - 0x60]
mov ecx, 0x800

Function at 0x140005c80
Capabilities:
Encode data using xor

Disassembly:
jae 0x140005c8a
mov qword [rsp + 0x10], rbx
pop rsp
and al, 0x10
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x14009a010]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r12, rcx
lea rcx, [0x14008e700]
call fcn.14070ade5
jne 0x140005c82
jns 0x140005c48
xchg ebx, eax
call 0x1013a2469
jne 0x140005ccc
jmp [rcx - 0x4a73e3f7]
test eax, 0xb58c1c09
shr dword [rax], 0xea
invalid
Function at 0x14000dc90
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14009a010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rcx
mov qword [rbp - 0x31], rcx
mov qword [rbp - 9], rcx
xor esi, esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rbp - 1], esi
mov ebx, esi
mov qword [rbp + 0x27], rbx
lea r9, [rbp - 1]
xor r8d, r8d
xor edx, edx
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, esi
cmp eax, 0xc0000004
jne 0x14000dd3f
nop
Function at 0x140014730
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140014764
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140014750
ret
Function at 0x14001b970
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14009a010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp - 0x40], rdx
xor r13d, r13d
mov ebx, r13d
mov dword [rsp + 0x30], ebx
mov rdi, qword [rcx]
movzx eax, byte [rdi + 0x30]
test al, al
je 0x14001b9d3
mov byte [rdx], al
mov eax, dword [rdi + 0x38]
mov dword [rdx + 8], eax
lea rdx, [rdi + 0x40]
lea rcx, [r15 + 0x10]
call fcn.140003290
jmp 0x14001bc57
mov rcx, qword [rdi + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x14001b9f3
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [r12]
mov qword [rax + 0x28], 0xffffffffffffffff
mov rdi, qword [r12]
mov dword [rbp], r13d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov dword [rbp + 4], 2
mov dword [rbp + 8], 1
mov dword [rbp + 0xc], 6
mov qword [rbp - 0x40], r13
mov ecx, 0x9467f52c
call fcn.1400024e0
mov rsi, rax
movzx edx, word [rdi + 0x20]
lea rcx, [rbp - 0x28]
call fcn.14001b5f0
nop
cmp qword [rax + 0x18], 0x10
jb 0x14001ba45
mov rax, qword [rax]
mov rcx, qword [r12]
cmp qword [rcx + 0x18], 0x10
jb 0x14001ba53
mov rcx, qword [rcx]
lea r9, [rbp - 0x40]
lea r8, [rbp]
mov rdx, rax
call rsi
test eax, eax
setne dil
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14001baa1
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ba9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bc81
call fcn.14004f424
test dil, dil
jne 0x14001bc37
mov rdi, qword [rbp - 0x40]
call fcn.14005b7e0
nop
int3
Function at 0x14001bc90
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xd0
mov rax, qword [0x14009a010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rax, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x79], rdx
mov rsi, qword [rbp + 0x7f]
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov rdx, qword [rcx]
mov rcx, qword [rdx + 0x28]
cmp rcx, 0xffffffffffffffff
jne 0x14001bcee
mov edx, 0x2749
mov rcx, rbx
call fcn.14001b6d0
jmp 0x14001be20
xor r9d, r9d
mov r8d, 0x4000
mov rdx, rax
call qword [sym.imp.WS2_32.dll_recv]
movsxd rdi, eax
test eax, eax
jle 0x14001bd12
mov qword [rsi], rdi
mov byte [rbx], r15b
jmp 0x14001be20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rbp - 0x39], r15
movdqa xmm0, xmmword [0x14008f700]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
mov dword [rbp - 0x41], eax
xor r8d, r8d
lea rdx, [0x14008d938]
lea rcx, [rbp - 0x39]
call fcn.140001f50
nop
mov dl, 1
mov byte [rbp - 0x11], dl
mov r8d, dword [rbp - 0x41]
mov dword [rbp - 9], r8d
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rbp - 0x29]
movups xmmword [rbp + 0xf], xmm1
mov dword [rsp + 0x20], 0x18
mov rax, qword [r14]
mov rcx, qword [rax + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x14001bd8f
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [r14]
mov qword [rax + 0x28], 0xffffffffffffffff
mov r8d, dword [rbp - 9]
movzx edx, byte [rbp - 0x11]
mov qword [rsi], r15
test edi, edi
jne 0x14001bda4
mov byte [rbp - 0x41], dil
mov edi, 0x1a
mov byte [rbx], 0
jmp 0x14001bdf1
mov byte [rbp - 0x71], dl
test dl, dl
je 0x14001bdc0
mov dword [rbp - 0x69], r8d
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x61]
call fcn.140003290
movzx edx, byte [rbp - 0x71]
mov edi, 0x1c
mov byte [rbx], dl
test dl, dl
je 0x14001bdf1
mov eax, dword [rbp - 0x69]
mov dword [rbx + 8], eax
movups xmm0, xmmword [rbp - 0x61]
movups xmmword [rbx + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x51]
movups xmmword [rbx + 0x20], xmm1
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], send
mov byte [rbp - 0x61], 0
or edi, 1
test dil, 4
je 0x14001be07
and edi, 0xfffffffb
lea rcx, [rbp - 0x71]
call fcn.1400138e0
nop
test dil, 2
je 0x14001be17
lea rcx, [rbp - 0x41]
call fcn.1400138e0
nop
lea rcx, [rbp - 0x11]
call fcn.1400138e0
mov rax, rbx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14004f3c0
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400222d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x14009a010]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, r9
mov rbx, r8
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov qword [rsp + 0x38], rbp
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call fcn.140053d90
mov dword [rsp + 0x30], 0x800
mov dword [rsp + 0x40], 1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9d, [rbp + 1]
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140022361
mov qword [rdi], rbp
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
jmp 0x1400223d8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x1400223ae
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi], rbp
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
jmp 0x1400223d8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsp + 0x30]
mov qword [rdi], rbp
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140004a30
mov rax, rdi
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14004f3c0
mov rbx, qword [rsp + 0x888]
add rsp, 0x860
pop rdi
pop rsi
pop rbp
ret
Function at 0x140022ac0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14009a010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov ecx, 0xf75db66e
call fcn.1400024e0
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rsi + 1]
mov rcx, rbx
call rax
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140022c76
mov qword [rsp + 0x50], rsi
mov ecx, 0xc309a0d
call fcn.1400024e0
lea rdx, [rsp + 0x50]
mov rcx, rdi
call rax
test eax, eax
je 0x140022c67
mov ecx, 0x700da41
call fcn.1400024e0
lea r9d, [rsi + 4]
mov r8d, 0x3000
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call rax
mov rbx, rax
test rax, rax
je 0x140022c76
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x50]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140022ba9
mov ecx, 0x6bcbc4b2
call fcn.1400024e0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call rax
jmp 0x140022c67
mov ecx, 0x8285aca5
call fcn.1400024e0
mov rcx, rdi
call rax
mov dword [rsp + 0x4c], esi
mov ecx, 0xd30e846a
call fcn.1400024e0
mov r8d, 6
lea r9, [rsp + 0x4c]
xor edx, edx
mov rcx, rbx
call rax
test rax, rax
jne 0x140022bfb
mov ecx, 0x6bcbc4b2
call fcn.1400024e0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call rax
xor eax, eax
jmp 0x140022c7c
mov ecx, dword [rax + 0x18]
add rcx, rbx
mov rdx, rcx
mov qword [rsp + 0x40], rcx
movabs r8, 0x6c616e416f747541
lea rax, [rcx + 0xa0]
cmp rdx, rax
jae 0x140022c4c
cmp qword [rdx], r8
jne 0x140022c42
mov ecx, 0x6bcbc4b2
call fcn.1400024e0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call rax
mov eax, 1
jmp 0x140022c7c
inc rdx
mov qword [rsp + 0x40], rdx
jmp 0x140022c13
mov ecx, 0x6bcbc4b2
call fcn.1400024e0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call rax
xor eax, eax
jmp 0x140022c7c
mov ecx, 0x8285aca5
call fcn.1400024e0
mov rcx, rdi
call rax
xor eax, eax
jmp 0x140022c7c
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004f3c0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140024d80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
lea r11, [0x14008e1f0]
mov r9, rdx
not ecx
cmp r8, 4
jb 0x140024df9
mov r10, r8
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r8, rax
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
add r9, 4
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x140024da0
test r8, r8
je 0x140024e1d
nop
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r8, 1
jne 0x140024e00
not ecx
mov eax, ecx
ret
Function at 0x14006064c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140060478