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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov r9, qword [rcx]
movabs rsi, 0x100000001b3
movzx eax, byte [rdx + 5]
mov r11, r8
movzx ecx, byte [rdx + 4]
movabs rbp, 0xcbf29ce484222325
xor rcx, rbp
mov rbx, qword [r9 + 0x30]
mov rdi, qword [r9 + 0x18]
mov r8, rbx
mov r10, qword [r9 + 8]
imul rcx, rsi
xor rcx, rax
movzx eax, byte [rdx + 6]
imul rcx, rsi
xor rcx, rax
movzx eax, byte [rdx + 7]
imul rcx, rsi
xor rcx, rax
imul rcx, rsi
and r8, rcx
xor ecx, ecx
add r8, r8
mov rax, qword [rdi + r8*8 + 8]
cmp rax, r10
je 0x1400304f7
mov edx, dword [rdx + 4]
mov r8, qword [rdi + r8*8]
cmp edx, dword [rax + 0x10]
je 0x1400304fa
cmp rax, r8
je 0x1400304f7
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x1400304e7
jmp 0x1400304fa
mov rax, rcx
movzx edx, byte [r11 + 5]
test rax, rax
movzx r8d, byte [r11 + 4]
cmove rax, r10
xor r8, rbp
imul r8, rsi
xor r8, rdx
movzx edx, byte [r11 + 6]
imul r8, rsi
xor r8, rdx
movzx edx, byte [r11 + 7]
imul r8, rsi
xor r8, rdx
imul r8, rsi
and rbx, r8
add rbx, rbx
mov rdx, qword [rdi + rbx*8 + 8]
cmp rdx, r10
je 0x140030562
mov r8d, dword [r11 + 4]
mov r9, qword [rdi + rbx*8]
cmp r8d, dword [rdx + 0x10]
je 0x14003055f
nop
cmp rdx, r9
je 0x140030562
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
jne 0x140030550
mov rcx, rdx
test rcx, rcx
mov edx, 0x7fffffff
cmove rcx, r10
cmp rax, r10
je 0x140030579
mov r8d, dword [rax + 0x14]
jmp 0x14003057c
mov r8d, edx
cmp rcx, r10
je 0x140030584
mov edx, dword [rcx + 0x14]
mov rbx, qword [rsp + 8]
cmp r8d, edx
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
setl al
mov rdi, qword [rsp + 0x20]
ret
Function at 0x140031040
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x1401e56c8]
xor rax, rsp
mov qword [rsp], rax
mov rdi, rcx
movabs r15, 0xcbf29ce484222325
movabs r14, 0x100000001b3
cmp rdx, r8
je 0x1400311e6
mov rbx, qword [r9 + 8]
lea r11, [rdx + 6]
mov qword [rsp + 0x38], rbp
mov rbp, qword [r9 + 0x18]
mov qword [rsp + 0x40], rsi
mov rsi, qword [r9 + 0x30]
nop word [rax + rax]
movzx eax, byte [r11 - 1]
mov r10, rsi
movzx ecx, byte [r11 - 2]
xor rcx, r15
imul rcx, r14
xor rcx, rax
movzx eax, byte [r11]
imul rcx, r14
xor rcx, rax
movzx eax, byte [r11 + 1]
imul rcx, r14
xor rcx, rax
imul rcx, r14
and r10, rcx
add r10, r10
mov rax, qword [rbp + r10*8 + 8]
cmp rax, rbx
je 0x140031100
mov ecx, dword [r11 - 2]
mov r10, qword [rbp + r10*8]
cmp ecx, dword [rax + 0x10]
je 0x140031102
cmp rax, r10
je 0x140031100
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400310f0
jmp 0x140031102
xor eax, eax
test rax, rax
cmove rax, rbx
cmp rax, rbx
je 0x140031114
cmp dword [rax + 0x14], 0
je 0x140031125
add rdx, 8
add r11, 8
cmp rdx, r8
jne 0x1400310a0
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
cmp rdx, r8
je 0x1400311e6
lea r11, [rdx + 8]
cmp r11, r8
je 0x1400311e6
nop word [rax + rax]
movzx eax, byte [r11 + 5]
movzx r10d, byte [r11 + 4]
mov rbx, qword [r9 + 8]
xor r10, r15
imul r10, r14
xor r10, rax
movzx eax, byte [r11 + 6]
imul r10, r14
xor r10, rax
movzx eax, byte [r11 + 7]
imul r10, r14
xor r10, rax
imul r10, r14
and r10, qword [r9 + 0x30]
shl r10, 4
add r10, qword [r9 + 0x18]
mov rax, qword [r10 + 8]
cmp rax, rbx
je 0x1400311b5
mov ecx, dword [r11 + 4]
mov r10, qword [r10]
cmp ecx, dword [rax + 0x10]
je 0x1400311b7
cmp rax, r10
je 0x1400311b5
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400311a5
jmp 0x1400311b7
xor eax, eax
test rax, rax
cmove rax, rbx
cmp rax, rbx
je 0x1400311c9
cmp dword [rax + 0x14], 0
je 0x1400311d9
mov ecx, dword [r11]
mov dword [rdx], ecx
mov ecx, dword [r11 + 4]
mov dword [rdx + 4], ecx
add rdx, 8
add r11, 8
cmp r11, r8
jne 0x140031150
mov qword [rdi], rdx
mov rax, rdi
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.14015bde0
mov rbx, qword [rsp + 0x48]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x1400314c0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400314f5
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 + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140013da0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140031636
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
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, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400315b0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140031625
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400315ed
mov r10, qword [rdx]
cmp r10, rax
je 0x1400315e7
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 0x140031625
cmp r9, rdx
je 0x140031601
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140031647
cmp r9, rdx
jne 0x1400315f2
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, rbx
jne 0x140031560
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x140031625
Function at 0x140031c00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x48
mov rax, qword [0x1401e56c8]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rsi, [r8 - 1]
mov qword [rsp + 0x40], r12
sar rsi, 1
mov r14, rcx
mov qword [rsp + 0x38], r13
mov r15, r9
mov r13, r8
mov rdi, rdx
mov rbp, rdx
mov rcx, rdx
cmp rdx, rsi
jge 0x140031c95
nop dword [rax]
nop dword [rax + rax]
lea rbx, [rcx + rcx]
lea rdx, [r14 + 0x10]
lea rdx, [rdx + rbx*8]
lea r8, [rdx - 8]
lea rcx, [rsp + 0xa0]
call fcn.140030460
movzx eax, al
lea rcx, [rbx + 1]
xor rax, 1
add rcx, rax
mov eax, dword [r14 + rcx*8]
mov dword [r14 + rdi*8], eax
mov eax, dword [r14 + rcx*8 + 4]
mov dword [r14 + rdi*8 + 4], eax
mov rdi, rcx
cmp rcx, rsi
jl 0x140031c50
mov rdi, rcx
cmp rcx, rsi
jne 0x140031cba
test r13b, 1
jne 0x140031cba
mov eax, dword [r14 + r13*8 - 8]
lea rdi, [r13 - 1]
mov dword [r14 + rcx*8], eax
mov eax, dword [r14 + r13*8 - 4]
mov dword [r14 + rcx*8 + 4], eax
mov rax, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
cmp rbp, rdi
jge 0x140031d15
nop word [rax + rax]
lea rbx, [rdi - 1]
mov r8, r15
sar rbx, 1
lea rcx, [rsp + 0x20]
lea rsi, [r14 + rbx*8]
mov rdx, rsi
call fcn.140030460
test al, al
je 0x140031d15
mov eax, dword [rsi]
mov dword [r14 + rdi*8], eax
mov eax, dword [rsi + 4]
mov dword [r14 + rdi*8 + 4], eax
mov rdi, rbx
cmp rbp, rbx
jl 0x140031ce0
mov eax, dword [r15]
mov dword [r14 + rdi*8], eax
mov eax, dword [r15 + 4]
mov dword [r14 + rdi*8 + 4], eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14015bde0
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003ab50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401e56c8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.14015be00
mov r9, rax
mov rax, qword [rbx]
mov qword [r9], rax
mov qword [r9 + 8], rdi
mov qword [rsp + 0x30], r9
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x14003af50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x14003abdd
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14015bde0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140043710
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 0x14004376d
lea rbx, [0x14019b780]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140043754
cmp r10, 2
jb 0x140043754
cmp byte [r9], r8b
jne 0x140043754
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 0x140043730
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400437af
lea rbx, [0x14019b780]
cmp r8b, 0x23
jne 0x140043793
cmp byte [r9], r8b
jne 0x140043793
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 0x140043780
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140043970
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 0x14004398e
mov qword [r8], r14
lea rdx, [0x140198ee8]
call fcn.1400437c0
mov rbx, rax
test rax, rax
jne 0x1400439b3
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 0x140043add
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 0x140043add
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140043add
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 0x140043add
cmp rdi, 0xffffffffffffffff
je 0x140043add
mov rcx, rdi
call fcn.140046fb0
mov rbp, rax
test rax, rax
je 0x140043add
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 0x140043aca
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1401ea270]
test r8, r8
je 0x140043abf
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140043ab4
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 0x140043ae6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140043ad8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140043ae8
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 0x140046a70
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x14019b780]
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 0x140046b06
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140059850
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140053360
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401e56c8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401ea270]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x1400533c1
cmp byte [rbx + 0x4d4e], 0
jne 0x1400533c1
movsx r9d, word [rbx + 0x5eb8]
lea r8, [0x140198a90]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140043520
test dil, 2
je 0x1400534ef
jmp 0x14005344a
movss xmm1, dword [rbx + 0x39bc]
lea r8, [0x140198a90]
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1401c49f4]
mulss xmm1, dword [0x1401c49e4]
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 [0x1401c4750]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.140043520
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400534a0
lea r11, [0x14019b780]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140053483
cmp byte [r8], r9b
jne 0x140053483
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 0x140053470
not ecx
call fcn.14004a020
test rax, rax
je 0x1400534ef
cmp byte [rax + 0xbe], 0
je 0x1400534ef
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.140043520
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14004cc70
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14015bde0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140058230
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 0x1400582d7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14005828a
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.14005a8f0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140043f60
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, [0x1401ea268]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400582df
mov rcx, rbx
call fcn.140043f60
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140058600
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 [0x1401ea270]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x1400586df
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400586d8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140043970
mov rsi, rax
test rax, rax
je 0x1400586d8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140058664
mov rcx, rax
call fcn.140058830
mov r8, qword [0x1401ea270]
test r8, r8
je 0x1400586cf
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400586c4
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 0x14005876e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x14005876e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140058761
mov rax, qword [0x1401ea270]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.140058a90
lea rdx, [0x140198e84]
mov rcx, rdi
mov rsi, rax
call fcn.1400437c0
mov rdi, rax
test rax, rax
je 0x140058768
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 0x140058768
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 0x140058790
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401ea270]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400587f3
mov qword [rsp], rbx
lea rbx, [0x14019b780]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400587d3
cmp byte [r8], r9b
jne 0x1400587d3
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 0x1400587c0
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 0x14005881f
cmp dword [r8 + 8], eax
je 0x140058826
add r8, 0x48
cmp r8, rcx
jne 0x140058810
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1400725a0
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 [0x1401bab9f], 0
mov rsi, rax
mov ecx, dword [str.g_s6Y_ZCQIVZEXL]
mov dword [rsp + 0x48], ecx
je 0x1400726b1
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140072671
movdqa xmm3, xmmword [0x1401c4b30]
mov eax, 4
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401c4e30]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401c4e30]
shufps xmm2, xmm0, 0xdd
movd xmm0, eax
mov eax, Ordinal_35
psrad xmm2, xmm0
movdqa xmm1, xmm2
movd xmm0, eax
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1401c4b90]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401c4d00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401c4d90]
movd xmm0, ecx
xorps xmm2, xmm0
movd dword [rsp + 0x48], xmm2
jmp 0x1400726b1
lea r9, [rsp + 0x48]
xor r8d, r8d
nop dword [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 ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140072680
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 [0x1401ea270]
mov rdx, rdi
movss xmm3, dword [0x1401c4a18]
mov r8d, eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rcx + 0x38]
call fcn.140067370
mov qword [0x1401ec450], rax
test rax, rax
jne 0x140072739
mov rax, qword [0x1401ea270]
mov rcx, qword [rax + 0x48]
mov qword [0x1401ec450], rcx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400740b0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1401e56c8]
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 0x1400740fa
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14015bde0
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.14015bde0
add rsp, 0x70
pop rbx
ret

Function at 0x1400763a0
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.14015ca80
sub rsp, rax
mov rax, qword [0x1401e56c8]
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 0x14007645d
mov ebp, dword [rsp + 0x20]
xor ebx, ebx
shr ebp, 2
test ebp, ebp
je 0x14007645d
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 0x140076453
mov r9d, 0x104
lea r8, [rsp + 0x1030]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x14007644a
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 0x140076487
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add rsi, 4
cmp ebx, ebp
jb 0x140076400
xor al, al
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.14015bde0
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 0x14007645f

Function at 0x1400764a0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401e56c8]
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 0x140076518
mov qword [rbx + 0x18], rdi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x140076500
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140010900
jmp 0x140076523
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.14015bde0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret