joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140036280
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13d8
call fcn.140230e30
sub rsp, rax
mov rax, qword [0x140700d00]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
lea rcx, [rsp + 0x20]
call fcn.140036410
mov edx, 1
mov rcx, qword [rax]
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x13b4], 0xffffffff
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x34], ecx
inc rdx
cmp rdx, 0x270
jb 0x1400362c0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x270
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140031ce0
mov eax, eax
lea rcx, [rax + rax*4]
test ecx, ecx
jne 0x14003631a
lea rcx, [rsp + 0x20]
call fcn.140031ce0
mov eax, eax
lea rcx, [rax + rax*4]
cmp ecx, 1
jb 0x140036305
shr rcx, 0x20
test ecx, ecx
je 0x1400363d4
sub ecx, 1
je 0x1400363b5
sub ecx, 1
je 0x140036396
sub ecx, 1
je 0x140036377
cmp ecx, 1
je 0x140036358
xor eax, eax
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140230920
add rsp, 0x13d8
ret
lea rax, [0x140237190]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140230920
add rsp, 0x13d8
ret
lea rax, [0x140237180]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140230920
add rsp, 0x13d8
ret
lea rax, [0x140237170]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140230920
add rsp, 0x13d8
ret
lea rax, [0x140237160]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140230920
add rsp, 0x13d8
ret
lea rax, [0x140237150]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140230920
add rsp, 0x13d8
ret
Function at 0x140045160
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x40
cmp byte [0x14071c214], 0
jne 0x1400452f7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
lea r14, [rsp + 0x48]
movabs rbp, 0xff00ff00ff00ff00
mov qword [r11 - 0x20], rbp
mov qword [r11 - 0x18], r14
mov rbx, qword [r14]
xor rbx, rbp
mov qword [r11 - 0x28], rbx
mov qword [r14], rax
xor ecx, ecx
lea rsi, [0x14001c2a0]
lea rdi, [0x140000000]
mov rax, qword [0x140709af0]
test rax, rax
je 0x1400451fb
xor edx, edx
cmp rax, rsi
je 0x1400451ea
inc ecx
mov edx, ecx
mov rax, qword [rdi + rcx*8 + 0x709af0]
test rax, rax
jne 0x1400451d2
jmp 0x1400451fb
mov r8, qword [rdi + rdx*8 + 0x709e10]
test r8, r8
jne 0x1400452df
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
test rax, rax
je 0x1400452be
mov rax, rsi
mov rcx, r8
mov edx, 3
nop dword [rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140045230
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x140709ae8]
mov qword [rdi + rax*8 + 0x709af0], rsi
mov qword [rdi + rax*8 + 0x709e10], r8
inc rax
mov qword [0x140709ae8], rax
lea rcx, [0x140050250]
call r8
nop
xor rbx, rbp
mov qword [r14], rbx
mov byte [0x14071c214], 1
mov eax, dword [0x140709954]
test eax, eax
jne 0x14004530c
call fcn.14004e2a0
mov eax, dword [0x140709954]
cmp eax, 1
jne 0x14004531c
call fcn.14004ef10
mov eax, dword [0x140709954]
cmp eax, 2
jne 0x140045326
call fcn.14004a5a0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140047490
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14004755c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14004755c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140047575
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14004754c
cmp byte [rax], 0x5c
jne 0x140047546
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140047546
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140047532
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140047543
test r8b, 0x10
jne 0x140047546
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140047546
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14004a100
test edi, edi
jne 0x1400474b0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140048980
int3
Function at 0x14004be30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14004be64
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14004be50
ret
Function at 0x140050e70
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0xc0
mov rax, qword [0x140700d00]
xor rax, rsp
mov qword [rsp + 0xa0], rax
cmp byte [str.NdM_], 0
mov r9, rdx
movups xmm0, xmmword [0x1402a4ed8]
mov rbx, rcx
mov qword [rsp + 0x40], rcx
movups xmmword [rsp + 0x28], xmm0
movsd xmm0, qword [0x1402a4ee8]
movsd qword [rsp + 0x38], xmm0
je 0x14005104d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140051019
movdqa xmm0, xmmword [str.7777777777777777W]
lea rcx, [rsp + 0x2c]
movdqa xmm5, xmmword [0x1402377c0]
xor edx, edx
movdqa xmm4, xmmword [0x1402a52d0]
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [rsp + 0xb0], xmm6
movdqa xmm6, xmmword [str.5555]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1402377f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402377f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x18
jl 0x140050f10
movaps xmm6, xmmword [rsp + 0xb0]
jmp 0x14005104d
lea r8, [rsp + 0x28]
xor ecx, ecx
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0x18
jl 0x140051020
lea r8, [rsp + 0x28]
mov edx, 0x50
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
inc r8
cmp byte [rax + r8], 0
jne 0x140051084
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14001c3b0
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140230920
add rsp, 0xc0
pop rbx
ret
Function at 0x140055ba0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x14071cc60]
movzx esi, r9b
mov r12d, dword [rsp + 0x90]
mov r15d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3f08]
mov eax, dword [rbx + 0x14]
movss xmm3, dword [rbx + 0x250]
and eax, 4
movss xmm5, dword [rbx + 0x254]
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x140055c0a
cmp qword [rdi + 0x4b68], 0
je 0x140055c12
movss xmm3, dword [rbx + 0x220]
cvttss2si eax, dword [r8]
subss xmm3, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
xorps xmm4, xmm4
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm4
cvtdq2ps xmm0, xmm0
jp 0x140055c4c
jne 0x140055c4c
mov eax, 1
jmp 0x140055c4e
xor eax, eax
ucomiss xmm0, xmm4
jp 0x140055c5d
jne 0x140055c5d
mov r14d, 2
jmp 0x140055c60
xor r14d, r14d
movss xmm2, dword [0x1402a6e1c]
or r14d, eax
comiss xmm4, xmm1
jb 0x140055c7c
addss xmm1, xmm3
comiss xmm1, xmm2
jae 0x140055c7c
movaps xmm1, xmm2
comiss xmm4, xmm0
jb 0x140055c8d
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x140055c8d
movaps xmm0, xmm2
or dword [rdi + 0x47e8], 2
xor edx, edx
movss dword [rdi + 0x4808], xmm1
movss dword [rdi + 0x480c], xmm0
mov dword [rdi + 0x47f0], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x140055cd6
mov dword [rsp + 0x28], r15d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.14005b2e0
jmp 0x140055cec
lea r8, str._s__08X
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x70]
call fcn.14005b2e0
movss xmm6, dword [rdi + 0x37f8]
test sil, sil
jne 0x140055d03
mov dword [rdi + 0x37f8], 0
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.1400537e0
mov rsi, qword [rdi + 0x3f08]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r15d
mov byte [rsi + 0xd2], r14b
jne 0x140055d49
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r15d
lea rdx, [0x1402a6151]
not r9d
lea r10, [0x1402a5590]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x140055d76
cmp byte [rdx], r8b
jne 0x140055d76
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140055d63
not ebx
cmp dword [rdi + 0x3f68], ebx
jne 0x140055da6
xor edx, edx
xor ecx, ecx
call fcn.1400663f0
cmp dword [rdi + 0x4900], r15d
jne 0x140055df3
bt r12d, 0x17
jb 0x140055df3
cmp word [rsi + 0x15c], 0
jne 0x140055dc9
cmp byte [rsi + 0x162], 0
je 0x140055df3
xor edx, edx
mov rcx, rsi
call fcn.140059f80
xor edx, edx
mov rcx, rsi
call fcn.14005d9b0
mov rdx, rsi
mov ecx, ebx
call fcn.1400663f0
mov eax, dword [rdi + 0x4924]
mov dword [rdi + 0x3f90], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140056000
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140700d00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14071cc60]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4ab1], 0
jne 0x140056068
cmp byte [rbx + 0x4ab2], 0
jne 0x140056068
movsx r9d, word [rbx + 0x5be2]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14005b260
test sil, 2
je 0x1400561a0
jmp 0x140056101
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1402a52a0]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1402a6e2c]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
or dword [rbx + 0x47e8], 1
mov qword [rbx + 0x4800], rax
movss dword [rbx + 0x47f8], xmm0
mov dword [rbx + 0x47ec], 1
movss dword [rbx + 0x47fc], xmm1
movss xmm0, dword [rbx + 0x38fc]
mov rax, qword [0x14071cc60]
mulss xmm0, dword [0x1402a6dec]
or dword [rax + 0x47e8], 0x40
movss dword [rax + 0x4848], xmm0
movsx r9d, word [rbx + 0x5be2]
call fcn.14005b260
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140056151
lea r11, [0x1402a5590]
cmp r9b, 0x23
jne 0x140056134
cmp byte [r8], r9b
jne 0x140056134
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140056121
not ecx
call fcn.140059d50
test rax, rax
je 0x1400561a0
cmp byte [rax + 0xb6], 0
je 0x1400561a0
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5be2]
movsx r9d, word [rbx + 0x5be2]
call fcn.14005b260
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.1400537e0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140230920
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140059ca0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14071cc60]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140059d03
mov qword [rsp], rbx
lea rbx, [0x1402a5590]
nop dword [rax]
cmp r9b, 0x23
jne 0x140059ce3
cmp byte [r8], r9b
jne 0x140059ce3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140059cd0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c40]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140059d37
mov r10, qword [r10 + 0x5c48]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140059d3e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140059d24
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14005a5b0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x1402a5590]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f50], ebx
jne 0x14005a648
xor r9d, r9d
mov r8, r10
mov ecx, ebx
lea edx, [r9 + 4]
call fcn.140057c20
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14005a6d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x1402a5590]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14005b520
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 0x14005b57d
lea rbx, [0x1402a5590]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14005b564
cmp r10, 2
jb 0x14005b564
cmp byte [r9], r8b
jne 0x14005b564
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 0x14005b540
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14005b5bf
lea rbx, [0x1402a5590]
cmp r8b, 0x23
jne 0x14005b5a3
cmp byte [r9], r8b
jne 0x14005b5a3
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 0x14005b590
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14005b800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x10
mov qword [rsp + 0x30], rbx
lea r13, [0x140000000]
mov qword [rsp + 0x38], rbp
mov rdi, rdx
mov qword [rsp + 0x40], rsi
mov rax, rcx
mov qword [rsp + 8], r14
xor r12d, r12d
mov qword [rsp], r15
test rdi, rdi
je 0x14005b840
cmp rax, rdi
jae 0x14005b9b8
movzx r8d, byte [rax]
test r8b, r8b
je 0x14005b9b8
xor ebx, ebx
mov ecx, r8d
shr rcx, 3
mov rdx, rdi
movsx r9, byte [rcx + r13 + 0x2a5ef8]
test r9d, r9d
sete bl
add ebx, r9d
test rdi, rdi
jne 0x14005b876
movsxd rdx, ebx
add rdx, rax
xor esi, esi
lea rcx, [rax + 1]
cmp rax, rdx
cmovb esi, r8d
cmp rcx, rdx
jae 0x14005b88e
movzx r15d, byte [rcx]
jmp 0x14005b891
xor r15b, r15b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x14005b8a0
movzx r14d, byte [rcx]
jmp 0x14005b8a3
xor r14b, r14b
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x14005b8b1
movzx ebp, byte [rcx]
jmp 0x14005b8b4
xor bpl, bpl
lea r10, [r9*4]
movzx ecx, sil
mov r9d, dword [r10 + r13 + 0x2a5f18]
and r9d, ecx
movzx r8d, r15b
shl r9d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, r14b
or r9d, ecx
movzx r11d, bpl
shl r9d, 6
and r8d, 0xc0
mov ecx, edx
and edx, 0xc0
and ecx, 0x3f
or r9d, ecx
mov ecx, r11d
shr r11d, 2
and ecx, 0x3f
or r11d, edx
shl r9d, 6
shr r11d, 2
or r9d, ecx
mov ecx, dword [r10 + r13 + 0x2a5f48]
or r11d, r8d
shr r9d, cl
shr r11d, 2
mov edx, r9d
cmp r9d, dword [r10 + r13 + 0x2a5f30]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r11d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r11d, r8d
mov ecx, 0x100
cmp r9d, 0xffff
cmova edx, ecx
mov ecx, dword [r10 + r13 + 0x2a5f60]
or r11d, edx
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x14005b9aa
xor edx, edx
test bpl, bpl
setne dl
xor ecx, ecx
test r14b, r14b
setne cl
add edx, ecx
xor ecx, ecx
test r15b, r15b
setne cl
add edx, ecx
xor ecx, ecx
test sil, sil
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
movsxd rcx, ebx
add rax, rcx
inc r12d
jmp 0x14005b832
mov r15, qword [rsp]
mov eax, r12d
mov r14, qword [rsp + 8]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x10
pop r13
pop r12
pop rdi
ret
Function at 0x14005ba30
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 + 0x20], rsi
mov rsi, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x14005bc47
mov qword [r11 + 0x18], rbp
lea rbp, [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
nop
test rsi, rsi
je 0x14005ba8e
cmp r8, rsi
jae 0x14005bc24
movzx edx, byte [r8]
test dl, dl
je 0x14005bc24
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + rbp + 0x2a5ef8]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x14005bac2
movsxd rcx, ebx
add rcx, r8
xor r14d, r14d
lea rax, [r8 + 1]
cmp r8, rcx
cmovb r14d, edx
cmp rax, rcx
jae 0x14005badb
movzx r13d, byte [rax]
jmp 0x14005bade
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x14005baed
movzx r12d, byte [rax]
jmp 0x14005baf0
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x14005baff
movzx r15d, byte [rax]
jmp 0x14005bb02
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov ebp, dword [r10 + rbp + 0x2a5f18]
and ebp, eax
movzx r9d, r13b
shl ebp, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or ebp, eax
movzx r11d, r15b
shl ebp, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ebp, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl ebp, 6
or ebp, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0x2a5f48]
shr r11d, 2
shr ebp, cl
mov ecx, 0x100
cmp ebp, dword [r10 + rax + 0x2a5f30]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, ebp
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp ebp, 0xffff
cmova eax, ecx
lea rcx, [0x140000000]
mov ecx, dword [r10 + rcx + 0x2a5f60]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x14005bc06
test r15b, r15b
mov eax, r9d
mov ecx, r9d
mov ebp, 0xfffd
setne cl
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
mov eax, r9d
test r14b, r14b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], bp
add rdi, 2
movsxd rax, ebx
lea rbp, [0x140000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x14005ba80
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 rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], r9w
test rax, rax
je 0x14005bc5d
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14005d5a0
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 + 0x5cd0], 0
lea rbx, [rcx + 0x5cd8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14005d647
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14005d5fa
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.14006b340
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14006adf0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cd0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5ce0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14071cc68]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14005d64f
mov rcx, rbx
call fcn.14006adf0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret