joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004a50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140004a7d
xor eax, eax
jmp 0x140004bd2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140004aa8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140004aa8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140004bd2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140004bc5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140004aeb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004b16
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004bca
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004b85
sub eax, 1
je 0x140004b85
cmp eax, 2
jne 0x140004bc5
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004bca
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004bb3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140004bc5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140004bca
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14004abc0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140004e00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004ed3
cmp byte [rcx + 0x71], 0
je 0x140004ed3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140004ecf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004e94
sub eax, 1
je 0x140004e98
cmp eax, 2
jne 0x140004ecf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004abc0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004ec6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140004ecf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004e7c
xor al, al
jmp 0x140004e7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004abc0
add rsp, 0x60
pop rbx
ret
Function at 0x140005810
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140005871
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140005830
mov ecx, dword [r10]
jmp 0x14000595a
cmp ecx, 0x4e0
jb 0x14000595a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140005890
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400058e0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140007390
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 0x1400073ed
lea rbx, [0x14004de60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400073d4
cmp r10, 2
jb 0x1400073d4
cmp byte [r9], r8b
jne 0x1400073d4
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 0x1400073b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000742f
lea rbx, [0x14004de60]
cmp r8b, 0x23
jne 0x140007413
cmp byte [r9], r8b
jne 0x140007413
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 0x140007400
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140007570
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000758a
mov qword [r8], 0
lea rdx, [0x1400520e4]
call fcn.140007440
mov rbx, rax
test rax, rax
jne 0x1400075aa
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 0x140007695
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 0x140007695
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140007695
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 0x140007695
cmp rdi, 0xffffffffffffffff
je 0x140007695
mov rax, qword [0x14005ce38]
test rax, rax
je 0x140007626
inc dword [rax + 0x3b0]
mov rdx, qword [0x14005ce28]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x140007695
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 0x140007682
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005ce38]
test rax, rax
je 0x140007671
dec dword [rax + 0x3b0]
mov rdx, qword [0x14005ce28]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14000769e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140007690
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400076a0
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 0x140015640
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x14005ce38]
mov r8d, ecx
mov rbx, qword [rax + 0x1d28]
add rbx, 0x108
movzx eax, r8b
lea r8, [0x14004de60]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x140015700
lea ecx, [rdx + 1]
test r8d, r8d
je 0x1400156e6
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400156eb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140026fc0
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140016700
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14005ce38]
mov edi, edx
cmp byte [rbx + 0x20e5], 0
jne 0x140016760
cmp byte [rbx + 0x20e6], 0
jne 0x140016760
mov r9d, dword [rbx + 0x3188]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140007280
test dil, 1
je 0x140016894
jmp 0x1400167ef
movss xmm1, dword [rbx + 0x16fc]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3188]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140052930]
mulss xmm1, dword [0x140052924]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1dec], rax
mov dword [rbx + 0x1dd4], 1
movss dword [rbx + 0x1de4], xmm0
mov byte [rbx + 0x1e0c], 1
movss dword [rbx + 0x1de8], xmm1
movss xmm0, dword [rbx + 0x1758]
mulss xmm0, dword [0x14005288c]
or dword [rbx + 0x1dd0], 0x41
movss dword [rbx + 0x1e30], xmm0
call fcn.140007280
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140016840
lea r11, [0x14004de60]
nop
cmp r9b, 0x23
jne 0x140016823
cmp byte [r8], r9b
jne 0x140016823
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140016810
mov rcx, qword [0x14005ce38]
not edx
add rcx, 0x1d08
call fcn.1400079f0
test rax, rax
je 0x140016894
cmp byte [rax + 0xcf], 0
je 0x140016894
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3188]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3188]
call fcn.140007280
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140011d30
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004abc0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001b4e0
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 + 0x3270], 0
lea rbx, [rcx + 0x3278]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001b587
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001b53a
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.140026d10
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140007dd0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3270]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3280]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14005ce30]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001b58f
mov rcx, rbx
call fcn.140007dd0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b9e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x14001ba32
lea r11, [0x14004de60]
cmp r9b, 0x23
jne 0x14001ba15
cmp byte [r8], r9b
jne 0x14001ba15
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001ba02
mov r11, qword [0x14005ce38]
mov r10, qword [r11 + 0x3238]
test r10, r10
je 0x14001ba79
lea r9, [r10 + 4]
test r9, r9
je 0x14001ba79
not eax
cmp dword [r9], eax
je 0x14001ba82
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x3230]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x14001ba50
mov rcx, rbx
pop rbx
jmp fcn.14001b8f0
mov rax, r9
pop rbx
ret
Function at 0x14001ed70
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001ef6c
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14004de60]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x14001ef34
mov rcx, rbp
call fcn.14001e460
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x14001edee
lea rcx, [rbp + 0x31d0]
call fcn.1400079f0
mov rcx, rax
jmp 0x14001edf0
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xb8], 0xfffffe49
or dword [rbx + 0xb8], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001ee81
cmp qword [rcx + 0x18], 0
jne 0x14001ee76
mov qword [rcx + 0x18], rbx
jmp 0x14001ee81
cmp qword [rcx + 0x20], 0
jne 0x14001ee81
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov rcx, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 4]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001eebc
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001eeb0
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, socket
call fcn.140007280
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x14001ef18
cmp r9b, 0x23
jne 0x14001eefb
cmp byte [r8], r9b
jne 0x14001eefb
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x14001eee8
mov rcx, qword [0x14005ce38]
not edx
add rcx, 0x1d08
call fcn.1400079f0
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001edc0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004abc0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140047cf0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r10, rdx
test r8, r8
je 0x140047d7b
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140047d50
lea r10, [0x14004de60]
nop dword [rax]
cmp r9b, 0x23
jne 0x140047d33
cmp byte [r8], r9b
jne 0x140047d33
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 [r10 + rdx*4]
test r9b, r9b
jne 0x140047d20
mov rcx, qword [0x14005ce38]
not eax
cmp dword [rcx + 0x1d7c], eax
jne 0x140047d67
mov dword [rcx + 0x1d80], eax
cmp dword [rcx + 0x1db8], eax
jne 0x140047dcd
mov byte [rcx + 0x1dbc], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x14005ce38]
mov rax, qword [rbx + 0x1d28]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r10
call fcn.140007390
cmp dword [rbx + 0x1d7c], eax
jne 0x140047db9
mov dword [rbx + 0x1d80], eax
cmp dword [rbx + 0x1db8], eax
jne 0x140047dc8
mov byte [rbx + 0x1dbc], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x1400e8e18
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400e8c14

Function at 0x1400efb70
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400efb86
mov al, 1
jmp 0x1400efbe6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400efb97
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400efbe4
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400dce38
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400efbe4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400efbe4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400efbe4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400efbe6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400a4010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov qword [rsp], 0
jmp 0x1400a403e
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp], rax
jae 0x1400a40a1
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov byte [rsp + 8], al
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
movzx ecx, byte [rsp + 8]
xor eax, ecx
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x28]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
movzx ecx, byte [rsp + 8]
mov byte [rax], cl
jmp 0x1400a4033
add rsp, 0x10
pop rdi
ret

Function at 0x1400d0b40
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0x10325476
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0xc3d2e1f0
pop rdi
ret

Function at 0x1400d12d0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
lea rax, [0x1401dafd0]
mov rdi, qword [rsp + 0x18]
mov rsi, rax
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
pop rdi
pop rsi
ret
Function at 0x1400e2ea0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
sub rsp, 0x10
mov dword [rsp], 0
jmp 0x1400e2eb7
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jge 0x1400e2f56
movsxd rax, dword [rsp]
lea rcx, str.cw
movzx eax, byte [rcx + rax]
mov byte [rsp + 4], al
movzx eax, byte [rsp + 4]
shl eax, 8
movzx ecx, byte [rsp + 4]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [rsp + 4]
shl ecx, 1
movzx edx, byte [rsp + 4]
sar edx, 7
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
shl ecx, 0x18
or eax, ecx
mov dword [rsp + 8], eax
movzx eax, byte [rsp + 4]
shl eax, 1
movzx ecx, byte [rsp + 4]
sar ecx, 7
and ecx, 1
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
xor eax, ecx
mov ecx, dword [rsp + 8]
or ecx, eax
mov eax, ecx
mov eax, eax
shl rax, 0x20
mov ecx, dword [rsp + 8]
or rax, rcx
movsxd rcx, dword [rsp]
lea rdx, [0x140246f10]
mov qword [rdx + rcx*8], rax
jmp 0x1400e2eaf
mov eax, 8
imul rax, rax, 0x101
lea rcx, [0x140246f10]
mov qword [rcx + rax], 0
mov eax, 8
imul rax, rax, 0x100
lea rcx, [0x140246f10]
mov qword [rcx + rax], 0
mov byte [0x140247f20], 1
add rsp, 0x10
pop rdi
ret
Function at 0x1400e2fa0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
sub rsp, 0x10
mov dword [rsp], 0
jmp 0x1400e2fb7
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jge 0x1400e31d9
movsxd rax, dword [rsp]
lea rcx, [0x1401ebe00]
movzx eax, byte [rcx + rax]
mov byte [rsp + 4], al
movzx eax, byte [rsp + 4]
shl eax, 3
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 1
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 2
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 4
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
shl ecx, 2
movzx edx, byte [rsp + 4]
sar edx, 6
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
sar edx, 6
and edx, 2
imul edx, edx, 0x11b
xor ecx, edx
xor eax, ecx
movzx ecx, byte [rsp + 4]
xor eax, ecx
shl eax, 8
movzx ecx, byte [rsp + 4]
shl ecx, 3
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 2
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 4
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
xor ecx, edx
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [rsp + 4]
shl ecx, 3
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 2
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
sar edx, 5
and edx, 4
imul edx, edx, 0x11b
xor ecx, edx
movzx edx, byte [rsp + 4]
shl edx, 2
movzx r8d, byte [rsp + 4]
sar r8d, 6
and r8d, 1
imul r8d, r8d, 0x11b
xor edx, r8d
movzx r8d, byte [rsp + 4]
sar r8d, 6
and r8d, 2
imul r8d, r8d, 0x11b
xor edx, r8d
xor ecx, edx
movzx edx, byte [rsp + 4]
shl edx, 1
movzx r8d, byte [rsp + 4]
sar r8d, 7
and r8d, 1
imul r8d, r8d, 0x11b
xor edx, r8d
xor ecx, edx
shl ecx, 0x18
or eax, ecx
mov dword [rsp + 8], eax
movzx eax, byte [rsp + 4]
shl eax, 3
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 1
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 2
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
sar ecx, 5
and ecx, 4
imul ecx, ecx, 0x11b
xor eax, ecx
movzx ecx, byte [rsp + 4]
shl ecx, 1
movzx edx, byte [rsp + 4]
sar edx, 7
and edx, 1
imul edx, edx, 0x11b
xor ecx, edx
xor eax, ecx
movzx ecx, byte [rsp + 4]
xor eax, ecx
mov ecx, dword [rsp + 8]
or ecx, eax
mov eax, ecx
mov eax, eax
shl rax, 0x20
mov ecx, dword [rsp + 8]
or rax, rcx
movzx ecx, byte [rsp + 4]
or rax, rcx
movsxd rcx, dword [rsp]
lea rdx, [0x140247720]
mov qword [rdx + rcx*8], rax
jmp 0x1400e2faf
mov byte [0x140247f21], 1
add rsp, 0x10
pop rdi
ret