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

Disassembly:
jmp 0x140056020
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x14009a6b4]
call fcn.140027536
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x140056069
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
jmp 0x1400560b0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0xf8]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xf0]
add rdx, rcx
mov rcx, rdx
mov edx, eax
call fcn.1400273bf
mov dword [rbp + 0xc0], eax
mov eax, dword [rbp + 0xc0]
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x14002744b
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x14003aeb0
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14008e148]
xor rax, rbp
mov qword [rbp + 0x298], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140027536
mov eax, 0x101
mov word [rbp + 4], ax
lea rdx, [rbp + 0x30]
movzx ecx, word [rbp + 4]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14003af0f
mov eax, 0xffffffff
jmp 0x14003af51
movzx eax, word [rbp + 0x30]
and rax, 0xff
movzx eax, al
cmp eax, 1
jne 0x14003af37
movzx eax, word [rbp + 0x30]
shr rax, 8
and rax, 0xff
movzx eax, al
cmp eax, 1
je 0x14003af44
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xffffffff
jmp 0x14003af51
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140027171
mov rax, rdi
mov rcx, qword [rbp + 0x298]
xor rcx, rbp
call fcn.140026a1e
lea rsp, [rbp + 0x2a8]
pop rdi
pop rbp
ret
Function at 0x1400275f9
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x14003b9d0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x14008e148]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140027536
cmp qword [rbp + 0x148], 0
je 0x14003ba6d
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
lea rcx, [rbp + 8]
call fcn.140026fe6
mov eax, 2
mov word [rbp + 8], ax
mov rax, qword [rbp + 0x148]
movzx ecx, word [rax + 4]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0xa], ax
mov rax, qword [rbp + 0x148]
mov eax, dword [rax]
mov dword [rbp + 0xc], eax
cmp qword [rbp + 0x148], 0
je 0x14003ba84
mov qword [rbp + reloc.WS2_32.dll_recv8], 0x10
jmp 0x14003ba8f
mov qword [rbp + 0x108], 0
cmp qword [rbp + 0x148], 0
je 0x14003baa6
lea rax, [rbp + 8]
mov qword [rbp + 0x110], rax
jmp 0x14003bab1
mov qword [rbp + 0x110], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rbp + 0x108]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x110]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0x34]
mov r8d, dword [rbp + 0x158]
mov rdx, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x14003bb1d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14003bb16
xor eax, eax
jmp 0x14003bb20
mov eax, 0xffffffff
jmp 0x14003bb20
mov eax, dword [rbp + 0x34]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, reloc.WS2_32.dll_bind
call fcn.140027171
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.140026a1e
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140027608
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
jmp 0x14003b4b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_shutdown
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x14008e148]
xor rax, rbp
mov qword [rbp + 0x108], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140027536
mov dword [rbp + 0x34], reloc.WS2_32.dll_recv
lea r8, [rbp + 0x34]
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x14003b526
mov eax, 0xffffffff
jmp 0x14003b549
mov rax, qword [rbp + 0x138]
mov ecx, dword [rbp + 0xc]
mov dword [rax], ecx
movzx ecx, word [rbp + 0xa]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rbp + 0x138]
mov word [rcx + 4], ax
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_bind
call fcn.140027171
mov rax, rdi
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.140026a1e
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x140030820
Capabilities:
Hash data using crc32b

Disassembly:
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140027536
mov dword [rbp + 4], 0
jmp 0x14003084c
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x100
jge 0x1400308c1
mov edx, 8
mov ecx, dword [rbp + 4]
call fcn.140030910
shl eax, 0x18
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x44], 0
jmp 0x140030879
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 8
jge 0x1400308a4
mov eax, dword [rbp + 0x24]
and eax, 0x80000000
test eax, eax
je 0x14003089a
mov eax, dword [rbp + 0x24]
shl eax, 1
xor eax, 0x4c11db7
mov dword [rbp + 0x24], eax
jmp 0x1400308a2
mov eax, dword [rbp + 0x24]
shl eax, 1
mov dword [rbp + 0x24], eax
jmp 0x140030871
mov edx, 0x20
mov ecx, dword [rbp + 0x24]
call fcn.140030910
movsxd rcx, dword [rbp + 4]
lea rdx, [0x14008e890]
mov dword [rdx + rcx*4], eax
jmp 0x140030844
mov dword [0x14008e880], 1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140063700
Capabilities:
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140027536
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x88], 0
jbe 0x1400637c6
xor r9d, r9d
mov rax, qword [rbp + 0x120]
mov r8d, dword [rax + 0x88]
mov rax, qword [rbp + 0x120]
mov rdx, qword [rax + 0x80]
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax + 0x60]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jg 0x14006378d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140063786
mov rcx, qword [rbp + 0x120]
call fcn.140062de0
xor eax, eax
jmp 0x140063895
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0x120]
add rcx, 0x80
mov rdx, rax
call fcn.140060ca0
mov rax, qword [rbp + 0x120]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 0x120]
mov rax, qword [rax + 0x20]
mov qword [rcx + 0x48], rax
jmp 0x140063893
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x98], 0
je 0x140063887
mov rax, qword [rbp + 0x120]
add rax, 0x80
mov edx, 0x2000
mov rcx, rax
call fcn.140060be0
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x140063806
mov eax, dword [rbp + 0x24]
jmp 0x140063895
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x98]
mov rax, qword [rbp + 0x120]
mov r8, qword [rax + 0x90]
mov edx, 1
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax + 0x80]
call qword [sym.imp.ucrtbased.dll_fread]
mov rcx, qword [rbp + 0x120]
mov qword [rcx + 0x88], rax
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x88], 0
jbe 0x14006385f
jmp 0x140063734
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax + 0x98]
call qword [sym.imp.ucrtbased.dll_fclose]
mov rax, qword [rbp + 0x120]
mov qword [rax + 0x98], 0
jmp 0x140063893
mov rcx, qword [rbp + 0x120]
call fcn.140062de0
xor eax, eax
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400018e7
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movaps xmmword [rcx + 0xa0], xmm10
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x140003c93
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rbx, rdx
mov rsi, rcx
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, r8
mov r8, r9
call fcn.140003be6
lea r13, [rsp + 0x38]
mov dword [r13], 0x800
lea r15, [rsp + 0x3c]
and dword [r15], 0
mov ecx, 0x800
xor edx, edx
call fcn.140011a3e
mov r14, rax
lea r12, [rsp + 0x40]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x140003d2c
mov edx, dword [rsp + 0x38]
mov rcx, r12
call fcn.140011e4b
mov r14, qword [rsp + 0x40]
jmp 0x140003cf7
test eax, eax
jne 0x140003d4e
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x140003d6c
movabs rax, 0xde00000002
jmp 0x140003d56
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.140011dd7
jmp 0x140003d80
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400d88c3
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140007042
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, rdx
add rdx, 8
cmp qword [rax], 0
je 0x14000708c
cmp qword [rax + 0x38], 0xffffffffffffffff
mov r8, qword [rax + 0x48]
mov r9, qword [rax + 0x50]
mov r10, qword [rax + 0x58]
mov rax, qword [rax + 0x60]
je 0x14000718d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x14000719c
mov bl, byte [rax + 0x1a]
mov r10, qword [rax + 0x48]
mov r9, qword [rax + 0x50]
mov r8, qword [rax + 8]
mov dil, byte [rax + 0x18]
xor r11d, r11d
test bl, bl
jne 0x1400071bf
mov esi, edi
xor sil, 1
mov byte [rax + 0x18], sil
mov r14, r9
test r8, r8
je 0x1400070d6
mov r14, r9
sub r14, r8
jbe 0x1400070d0
cmp byte [r10 + r8], 0xbf
jg 0x1400070d6
jmp 0x1400071d1
jne 0x1400071d1
test r14, r14
je 0x1400071a3
movzx ebp, byte [r10 + r8]
test bpl, bpl
jns 0x14000714a
mov r14d, ebp
and r14d, 0x1f
movzx r12d, byte [r10 + r8 + 1]
and r12d, 0x3f
cmp bpl, 0xdf
jbe 0x140007134
movzx r15d, byte [r10 + r8 + 2]
shl r12d, 6
and r15d, 0x3f
or r15d, r12d
cmp bpl, 0xf0
jb 0x140007140
movzx ebp, byte [r10 + r8 + 3]
and r14d, 7
shl r14d, 0x12
shl r15d, 6
and ebp, 0x3f
or ebp, r15d
or ebp, r14d
jmp 0x14000714a
shl r14d, 6
or r14d, r12d
mov ebp, r14d
jmp 0x14000714a
shl r14d, 0xc
or r15d, r14d
mov ebp, r15d
test dil, dil
jne 0x1400071a8
cmp ebp, 0x110000
je 0x1400071b8
mov edi, 1
cmp ebp, 0x80
jb 0x140007180
mov edi, 2
cmp ebp, 0x800
jb 0x140007180
cmp ebp, 0x10000
mov edi, 4
sbb rdi, 0
add r8, rdi
mov qword [rdx], r8
mov edi, esi
jmp 0x1400070a2
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
call fcn.140002d89
jmp 0x1400071c2
test dil, dil
je 0x1400071b8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov r11d, 1
jmp 0x1400071bf
mov byte [rax + 0x1a], 1
xor r11d, r11d
mov qword [rcx], r11
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str._rustc_5680fa18feaa87f3ff04063800aec256c3d4b4belibrarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, r10
mov rdx, r9
call fcn.140017d70
ud2
Function at 0x140018230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x1400182c0
cmp r10, r11
jb 0x140018336
cmp r10, rdx
ja 0x14001834a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400182c2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400182a0
jmp 0x140018324
ja 0x1400182ca
mov r11, r10
cmp rax, r8
jne 0x140018264
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140018300
mov rdi, r8
sub ecx, edx
jns 0x14001831b
jmp 0x140018326
cmp r8, rsi
je 0x14001835b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140018326
xor al, 1
cmp rdi, rsi
jne 0x1400182e0
jmp 0x140018326
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140014020
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400135b0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140013970
ud2
Function at 0x14001a728
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x140164a48]
mov ebx, 0xff
lea rsi, str._Users_halo_Desktop_code_phishing_mpclient_dll_hijack_only_cs_vendor_crc32fast_src_baseline.rs
cmp r9, 0x40
jb 0x14001a858
mov r14d, 4
sub r14, 1
jb 0x14001a74d
cmp r9, 0xf
jbe 0x14001a885
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.14001ad78
mov r9, rdx
mov ecx, ebp
jmp 0x14001a75d
xor edx, edx
cmp r9, rdx
je 0x14001a876
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x14001a85a
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str._Users_halo_Desktop_code_phishing_mpclient_dll_hijack_only_cs_vendor_crc32fast_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.140012d00
ud2
Function at 0x1400256de
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.1400383b5
test rbx, rbx
je 0x140025717
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140025731
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140025729

Function at 0x140025731
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140025757
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140025741
mov qword [rcx], rax
ret
Function at 0x140043e7a
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsi + 0x28]
add rsp, 0x50
pop rsi
ret

Function at 0x140046f5e
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [rcx + 0x18]
test eax, eax
je fcn.14009cf00
dec eax
ret
Function at 0x140047ad6
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.140049fe0
test rax, rax
je 0x140047b0e
mov edx, 4
mov rcx, rax
call fcn.14000dd90
jmp 0x140047b47
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
call fcn.140046ee6
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
and qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp fcn.140046fb9
Function at 0x140047bbc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rdi, rcx
lea rcx, [0x1400db008]
call fcn.140046f5e
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140047bf5
mov rsi, rax
cmp qword [rax + 8], 0
je 0x140047bf5
add rsi, 8
jmp 0x140047d85
lea rbx, [0x1400db008]
mov rcx, rbx
call fcn.140046f5e
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140047d83
mov rsi, rax
test rax, rax
jne 0x140047c49
mov ecx, 0x10
mov edx, 8
call fcn.14000341b
mov rsi, rax
mov qword [rax], rbx
and qword [rax + 8], 0
mov rcx, rbx
call fcn.140046f5e
mov ecx, eax
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140047c65
mov rbx, qword [rdi]
and qword [rdi], 0
test rbx, rbx
jne 0x140047d72
xor ecx, ecx
call fcn.140046ec6
xorps xmm0, xmm0
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140049fe0
test rax, rax
jne 0x140047d93
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdi, [rsp + 0x50]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov rdx, rdi
call fcn.140046ee6
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
movups xmmword [rbx - 8], xmm0
movups xmmword [rbx + 8], xmm1
movups xmmword [rbx + 0x18], xmm2
movups xmm0, xmmword [rbx - 0x10]
movaps xmmword [rdi], xmm0
movups xmm0, xmmword [rbx]
movaps xmmword [rdi + 0x10], xmm0
movups xmm0, xmmword [rbx + 0x10]
movaps xmmword [rdi + 0x20], xmm0
mov rax, qword [rbx + 0x20]
mov qword [rdi + 0x30], rax
mov ecx, 0x170
mov edx, 0x10
call fcn.14000341b
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x10]
mov r8d, 0x100
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rbx + 0x110], 0x40
movaps xmm0, xmmword [rdi]
movaps xmm1, xmmword [rdi + 0x10]
movaps xmm2, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x118], xmm0
movups xmmword [rbx + 0x128], xmm1
movups xmmword [rbx + 0x138], xmm2
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x148], rax
mov eax, 0x10000
mov qword [rbx + 0x150], rax
mov qword [rbx + 0x158], rax
and qword [rbx + 0x160], 0
add rsi, 8
mov rcx, qword [rsi]
mov qword [rsi], rbx
call fcn.140046ec6
jmp 0x140047d85
xor esi, esi
mov rax, rsi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], rax
lea rax, [0x1401b2860]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rax], rdi
lea rdx, str.could_not_initialize_thread_rng:
lea rcx, [rsp + 0x90]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
and qword [rcx + 0x20], 0
lea r8, [0x140049f80]
mov qword [rax + 8], r8
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, str._Users_halo_Desktop_code_phishing_mpclient_dll_hijack_only_cs_vendor_rand_src_rngs_thread.rs
call fcn.140012cc0
ud2
Function at 0x140049fe0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov r12d, 0x20
xor esi, esi
mov r13d, 0xffffffff
test r12, r12
je 0x14004a071
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x14004a000
mov ebx, eax
mov rcx, r14
mov edx, r15d
call sub.advapi32.dll_SystemFunction036
test al, al
jne 0x14004a000
xor ebx, 0x80000000
je 0x14004a06f
mov al, byte [0x1401f71a0]
mov ecx, 4
mov edx, 4
call fcn.14000dd00
test rax, rax
je 0x14004a084
mov rsi, rax
mov dword [rax], ebx
jmp 0x14004a071
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.14000fd60
ud2
Function at 0x140078d24
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x98]
mov rcx, qword [rdx + 0x80]
mov rdx, qword [rdx + 0x90]
lea r9, str._Users_halo_Desktop_code_phishing_mpclient_dll_hijack_only_cs_vendor_schannel_src_tls_stream.rs
call fcn.140077b08
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xc0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x140078e01
test eax, eax
je 0x140078e1d
cmp eax, 0x90317
je 0x140078e96
cmp eax, 0x90321
jne 0x140078e9e
mov dword [rdi + 0x40], 0x10000
xor ebx, ebx
mov byte [rdi + 0x44], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140078cc4
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x140078eac
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x140078e9a
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x80]
mov rdx, qword [rdi + 0x90]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x60]
and qword [rdi + 0x70], 0
call fcn.140078ec0
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.140011e08
and qword [rdi + 0x78], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140078cc4
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x140078eac
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140078eac
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret