joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f900
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x14000f935
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.14000f1f0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x14000faa4
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x14000fa1c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14000fa93
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14000fa59
mov r10, qword [rdx]
cmp r10, rax
je 0x14000fa53
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14000fa93
cmp r9, rdx
je 0x14000fa6f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14000fab5
cmp r9, rdx
jne 0x14000fa60
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x14000f9a0
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14000fa93
Function at 0x140015840
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x1401866ef], 0
mov rsi, rax
mov ecx, dword [0x1401866ec]
mov dword [rsp + 0x48], ecx
je 0x140015954
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140015915
movdqa xmm3, xmmword [0x1401906d0]
mov eax, 5
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140190a40]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140190a40]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, eax
psrad xmm2, xmm0
mov eax, Ordinal_33
movdqa xmm1, xmm2
movd xmm0, eax
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140190730]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140190940]
movd xmm0, ecx
xorps xmm2, xmm0
movd dword [rsp + 0x48], xmm2
jmp 0x140015954
lea r9, [rsp + 0x48]
xor r8d, r8d
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140015920
lea r8, [rsp + 0x48]
mov edx, reloc.WS2_32.dll_WSAStartup
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [0x1401cb1b0]
mov rdx, rdi
movss xmm3, dword [0x1401905c4]
mov r8d, eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rcx + 0x38]
call fcn.14003d260
mov qword [0x1401cb180], rax
test rax, rax
jne 0x1400159dc
mov rax, qword [0x1401cb1b0]
mov rcx, qword [rax + 0x48]
mov qword [0x1401cb180], rcx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400194c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001951d
lea rbx, [0x140162a50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140019504
cmp r10, 2
jb 0x140019504
cmp byte [r9], r8b
jne 0x140019504
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400194e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001955f
lea rbx, [0x140162a50]
cmp r8b, 0x23
jne 0x140019543
cmp byte [r9], r8b
jne 0x140019543
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140019530
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140019720
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14001973e
mov qword [r8], r14
lea rdx, [0x140160174]
call fcn.140019570
mov rbx, rax
test rax, rax
jne 0x140019763
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001988d
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001988d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001988d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001988d
cmp rdi, 0xffffffffffffffff
je 0x14001988d
mov rcx, rdi
call fcn.14001cd60
mov rbp, rax
test rax, rax
je 0x14001988d
mov r9, rbx
mov r8, rdi
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, rdi
je 0x14001987a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1401cb1b0]
test r8, r8
je 0x14001986f
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140019864
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140019896
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140019888
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140019898
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 rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001c820
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x140162a50]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x14001c8b6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14002f740
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140029250
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401cb1b0]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x1400292b1
cmp byte [rbx + 0x4d4e], 0
jne 0x1400292b1
movsx r9d, word [rbx + 0x5eb8]
lea r8, [0x14015fd38]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400192d0
test dil, 2
je 0x1400293df
jmp 0x14002933a
movss xmm1, dword [rbx + 0x39bc]
lea r8, [0x14015fd38]
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1401905b0]
mulss xmm1, dword [0x1401905a4]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x140190410]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.1400192d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140029390
lea r11, [0x140162a50]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140029373
cmp byte [r8], r9b
jne 0x140029373
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140029360
not ecx
call fcn.14001fdd0
test rax, rax
je 0x1400293df
cmp byte [rax + 0xbe], 0
je 0x1400293df
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.1400192d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140022a20
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140127920
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14002e120
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6010], 0
lea rbx, [rcx + 0x6018]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14002e1c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002e17a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400307e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140019d10
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6020]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401cb1a8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002e1cf
mov rcx, rbx
call fcn.140019d10
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14002e4f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1401cb1b0]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x14002e5cf
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14002e5c8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140019720
mov rsi, rax
test rax, rax
je 0x14002e5c8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14002e554
mov rcx, rax
call fcn.14002e720
mov r8, qword [0x1401cb1b0]
test r8, r8
je 0x14002e5bf
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14002e5b4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f68], 1
movss xmm0, dword [rbx + 0x5f6c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14002e65e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x14002e65e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14002e651
mov rax, qword [0x1401cb1b0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.14002e980
lea rdx, [0x140160178]
mov rcx, rdi
mov rsi, rax
call fcn.140019570
mov rdi, rax
test rax, rax
je 0x14002e658
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14002e658
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f6c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14002e680
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401cb1b0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14002e6e3
mov qword [rsp], rbx
lea rbx, [0x140162a50]
nop dword [rax]
cmp r9b, 0x23
jne 0x14002e6c3
cmp byte [r8], r9b
jne 0x14002e6c3
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 [rbx + rdx*4]
test r9b, r9b
jne 0x14002e6b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14002e70f
cmp dword [r8 + 8], eax
je 0x14002e716
add r8, 0x48
cmp r8, rcx
jne 0x14002e700
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14004c070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
xor eax, eax
mov qword [rbp - 0x10], rcx
mov rdi, rcx
mov dword [rbp - 0x50], 0x44434241
mov dword [rbp - 0x4c], 0x48474645
mov dword [rbp - 0x48], 0x4c4b4a49
lea edx, [rax + 0x40]
mov dword [rbp - 0x44], 0x504f4e4d
mov dword [rbp - 0x40], 0x54535251
mov dword [rbp - 0x3c], 0x58575655
mov dword [rbp - 0x38], 0x62615a59
mov dword [rbp - 0x34], 0x66656463
mov dword [rbp - 0x30], 0x6a696867
mov dword [rbp - 0x2c], 0x6e6d6c6b
mov dword [rbp - 0x28], 0x7271706f
mov dword [rbp - 0x24], 0x76757473
mov dword [rbp - 0x20], 0x7a797877
mov dword [rbp - 0x1c], 0x33323130
mov dword [rbp - 0x18], 0x37363534
mov dword [rbp - 0x14], 0x2f2b3938
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
call fcn.14000c9b0
mov rbx, qword [rdi]
lea rdx, [rbp - 0x50]
mov rcx, rbx
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memmove
lea rcx, [rbx + 0x40]
mov rax, rdi
lea r11, [rsp + 0x70]
mov qword [rdi + 8], rcx
mov rdi, qword [r11 + 0x20]
mov rbx, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14004fbc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbx, rdx
mov qword [rsp + 0x28], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdx], sil
mov dword [rsp + 0x20], 1
movabs rbp, 0x100000001b3
movabs r14, 0xcbf29ce484222325
cmp qword [rbx + 0x10], 0
je 0x14004fc2c
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004fc25
mov rax, qword [rbx]
mov qword [rbx + 0x10], rsi
mov byte [rax], 0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
lea rdx, [rcx + rcx*8]
cmp edx, 3
ja 0x14004fc51
nop dword [rax]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
lea rdx, [rcx + rcx*8]
cmp edx, 4
jb 0x14004fc40
shr rdx, 0x20
add edx, 8
lea rcx, [rsp + 0x40]
call fcn.140098490
mov rdi, rax
cmp rbx, rax
je 0x14004fcd0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004fca4
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004fc9f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004fd50
mov rcx, r8
call fcn.140127cb0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rcx, [rsp + 0x40]
call fcn.14000d000
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004fceb
mov rdx, qword [rbx]
mov r9, r14
mov rcx, rsi
test r8, r8
je 0x14004fd13
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, rbp
inc rcx
cmp rcx, r8
jb 0x14004fd00
mov r8, rbx
lea rdx, [rsp + 0x30]
call fcn.1400800c0
cmp qword [rax + 8], 0
jne 0x14004fc11
mov r8, rbx
lea rdx, [rsp + 0x30]
call fcn.14007af80
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14005a260
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov edx, eax
cmp al, 0xd
je 0x14005a42a
mov qword [rsp + 0x58], rbp
mov ebp, 4
mov qword [rsp + 0x60], rsi
mov esi, dword [reloc.WS2_32.dll_accept]
mov qword [rsp + 0x38], rdi
lea rdi, [rbx + 0x18]
mov qword [rsp + 0x30], r14
lea r14d, [rbp + 0x1b]
mov rcx, qword [rbx + 0x10]
cmp dl, 8
jne 0x14005a3c7
test rcx, rcx
je 0x14005a3c1
dec rcx
mov rax, rbx
cmp qword [rdi], 0x10
jb 0x14005a2c5
mov rax, qword [rbx]
cmp byte [reloc.WS2_32.dll_gethostname], 0
mov qword [rbx + 0x10], rcx
mov byte [rax + rcx], 0
mov eax, dword [0x140187d60]
mov dword [rsp + 0x20], eax
je 0x14005a3b0
cmp esi, 2
jl 0x14005a372
movdqa xmm3, xmmword [0x1401906d0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401909a0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401909a0]
shufps xmm2, xmm0, 0xdd
movd xmm0, ebp
psrad xmm2, xmm0
movd xmm0, r14d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140190720]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140190920]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
jmp 0x14005a3b0
lea r9, [rsp + 0x20]
xor r8d, r8d
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, ebp
jl 0x14005a380
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x20]
call fcn.1400799c0
lea rdi, [rbx + 0x18]
jmp 0x14005a405
mov r8, qword [rdi]
cmp rcx, r8
jae 0x14005a3ed
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r8, 0x10
jb 0x14005a3e3
mov rax, qword [rbx]
mov byte [rax + rcx], dl
mov byte [rax + rcx + 1], 0
jmp 0x14005a3f9
movzx r9d, dl
mov rcx, rbx
call fcn.14000f770
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140079770
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
movzx edx, al
cmp al, 0xd
jne 0x14005a2a0
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x40
pop rbx
ret
Function at 0x14005f930
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, 1
mov ecx, 0xff
cpuid
shr edx, 0x1c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x24], ebx
test dl, 1
jne 0x14005f97a
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140127920
add rsp, 0x70
pop rbx
ret
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, byte [rsp + 0x26]
cmp eax, dword [rsp + 0x50]
setg al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140127920
add rsp, 0x70
pop rbx
ret

Function at 0x140061860
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x1150
call fcn.140128580
sub rsp, rax
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov r14, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14006191d
mov ebp, dword [rsp + 0x20]
xor ebx, ebx
shr ebp, 2
test ebp, ebp
je 0x14006191d
lea rsi, [rsp + 0x30]
nop dword [rax + rax]
mov r8d, dword [rsi]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140061913
mov r9d, 0x104
lea r8, [rsp + 0x1030]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x14006190a
mov rdx, r14
lea rcx, [rsp + 0x1030]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x140061947
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add rsi, 4
cmp ebx, ebp
jb 0x1400618c0
xor al, al
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.140127920
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14006191f

Function at 0x140061960
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x30]
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
test eax, eax
je 0x1400619d8
mov qword [rbx + 0x18], rdi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1400619c0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140016190
jmp 0x1400619e3
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dil
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140127920
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret