joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a7c0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
mov dword [rbp - 4], 0
mov qword [rbp - 0x30], rdx
mov r14, qword [rdx]
mov edi, 8
lea r15, [rbp - 4]
xor ebx, ebx
xor esi, esi
jmp 0x14000a82d
mov r13, r12
mov qword [rbp - 0x10], r13
mov rbx, r13
mov esi, r12d
lea r8d, [rbx*8]
mov dword [rsp + 0x20], 3
mov rcx, r14
mov rdx, rdi
mov r9, r15
call sub.psapi.dll_EnumProcessModulesEx
test eax, eax
je 0x14000a8cc
mov r12d, dword [rbp - 4]
cmp r12d, esi
jbe 0x14000a91d
mov rsi, r12
sub rsi, rbx
jbe 0x14000a820
mov rax, qword [rbp - 0x20]
sub rax, rbx
mov r13, rbx
cmp rax, rsi
jae 0x14000a88a
lea rcx, [rbp - 0x20]
mov rdx, rbx
mov r8, rsi
call fcn.140026b00
mov rdi, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rcx, [rdi + r13*8]
cmp rsi, 2
jb 0x14000a8bd
mov r8, rbx
not r8
add r8, r12
shl r8, 3
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [r12 + r13]
sub rax, rbx
lea rcx, [rdi + rax*8]
add rcx, 0xfffffffffffffff8
add r13, rsi
dec r13
mov qword [rcx], 0
inc r13
jmp 0x14000a823
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp - 0x28]
mov qword [rsi + 8], rax
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsi + 0x10], xmm0
mov rax, qword [rbp - 0x38]
mov qword [rsi + 0x20], rax
mov qword [rsi], 0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14000aa05
mov rcx, qword [rbp - 0x18]
shl rdx, 3
mov r8d, 8
call fcn.140006540
jmp 0x14000aa05
mov r14d, r12d
shr r14d, 3
cmp rbx, r14
jb 0x14000aa19
cmp r12d, 8
jae 0x14000a93f
mov eax, 8
xor ecx, ecx
jmp 0x14000a9cf
mov r15, r14
shl r15, 4
movzx eax, byte [0x140038171]
mov edx, 8
mov rcx, r15
call fcn.140006530
test rax, rax
je 0x14000aa2d
cmp r14d, 1
jne 0x14000a971
xor ecx, ecx
mov r10, qword [rbp - 0x30]
jmp 0x14000a9b5
mov edx, r14d
and edx, 0xfffffffe
lea r8, [rax + 0x18]
xor ecx, ecx
mov r10, qword [rbp - 0x30]
nop word cs:[rax + rax]
mov r9, qword [rdi + rcx*8]
mov qword [r8 - 0x18], r10
mov qword [r8 - 0x10], r9
mov r9, qword [rdi + rcx*8 + 8]
mov qword [r8 - 8], r10
mov qword [r8], r9
add rcx, 2
add r8, 0x20
cmp rdx, rcx
jne 0x14000a990
test r14b, 1
je 0x14000a9cc
mov rdx, qword [rdi + rcx*8]
shl rcx, 4
mov qword [rax + rcx], r10
mov qword [rax + rcx + 8], rdx
mov rcx, r14
mov rdx, qword [rbp - 0x28]
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rcx
mov qword [rdx], 4
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14000aa01
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.140006540
mov rsi, qword [rbp - 0x28]
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.C:Usersdaniel.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinproc_0.6.4_srcprocessmod.rs
mov rcx, r14
mov rdx, rbx
call fcn.140027b90
jmp 0x14000aa3a
mov ecx, 8
mov rdx, r15
call fcn.140027580
ud2
Function at 0x14000d540
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x14000d5e0
jmp 0x14000d5cf
jae 0x14000d6a0
cmp r8, 0x201
jae 0x14000d5e0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x14000d638
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x14000d60f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140026d30
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14000d661
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14000d708
mov r8d, r14d
cmp r15, r8
jne 0x14000d5c0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000d735
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000d5cf
jmp 0x14000d5e0
cmp rsi, r8
jb 0x14000d74f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14000fe40
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x14000d6f1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.140006540
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x14000d6d9
jmp 0x14000d6f1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140027740
jmp 0x14000d764
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140027b90
ud2
Function at 0x140014cd0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14002c258]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140014d14
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x140014d73
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x140014d82
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140014dba
cmp eax, 0x103
je 0x140014dc4
test eax, eax
js 0x140014d9f
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x140014dba
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14000fb80
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14000b7e0
mov ecx, 7
int 0x29
ud2
Function at 0x140014e30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14002c258]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140014e74
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140014eda
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140014f11
test eax, eax
js 0x140014eeb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140014f04
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14000fb80
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14000b7e0
mov ecx, 7
int 0x29
ud2
Function at 0x140024770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400247ea
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400247e0
cmp r11, r10
ja 0x140024881
cmp r10, rdx
ja 0x140024893
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400247e2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400247c0
jmp 0x140024857
ja 0x1400247ea
mov r11, r10
cmp rax, r8
jne 0x140024792
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14002485b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140024830
mov r8, r10
sub ecx, r9d
jns 0x14002484e
jmp 0x14002485d
cmp r10, rdx
je 0x140024869
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14002485d
xor al, 1
cmp r8, rdx
jne 0x140024810
jmp 0x14002485d
xor eax, eax
jmp 0x14002485d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14002eb4b]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140027740
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140027c10
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140027b90
int3

Function at 0x140026544
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call fcn.140002db0
test eax, eax
js 0x140002d9e
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x140002be9
lea r8, [rbx + 8]
lea rax, [rbx + 8]
lea r8, [r8 + r9*4]
nop word [rax + rax]
mov ecx, dword [r8 - 8]
mov edx, dword [rax - 8]
add r10, 4
mov dword [rax - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 8], edx
mov edx, dword [rax - 4]
mov dword [rax - 4], ecx
mov ecx, dword [r8]
mov dword [r8 - 4], edx
mov edx, dword [rax]
mov dword [rax], ecx
mov ecx, dword [r8 + 4]
mov dword [r8], edx
mov edx, dword [rax + 4]
mov dword [rax + 4], ecx
sub r9, 4
mov dword [r8 + 4], edx
lea r8, [r8 - 0x10]
lea rax, [rax + 0x10]
cmp r10, r9
jl 0x140002ba0
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x140002d9c
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x140000000]
nop dword [rax]
mov r8d, dword [r10 + 0xe]
lea r10, [r10 + 0x10]
inc r11d
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x121b90]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0x121b90]
mov r9d, dword [rdi + rdx*4 + 0x121f90]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x122790]
movzx ecx, byte [rdi + rax*4 + 0x121b90]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x122b90]
movzx ecx, byte [rdi + rax*4 + 0x121b90]
movzx eax, byte [r10 + 3]
movzx edx, byte [rdi + rax*4 + 0x121b90]
xor r9d, dword [rdi + rcx*4 + 0x122390]
movzx eax, byte [r10 + 4]
movzx ecx, byte [rdi + rax*4 + 0x121b90]
mov r8d, dword [rdi + rdx*4 + 0x122790]
mov dword [r10 - 2], r9d
xor r8d, dword [rdi + rcx*4 + 0x122390]
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x121b90]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x121f90]
movzx ecx, byte [rdi + rax*4 + 0x121b90]
movzx eax, byte [r10 + 7]
xor r8d, dword [rdi + rcx*4 + 0x122b90]
movzx edx, byte [rdi + rax*4 + 0x121b90]
movzx eax, byte [r10 + 8]
movzx ecx, byte [rdi + rax*4 + 0x121b90]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x122790]
xor r8d, dword [rdi + rcx*4 + 0x122390]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x121b90]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x121f90]
movzx ecx, byte [rdi + rax*4 + 0x121b90]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x122b90]
movzx edx, byte [rdi + rax*4 + 0x121b90]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x121b90]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x122790]
xor r8d, dword [rdi + rcx*4 + 0x122390]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x121b90]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x121f90]
movzx ecx, byte [rdi + rax*4 + 0x121b90]
xor r8d, dword [rdi + rcx*4 + 0x122b90]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140002c10
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140004140
Capabilities:
Hash data with md5

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor edx, edx
lea r8d, [rdx + 0x5c]
add rcx, 4
call fcn.140071640
mov dword [rdi + 4], 0x67452301
mov dword [rdi + 8], 0xefcdab89
mov dword [rdi + 0xc], 0x98badcfe
mov dword [rdi + 0x10], 0x10325476
mov qword [rdi + 0xb8], reloc.WS2_32.dll_ntohs
xor ebx, ebx
mov qword [rdi + 0xb0], rbx
mov byte [rdi + 0xa0], bl
mov qword [rdi + 0xd8], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0xd0], rbx
mov byte [rdi + 0xc0], bl
mov word [rdi], 0x101
mov rdx, qword [section..data]
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], bl
cmp byte [rdx], bl
jne 0x1400041f5
mov r8d, ebx
jmp 0x14000420a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140004200
lea rcx, [rsp + 0x50]
call fcn.1400088f0
nop
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], 0
xor r8d, r8d
lea rdx, [0x140123920]
lea rcx, [rsp + 0x20]
call fcn.1400088f0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400071c0
nop
cmp qword [rsp + 0x68], 0x10
jb 0x140004262
mov rcx, qword [rsp + 0x50]
call fcn.14006e9f4
nop
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006ed70
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x140005220
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov r14, rdx
xor edx, edx
mov rdi, r8
lea r8d, [rdx + 0x5c]
mov rbx, r9
mov rsi, rcx
mov dword [rsp + 0x20], 0
call fcn.140071640
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov dword [rsi], 0x67452301
mov dword [rsi + 4], 0xefcdab89
mov dword [rsi + 8], 0x98badcfe
mov dword [rsi + 0xc], 0x10325476
call fcn.1400070a0
lea rbx, [rsi + 0x5c]
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov rdx, rsi
mov rcx, rbx
mov qword [rbx + 0x38], rax
call fcn.140006ef0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r14 + 0x10], 0
mov byte [r14], 0
test rbx, rbx
je 0x14000531b
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400052d5
mov rax, qword [r14]
jmp 0x1400052d8
mov rax, r14
cmp rbx, rax
jb 0x14000531b
cmp rdx, 0x10
jb 0x1400052e8
mov rcx, qword [r14]
jmp 0x1400052eb
mov rcx, r14
add rcx, qword [r14 + 0x10]
cmp rcx, rbx
jbe 0x14000531b
cmp rdx, 0x10
jb 0x1400052ff
mov rax, qword [r14]
jmp 0x140005302
mov rax, r14
sub rbx, rax
mov r9d, reloc.WS2_32.dll_recv
mov rdx, r14
mov r8, rbx
mov rcx, r14
call fcn.1400087a0
jmp 0x140005363
cmp qword [r14 + 0x18], 0x10
jae 0x14000533a
mov r8, qword [r14 + 0x10]
mov edx, reloc.WS2_32.dll_recv
mov rcx, r14
call fcn.140007420
cmp qword [r14 + 0x18], 0x10
jb 0x14000533f
mov rax, qword [r14]
jmp 0x140005342
mov rax, r14
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
cmp qword [r14 + 0x18], 0x10
mov qword [r14 + reloc.WS2_32.dll_recv], 0x10
jb 0x14000535c
mov rax, qword [r14]
jmp 0x14000535f
mov rax, r14
mov byte [rax + 0x10], 0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rax, r14
add rsp, 0x30
pop r14
ret
Function at 0x140006ce0
Capabilities:
Hash data with md5

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r14, r9
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rsp + 0xe0]
mov qword [rsp + 0x30], rbx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor edx, edx
lea r8d, [r15 + 0x5c]
call fcn.140071640
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov r8, r14
mov rdx, rbp
mov rcx, rdi
call fcn.1400070a0
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x140006d7d
cmp qword [rbx + 0x18], 0x10
jb 0x140006d72
mov rdx, qword [rbx]
jmp 0x140006d75
mov rdx, rbx
mov rcx, rdi
call fcn.1400070a0
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140006bb0
nop
xor edx, edx
lea r8d, [rdx + 0x5c]
mov rcx, rdi
call fcn.140071640
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.1400070a0
mov r8, r14
mov rdx, rbp
mov rcx, rdi
call fcn.1400070a0
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x140006e01
cmp qword [rbx + 0x18], 0x10
jb 0x140006df6
mov rdx, qword [rbx]
jmp 0x140006df9
mov rdx, rbx
mov rcx, rdi
call fcn.1400070a0
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140006bb0
nop
mov r8, rax
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140003420
nop
cmp qword [rsp + 0x70], 0x10
jb 0x140006e32
mov rcx, qword [rsp + 0x58]
call fcn.14006e9f4
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], r15
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x50], 0x10
jb 0x140006e57
mov rcx, qword [rsp + 0x38]
call fcn.14006e9f4
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], r15
mov byte [rsp + 0x38], 0
cmp qword [rbx + 0x18], 0x10
jb 0x140006e79
mov rcx, qword [rbx]
call fcn.14006e9f4
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r15
mov byte [rbx], 0
mov rax, rsi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006ed70
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140012920
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rbp - 8], rax
mov qword [rsp + 0x68], rbx
mov rbx, rcx
mov rcx, qword [rcx]
mov dword [rbp - 0x1b], 0x68637261
mov word [rbp - 0x16], 0x6179
mov word [rbp - 0x20], 0x7375
mov word [rbp - 0x10], 0x6f63
mov word [rbp - 0x13], 0x6f6f
mov word [rbp - 0xe], WSAGetLastError
mov word [rbp - 0x1d], 0x6573
mov byte [rbp - 0x14], 0x68
mov byte [rbp - 0x17], reloc.WLDAP32.dll_Ordinal_46
mov byte [rbp - 0x11], reloc.WLDAP32.dll_Ordinal_46
mov byte [rbp - 0x1e], reloc.WLDAP32.dll_Ordinal_46
mov dword [rbp - 0x2a], 0x316d6172
mov word [rbp - 0x2c], 0x6170
mov byte [rbp - 0x26], 0
cmp dword [rcx - 0x10], 0
jl 0x1400129ca
lea rdx, [rbp - 0x20]
call fcn.1400732bc
test rax, rax
je 0x1400129ca
sub eax, dword [rbx]
js 0x1400129ca
mov rcx, qword [rbx]
cmp dword [rcx - 0x10], 0
jl 0x1400129ca
lea rdx, [rbp - 0x2c]
call fcn.1400732bc
test rax, rax
je 0x1400129ca
sub eax, dword [rbx]
js 0x1400129ca
mov dil, 1
jmp 0x1400129cd
xor dil, dil
mov rdx, qword [rbx]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
mov rbx, qword [rsp + 0x68]
jg 0x1400129ea
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
movzx eax, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14006ed70
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret

Function at 0x140012d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 3
mov rsi, rdx
xor bpl, bpl
call fcn.1400a7450
call fcn.1400a72b0
mov r8, qword [rsi]
mov edx, 0x2712
mov rcx, rax
mov rdi, rax
call fcn.1400a7250
lea r8, [0x140027370]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.1400a7250
mov r8, rbx
mov edx, 0x2711
mov rcx, rdi
call fcn.1400a7250
lea r8, [rsp + 0x20]
mov edx, 0x2722
mov rcx, rdi
mov dword [rsp + 0x2e], 0x302e31
mov dword [rsp + 0x24], 0x2d6c7275
mov dword [rsp + 0x20], 0x6362696c
mov dword [rsp + 0x28], 0x6e656761
mov word [rsp + 0x2c], 0x2f74
call fcn.1400a7250
mov rcx, rdi
call fcn.1400a6e90
mov ecx, 1
movzx ebx, bpl
test eax, eax
cmove ebx, ecx
mov rcx, rdi
call fcn.1400a6e50
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140012e09
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
movzx eax, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14006ed70
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140012eb0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
call fcn.1400350e0
lea r8, [rsp + 0x30]
mov rcx, rax
mov edx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140035df0
test eax, eax
je 0x140012f4c
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call fcn.140035ab0
test eax, eax
je 0x140012f41
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, reloc.WS2_32.dll_recv
xor edx, edx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], 0
call fcn.140034120
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006ed70
add rsp, 0x68
ret
Function at 0x140013f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov rbx, rcx
mov dword [rbp - 0x30], 0
mov dword [rbp - 0x1b], 0x72656c6c
mov dword [rbp - 0x20], 0x74736e49
mov word [rbp - 0x26], 0x626f
mov word [rbp - 0x23], 0x5c6c
mov word [rbp - 0x13], 0x78
mov word [rbp - 0x16], 0x7475
mov byte [rbp - 0x21], 0x43
mov word [rbp - 0x28], 0x6c47
mov byte [rbp - 0x1c], reloc.OLEAUT32.dll_VarCyFromUI1
mov byte [rbp - 0x17], Ordinal_79
mov byte [rbp - 0x14], 0x65
mov byte [rbp - 0x24], reloc.OLEAUT32.dll_VarCyFromUI1
call fcn.14000da00
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14006ed70
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret