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

Disassembly:
push rbx
push r14
sub rsp, 0x68
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x20], rcx
mov r14, rcx
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x14004835b
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x90], rbp
lea rax, [rdx - 1]
mov rbp, qword [r14 + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x60], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x58], rdi
shl rbx, cl
mov qword [rsp + 0x40], r15
lea r15, [r14 + 0x18]
mov rcx, r15
lea rdx, [rbx + rbx]
call fcn.140045720
mov qword [r14 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r14 + 0x30], rax
mov rdi, qword [r14 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x140048526
mov qword [rsp + 0x50], r12
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x48], r13
movabs r10, 0x100000001b3
nop word [rax + rax]
movups xmm0, xmmword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rsi, qword [rsi]
movaps xmmword [rsp + 0x30], xmm0
test r8, r8
je 0x140048414
mov r9, qword [rsp + 0x30]
nop dword [rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor rax, rcx
imul rax, r10
cmp rdx, r8
jb 0x140048400
mov r13, qword [r14 + 0x30]
and r13, rax
shl r13, 4
add r13, qword [r15]
mov r12, qword [r13]
cmp r12, rbp
jne 0x140048438
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x140048502
mov rbx, qword ds:[r13 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x14004848c
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14004848c
mov r8, qword ds:[rbx]
cmp r8, rdi
je 0x140048486
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x1400484f8
mov r14, rbx
cmp r12, rbx
je 0x1400484ce
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov r15, qword [rsp + 0x38]
mov rbx, qword [rbx + 8]
mov r14, rbx
cmp r15, qword [rbx + 0x18]
jne 0x1400484c9
mov rdx, qword ds:[rbx + 0x10]
mov r8, r15
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140048545
cmp r12, rbx
jne 0x1400484a2
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rdi
mov qword [r14 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
mov r14, qword [rsp + 0x20]
movabs r10, 0x100000001b3
lea r15, [r14 + 0x18]
mov rdi, rsi
movabs rax, 0xcbf29ce484222325
cmp rsi, rbp
jne 0x1400483e0
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
add rsp, 0x68
pop r14
pop rbx
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x1400484f3
Function at 0x140052050
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140052080
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1402257c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [0x1401c0380]
xor r8d, r8d
lea r9, [rsp + 0x28]
xor edx, edx
xor edi, edi
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14005212f
mov rdx, qword [rsp + 0x28]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], di
jne 0x1400520e0
lea rcx, [rsp + 0x30]
call fcn.1400266a0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov word [rsp + 0x30], di
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movdqa xmm0, xmmword [0x1402007e0]
movdqu xmmword [rsp + 0x40], xmm0
movups xmmword [rbx + 0x10], xmm1
call fcn.140003bc0
jmp 0x1400521a6
movdqa xmm0, xmmword [0x140200d80]
lea rdx, [rsp + 0x31]
movdqa xmm1, xmmword [0x140200ca0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x50], 0x70207265
movdqu xmmword [rsp + 0x40], xmm1
mov dword [rsp + 0x54], 0x2e687461
mov byte [rsp + 0x58], dil
call fcn.140003fe0
lea rdx, [0x1400041c0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
lea rdx, [0x1401fca08]
movups xmmword [rbx], xmm0
xor r8d, r8d
mov qword [rbx + 0x10], rdi
mov rcx, rbx
mov qword [rbx + 0x18], rdi
call fcn.1400266a0
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140128610
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140059500
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1402257c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140059676
lea rdx, ds:[rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rsp + 0x4c]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140059572
cmp qword [rdi + 0x18], 7
mov r9, rdi
mov r10, qword [rdi + 0x10]
jbe 0x14005958d
mov r9, qword [rdi]
cmp rcx, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rcx
test r8, r8
je 0x1400595c6
lea rax, [rsp + 0x4c]
sub r9, rax
nop dword [rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x1400595d1
add rdx, 2
sub r8, 1
jne 0x1400595b0
cmp r10, rcx
jb 0x1400595d1
jbe 0x1400596a1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
nop
test eax, eax
je 0x14005966d
nop dword [rax + rax]
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140059600
cmp qword [rdi + 0x18], 7
mov r9, rdi
mov r10, qword [rdi + 0x10]
jbe 0x14005961b
mov r9, qword [rdi]
cmp rax, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rax
test r8, r8
je 0x140059654
lea rcx, [rsp + 0x4c]
sub r9, rcx
nop word [rax + rax]
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x14005965b
add rdx, 2
sub r8, 1
jne 0x140059640
cmp r10, rax
jb 0x14005965b
jbe 0x1400596a1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400595f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.140003bc0
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140128610
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x28]
mov rcx, rdi
call fcn.140003bc0
mov eax, ebx
jmp 0x140059680
Function at 0x14006e2e0
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 0x14006e33d
lea rbx, [0x1401f47c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14006e324
cmp r10, 2
jb 0x14006e324
cmp byte [r9], r8b
jne 0x14006e324
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 0x14006e300
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14006e37f
lea rbx, [0x1401f47c0]
cmp r8b, 0x23
jne 0x14006e363
cmp byte [r9], r8b
jne 0x14006e363
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 0x14006e350
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14006e4e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14006e4fa
mov qword [r8], 0
lea rdx, [0x1401fe8c8]
call fcn.14006e3a0
mov rbx, rax
test rax, rax
jne 0x14006e51a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14006e60d
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 0x14006e60d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14006e60d
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14006e60d
nop
cmp rdi, 0xffffffffffffffff
je 0x14006e60d
mov rax, qword [0x140227b18]
test rax, rax
je 0x14006e59c
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14006e60d
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 0x14006e5f6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140227b18]
nop dword [rax + rax]
test rax, rax
je 0x14006e5eb
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14006e616
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop dword [rax]
test r14, r14
je 0x14006e608
mov qword [r14], rdi
mov rax, rsi
jmp 0x14006e618
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140071d20
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf8]
lea r11, [0x1401f47c0]
mov rax, qword [rcx + 0x100]
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 + 0x3f40], ebx
jne 0x140071db7
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140086780
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140071dc0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x100]
lea r9, [0x1401f47c0]
movss xmm2, dword [rcx + 0x118]
movss xmm3, dword [rcx + 0x11c]
movsxd rcx, dword [rcx + 0xf8]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14007f040
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1402257c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140227b18]
mov edi, ecx
cmp byte [rbx + 0x4a9d], 0
jne 0x14007f0a5
cmp byte [rbx + 0x4a9e], 0
jne 0x14007f0a5
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14006e120
test dil, 1
je 0x14007f1d4
nop dword [rax]
jmp 0x14007f12e
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140200690]
mulss xmm1, dword [0x140200670]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47e8], rax
mov dword [rbx + 0x47d4], 1
movss dword [rbx + 0x47e0], xmm0
movss dword [rbx + 0x47e4], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x1402005a8]
or dword [rbx + 0x47d0], 0x41
movss dword [rbx + 0x4830], xmm0
call fcn.14006e120
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14007f185
lea r11, [0x1401f47c0]
nop
cmp r9b, 0x23
jne 0x14007f163
cmp byte [r8], r9b
jne 0x14007f163
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 0x14007f150
not ecx
call fcn.140075ca0
test rax, rax
je 0x14007f1d4
cmp byte [rax + 0xbe], 0
je 0x14007f1d4
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe0], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.14006e120
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140078580
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140128610
mov rbx, qword ss:[rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140084f80
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 + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14008502d
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140084fda
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.1400874e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14006ecc0
mov eax, dword ds:[rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140227b05]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140085035
mov rcx, rbx
call fcn.14006ecc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140085540
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140227b18]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400855a3
mov qword [rsp], rbx
lea rbx, [0x1401f47c0]
cmp r9b, 0x23
jne 0x140085583
cmp byte [r8], r9b
jne 0x140085583
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 0x140085570
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400855d7
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400855de
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400855c4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400ce550
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400ce632
call fcn.1400e8250
test al, al
jne 0x1400ce632
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1400ce582
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.1400f1cf0
test rax, rax
je 0x1400ce5c7
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.1400f1cf0
mov rsi, rax
test rax, rax
je 0x1400ce5c7
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x1400ce5fb
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1400e4bf0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400ce5e0
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400d6240
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1402257c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rdx]
mov r14d, r8d
mov rbx, rcx
mov r9d, dword [rax + 8]
mov rax, qword [rdx + 0x18]
and r9d, 0xa
cmp r9b, 0xa
jne 0x1400d628b
mov rdi, qword [rax + 0xd8]
mov rsi, qword [rax + 0xe0]
mov ebp, dword [rax + 0xe8]
jmp 0x1400d6299
mov rdi, qword [rax + 0x50]
mov rsi, qword [rax + 0x58]
mov ebp, dword [rax + 0x764]
mov qword [rsp + 0x80], r15
test rdi, rdi
je 0x1400d646b
mov r9, qword [rcx]
test r9, r9
je 0x1400d62db
mov r8, r9
mov rax, rdi
sub r8, rdi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400d62d3
inc rax
test ecx, ecx
jne 0x1400d62c0
test edx, edx
je 0x1400d646b
mov rcx, qword [rbx + 8]
cmp rcx, r9
je 0x1400d62ea
call qword [str.6qe_]
mov rcx, qword [rbx + 0x10]
call qword [str.6qe_]
mov rcx, qword [rbx]
call qword [str.6qe_]
xor r15d, r15d
mov rcx, rdi
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
call qword [str.hre_]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
jne 0x1400d635e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400d6332
call qword [str.6qe_]
mov rcx, qword [rbx + 0x10]
call qword [str.6qe_]
mov rcx, qword [rbx]
call qword [str.6qe_]
mov eax, 0x1b
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
jmp 0x1400d6474
test rsi, rsi
je 0x1400d63a2
mov r8, rsi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rdi]
movzx eax, byte [rdi + r8]
sub edx, eax
jne 0x1400d6383
inc rdi
test eax, eax
jne 0x1400d6370
test edx, edx
je 0x1400d63a2
mov rcx, rsi
call qword [str.hre_]
mov qword [rbx + 8], rax
test rax, rax
jne 0x1400d63a6
cmp qword [rbx], r15
je 0x1400d6332
xor ecx, ecx
jmp 0x1400d632c
mov qword [rbx + 8], rcx
mov rdi, qword [rbx]
test rdi, rdi
je 0x1400d63f6
cmp byte [rdi], r15b
je 0x1400d63f6
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1400d63d6
mov dword [rbx + 0x18], 1
jmp 0x1400d646b
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1400d63f6
mov dword [rbx + 0x18], 2
jmp 0x1400d646b
mov rax, qword [rbx]
mov dword [rbx + 0x18], r15d
cmp byte [rax], r15b
je 0x1400d646b
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x1400d6410
test rdi, rdi
je 0x1400d6428
cmp byte [rax + rdi - 1], 0x2e
jne 0x1400d6428
dec rdi
cmp rdi, 0xffff
jae 0x1400d646b
lea rdx, [rdi + 1]
mov ecx, 1
call qword [case.0x1400cfc9b.3]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1400d6455
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx]
jmp 0x1400d632a
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, rax
call fcn.1400e4c40
mov rax, qword [rbx + 0x10]
mov byte [rdi + rax], r15b
mov dword [rbx + 0x1c], ebp
xor eax, eax
mov dword [rbx + 0x20], r14d
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140128610
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400dd100
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0xa4e], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x1400dd1c9
cmp qword [rcx + 0x278], 0
je 0x1400dd17e
mov qword [rsp + 0x40], rbx
call fcn.1400c8820
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.1400c8e50
mov rcx, qword [rdi + 0x1f0]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x278]
movzx edx, bl
mov rcx, rdi
call fcn.1400c8e50
mov rbx, qword [rsp + 0x40]
jmp 0x1400dd1c9
mov ecx, esi
test edx, edx
je 0x1400dd18e
sub ecx, 1
je 0x1400dd18e
cmp ecx, 1
jne 0x1400dd1c9
mov r9, qword [rdi + 0x1e8]
lea rax, [0x1401c4318]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x1e8]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400e0f50
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cdqe
add rsp, 0x28
ret