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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140058883
cmp byte [rcx + 0x71], 0
je 0x140058883
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14005887f
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 0x140058844
sub eax, 1
je 0x140058848
cmp eax, 2
jne 0x14005887f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140108a30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140058876
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 0x14005887f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005882c
xor al, al
jmp 0x14005882c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140108a30
add rsp, 0x60
pop rbx
ret
Function at 0x140058c40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov rax, qword [rcx + 8]
xor r15d, r15d
mov esi, r15d
mov ebp, r15d
mov rdi, rcx
movabs r14, 0xb5026f5aa96619e9
movabs r12, 0x38eb3ffff6d3
nop
lea ecx, [rax + 0xff]
shl rsi, cl
add rsi, rsi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x138
jne 0x140058cf5
lea rax, [r10 + 0x10]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 8]
xor r8d, dword [rax]
lea rax, [rax + 8]
btr r8d, 0x1f
xor r8, qword [rax - 0x10]
movzx ecx, r8b
and cl, 1
neg cl
sbb rdx, rdx
shr r8, 1
and rdx, r14
xor rdx, qword [rax + 0x4d0]
xor rdx, r8
mov qword [rax + 0x9b0], rdx
sub r9, 1
jne 0x140058cb0
mov ecx, dword [r10]
jmp 0x140058ddb
cmp ecx, 0x270
jb 0x140058ddb
lea r11, [r10 + 0x9c8]
mov ebx, 0x9c
mov rax, qword [r11]
mov rdx, qword [r11 + 8]
lea r8, [r11 + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r14
xor rcx, qword [r11 + 0x4e0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x140058d10
lea r11, [r10 + 0xea8]
mov ebx, 0x9b
mov rax, qword [r11]
nop
mov rdx, rax
lea r8, [r11 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r14
xor rcx, qword [r11 - 0xea0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x140058d60
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r14
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
mov ecx, r15d
mov dword [r10], r15d
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
xor rdx, rax
mov rax, rdx
and rax, r12
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rcx, rdx
shr rcx, 0x2b
xor rcx, rdx
cmp rcx, qword [rdi + 0x10]
ja 0x140058c90
mov rax, qword [rdi + 8]
or rsi, rcx
add rbp, rax
cmp rbp, 0x40
jb 0x140058c80
mov rbx, qword [rsp + 0x20]
mov rax, rsi
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
Function at 0x14005e4e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14005e50d
xor eax, eax
jmp 0x14005e662
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14005e538
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14005e538
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 0x14005e662
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14005e655
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14005e57b
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 0x14005e5a6
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 0x14005e65a
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 0x14005e615
sub eax, 1
je 0x14005e615
cmp eax, 2
jne 0x14005e655
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 0x14005e65a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14005e643
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 0x14005e655
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14005e65a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140108a30
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400627f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140062812
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140062828
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140062844
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140062846
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x140062880
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140062927
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1400628bb
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140062901
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140062940
cmp rbx, rax
ja 0x1400628d0
mov r8, rdi
test rdi, rdi
je 0x140062927
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x14006292a
Function at 0x140062950
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140062987
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1400629a8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400629aa
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140062a03
test ecx, ecx
jle 0x1400629e3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140062a03
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140062a03
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400778f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140200938]
mov esi, edx
mov edi, ecx
cmp byte [rbx + 0x1f45], 0
jne 0x140077957
cmp byte [rbx + 0x1f46], 0
jne 0x140077957
mov r9d, dword [rbx + 0x2f88]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400828f0
test sil, 1
je 0x140077a9d
jmp 0x1400779f6
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1401154a0]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x14011549c]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
or dword [rbx + 0x1c90], 1
mov qword [rbx + 0x1cac], rax
movss dword [rbx + 0x1ca4], xmm0
mov dword [rbx + 0x1c94], 1
movss dword [rbx + 0x1ca8], xmm1
mov byte [rbx + 0x1ccc], 1
movss xmm0, dword [rbx + 0x1748]
mov rax, qword [0x140200938]
mulss xmm0, dword [0x140115448]
or dword [rax + 0x1c90], 0x40
movss dword [rax + 0x1cf0], xmm0
mov r9d, dword [rbx + 0x2f88]
call fcn.1400828f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140077a46
lea r11, [0x140114d10]
cmp r9b, 0x23
jne 0x140077a29
cmp byte [r8], r9b
jne 0x140077a29
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 0x140077a16
mov rcx, qword [0x140200938]
not edx
add rcx, 0x1bc8
call fcn.140082520
test rax, rax
je 0x140077a9d
cmp byte [rax + 0xbf], 0
je 0x140077a9d
mov byte [rax + 0xc6], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xdc], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2f88]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x2f88]
call fcn.1400828f0
or edi, 0x22c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140073dd0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140108a30
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14007e9a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbx, rcx
mov rbp, qword [0x140200938]
test rax, rax
je 0x14007e9c8
mov eax, dword [rax + 4]
mov dword [rcx + 4], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14007e9d6
call fcn.14007e9a0
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14007e9e4
call fcn.14007e9a0
mov r9d, dword [rbx + 0x28]
xor esi, esi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r14
test r9d, r9d
jle 0x14007eac6
mov r14d, esi
mov rax, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x9c]
mov ecx, dword [rbp + 0x1b68]
inc r8d
mov rdi, qword [r14 + rax]
cmp r8d, ecx
jne 0x14007ea2d
mov eax, dword [rdi + 0x2d8]
inc eax
cmp eax, ecx
jge 0x14007ea2d
mov dl, 1
jmp 0x14007ea34
xor dl, dl
cmp r8d, ecx
jne 0x14007ea5c
test byte [rbx + 0xb4], 0x20
jne 0x14007ea48
mov eax, dword [rdi + 8]
cmp dword [rbx + 0xac], eax
jne 0x14007ea5c
cmp byte [rdi + 0xc8], 0
je 0x14007ea5c
test dword [rdi + 0xc], 0x100000
jne 0x14007ea5c
mov dl, 1
movzx ecx, byte [rdi + 0x472]
movzx eax, cl
shr al, 2
and al, 1
or al, dl
je 0x14007eaa6
and cl, 0xfb
mov byte [rdi + 0x472], cl
cmp dword [rbx + 0x28], 1
jne 0x14007ea8c
mov eax, dword [rbx + 8]
shr eax, 0xb
test al, 1
je 0x14007eb2c
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
call fcn.14007c1b0
mov r9d, dword [rbx + 0x28]
dec esi
sub r14, 8
jmp 0x14007eab7
mov eax, dword [rdi + 0x28]
not eax
and dword [rbx + 8], eax
mov eax, dword [rbx + 8]
or eax, dword [rdi + 0x24]
mov dword [rbx + 8], eax
inc esi
add r14, 8
cmp esi, r9d
jl 0x14007ea00
movzx edx, byte [rbx + 0xb5]
movzx ecx, dl
test dl, 1
je 0x14007eaf5
cmp r9d, 1
jne 0x14007eaf5
mov r8d, dword [rbx + 8]
mov eax, r8d
or eax, dword [rbx + 4]
test al, 0x40
je 0x14007eaf5
shr r8d, 0xd
test r9b, r8b
jne 0x14007eaf5
or cl, 2
and cl, 0xfe
mov byte [rbx + 0xb5], cl
movzx eax, cl
test cl, 2
je 0x14007eb1d
mov rdx, qword [rbx + 0x80]
test rdx, rdx
je 0x14007eb1d
test dword [rdx + 0x24], 0x2000
je 0x14007eb1d
and al, 0xfd
cmp r9d, 1
jle 0x14007eb4b
and dword [rbx + 8], 0xffffdfff
jmp 0x14007eb56
mov rcx, rbx
call fcn.14007b190
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
mov dword [rbx + 0xc], 1
call fcn.14007c1b0
jmp 0x14007ebbc
test al, 2
je 0x14007eb56
xor dword [rbx + 8], 0x2000
mov ecx, dword [rbx + 8]
and al, 0xfd
mov byte [rbx + 0xb5], al
mov eax, ecx
shr eax, 0xb
shr ecx, 0xa
cmp qword [rbx + 0x10], 0
movzx eax, al
movzx edx, cl
cmovne edx, eax
test r9d, r9d
setg al
or dl, al
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14007eb93
test byte [rax + 0xb4], 1
je 0x14007eb93
mov dl, 1
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14007eba9
test byte [rax + 0xb4], 1
je 0x14007eba9
mov al, 1
jmp 0x14007ebab
xor al, al
and byte [rbx + 0xb4], 0xfe
or al, dl
and al, 1
or byte [rbx + 0xb4], al
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x140080f40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x140200938]
lea rdx, [0x1401153c4]
mov rsi, rcx
call sub.VCRUNTIME140.dll_strstr
test rax, rax
mov r12, 0xffffffffffffffff
mov rbx, r12
cmovne rsi, rax
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1400794d0
add rdi, 0x3030
lea r14d, [rbx + 0x28]
and r14d, 0xfffffffc
movsxd r15, dword [rdi]
mov ecx, dword [rdi + 4]
lea ebp, [r14 + r15]
cmp ebp, ecx
jle 0x140079519
test ecx, ecx
je 0x140079505
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14007950a
mov eax, 8
cmp eax, ebp
mov edx, ebp
mov rcx, rdi
cmovg edx, eax
call fcn.140092070
mov dword [rdi], ebp
mov rax, qword [rdi + 8]
mov dword [r15 + rax], r14d
mov rdi, qword [rdi + 8]
add rdi, 4
add rdi, r15
mov qword [rsp + 0x58], rdi
je 0x140079544
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
mov word [rdi + 0x1c], r12w
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140082a40
lea r8, [rbx + 1]
mov dword [rdi], eax
lea rcx, [rdi + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140080f92
lea r11, [0x140114d10]
cmp r9b, 0x23
jne 0x140080f75
cmp byte [r8], r9b
jne 0x140080f75
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 0x140080f62
mov r11, qword [0x140200938]
mov r10, qword [r11 + 0x3038]
test r10, r10
je 0x140080fd9
lea r9, [r10 + 4]
test r9, r9
je 0x140080fd9
not eax
cmp dword [r9], eax
je 0x140080fe2
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x3030]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140080fb0
mov rcx, rbx
pop rbx
jmp 0x140079490
mov rax, r9
pop rbx
ret

Function at 0x1400810c0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140081110
lea r11, [0x140114d10]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400810f3
cmp byte [r8], r9b
jne 0x1400810f3
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 0x1400810e0
mov rcx, qword [0x140200938]
not edx
add rcx, 0x1bc8
jmp fcn.140082520

Function at 0x140081da0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x110]
mov r9, r8
movsxd r8, dword [rcx + 0x108]
mov r10, rdx
xor ecx, ecx
mov rdx, r9
sub rdx, r10
test r9, r9
mov r8d, dword [rax + r8*4 - 4]
cmove rdx, rcx
mov rcx, r10
jmp fcn.140082a40
Function at 0x140082a40
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 0x140082a9d
lea rbx, [0x140114d10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140082a84
cmp r10, 2
jb 0x140082a84
cmp byte [r9], r8b
jne 0x140082a84
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 0x140082a60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140082adf
lea rbx, [0x140114d10]
cmp r8b, 0x23
jne 0x140082ac3
cmp byte [r9], r8b
jne 0x140082ac3
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 0x140082ab0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140082d00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r13
push r14
push r15
mov qword [rsp + 0x28], rbp
xor r10d, r10d
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov rax, rcx
mov qword [rsp + 0x40], r12
mov r14d, r10d
lea r15, [0x140000000]
mov r13, rax
test rbx, rbx
je 0x140082d40
cmp rax, rbx
jae 0x140082eec
movzx r8d, byte [rax]
test r8b, r8b
je 0x140082eec
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0x115228]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x140082d78
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x140082d91
movzx r12d, byte [rcx]
jmp 0x140082d94
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x140082da2
movzx ebp, byte [rcx]
jmp 0x140082da5
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x140082db3
movzx esi, byte [rcx]
jmp 0x140082db6
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0x115248]
and r15d, ecx
movzx r8d, r12b
shl r15d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, bpl
or r15d, ecx
movzx r10d, sil
shl r15d, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or r15d, ecx
and r8d, 0xc0
mov ecx, r10d
shl r15d, 6
and ecx, 0x3f
shr r10d, 2
or r10d, edx
or r15d, ecx
shr r10d, 2
lea rcx, [0x140000000]
mov ecx, dword [r9 + rcx + 0x115278]
or r10d, r8d
shr r15d, cl
lea rcx, [0x140000000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0x115260]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r10d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r10d, r8d
mov ecx, 0x100
cmp r15d, 0xffff
cmova edx, ecx
lea rcx, [0x140000000]
mov ecx, dword [r9 + rcx + 0x115290]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x140082ed6
xor r10d, r10d
test dil, dil
mov eax, r10d
mov ecx, r10d
setne cl
test sil, sil
setne al
add ecx, eax
mov eax, r10d
test bpl, bpl
setne al
add ecx, eax
mov eax, r10d
test r12b, r12b
setne al
add ecx, eax
cmp r11d, ecx
cmovl ecx, r11d
movsxd rax, ecx
add rax, r13
inc r14d
jmp 0x140082d28
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x140082eec
xor r10d, r10d
inc r14d
jmp 0x140082d28
mov r12, qword [rsp + 0x40]
mov eax, r14d
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
pop r15
pop r14
pop r13
pop rbx
ret
Function at 0x140082f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x140083189
mov qword [r11 + 0x20], rsi
lea rsi, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x140082fc2
cmp r8, rbp
jae 0x140083166
movzx edx, byte [r8]
test dl, dl
je 0x140083166
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0x115228]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x140082ff8
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x140083011
movzx r13d, byte [rax]
jmp 0x140083014
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x140083023
movzx r12d, byte [rax]
jmp 0x140083026
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x140083035
movzx r15d, byte [rax]
jmp 0x140083038
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0x115248]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
and eax, 0x3f
shr r11d, 2
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0x115278]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0x115260]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
or r11d, eax
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0x115290]
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x140083143
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x14008314d
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x140083166
mov word [rdi], si
add rdi, 2
lea rsi, [0x140000000]
cmp rdi, qword [rsp + 8]
jb 0x140082fb0
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x14008319f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret