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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400ddfc0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001331d
xor eax, eax
jmp 0x140013489
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140013357
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140013357
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140013489
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001347c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001339a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
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 0x1400133c5
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 0x140013481
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 0x140013434
sub eax, 1
je 0x140013434
cmp eax, 2
jne 0x14001347c
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 0x140013481
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140013462
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 0x14001347c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140013481
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14009f750
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140013b30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400ddfc0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x30], rdx
mov rsi, qword [rdx + 0x10]
mov r8, rdx
mov rbp, qword [rdx + 0x18]
cmp rbp, 0xf
jbe 0x140013b6e
mov r8, qword [rdx]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test rsi, rsi
je 0x140013ba4
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rsi
jb 0x140013b90
mov rcx, qword [r15 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r15 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r15 + 8]
je 0x140013c00
mov r14, qword [rax + rcx*8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140013bd3
mov rdx, qword [rdx]
mov rcx, rdi
cmp rbp, 0xf
jbe 0x140013bdf
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x140013bf5
test rsi, rsi
je 0x140013c02
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140013c02
cmp rbx, r14
je 0x140013c00
mov rbx, qword [rbx + 8]
jmp 0x140013bc1
xor ebx, ebx
test rbx, rbx
cmove rbx, qword [r15 + 8]
cmp rbx, qword [r15 + 8]
jne 0x140013c9d
mov rbx, qword [r15 + 0x48]
sub rbx, qword [r15 + 0x40]
sar rbx, 5
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140017ab0
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
mov rax, qword [r15 + 0x48]
cmp rax, qword [r15 + 0x50]
je 0x140013c53
mov rdx, rdi
mov rcx, rax
call fcn.1400142d0
add qword [r15 + 0x48], 0x20
jmp 0x140013c63
mov r8, rdi
mov rdx, rax
lea rcx, [r15 + 0x40]
call fcn.14001b3b0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140013c99
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140013c94
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013d06
mov rcx, r8
call fcn.14009fb90
mov al, 1
jmp 0x140013cd2
cmp rbp, 0xf
jbe 0x140013cd0
lea rdx, [rbp + 1]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140013ccb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013d06
mov rcx, r8
call fcn.14009fb90
xor al, al
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14009f750
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x140013e00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140013e34
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140013e20
ret
Function at 0x1400147a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400ddfc0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140014873
cmp byte [rcx + 0x71], 0
je 0x140014873
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001486f
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 0x140014834
sub eax, 1
je 0x140014838
cmp eax, 2
jne 0x14001486f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009f750
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140014866
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 0x14001486f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001481c
xor al, al
jmp 0x14001481c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009f750
add rsp, 0x60
pop rbx
ret
Function at 0x140027e30
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 0x140027ef5
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140027ef5
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 0x140027f0e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x140027ee5
cmp byte [rcx], 0x5c
jne 0x140027ede
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x140027ede
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140027ecc
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x140027edb
test r8b, 0x10
jne 0x140027ede
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x140027ede
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400219b0
test edi, edi
jne 0x140027e50
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400219a0
int3
Function at 0x14002ece0
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 0x14002ed3d
lea rbx, [0x1400c1920]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14002ed24
cmp r10, 2
jb 0x14002ed24
cmp byte [r9], r8b
jne 0x14002ed24
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 0x14002ed00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14002ed7f
lea rbx, [0x1400c1920]
cmp r8b, 0x23
jne 0x14002ed63
cmp byte [r9], r8b
jne 0x14002ed63
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 0x14002ed50
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14002ef40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14002ef5e
mov qword [r8], r14
lea rdx, [0x1400c78a0]
call fcn.14002ed90
mov rbx, rax
test rax, rax
jne 0x14002ef83
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14002f0af
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002f0af
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14002f0af
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002f0af
cmp rdi, 0xffffffffffffffff
je 0x14002f0af
mov rcx, rdi
call fcn.140035a80
mov rbp, rax
test rax, rax
je 0x14002f0af
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 0x14002f09c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400e23e8]
test r8, r8
je 0x14002f091
movsx rdx, word [r8 + 0x5490]
lea rcx, [r8 + 0x5494]
mov r9d, dword [r8 + 0x3ff0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14002f086
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5490], cx
movsx rax, cx
lea rcx, [r8 + 0x5494]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x548c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002f0b8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14002f0aa
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14002f0ba
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14003fb10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
lea r15, [0x1400c1920]
movsxd rcx, dword [rcx + 0x108]
mov r14, rdx
mov rdi, rdx
mov rbx, rdx
mov r11, rdx
shr rbx, 0x30
mov rax, qword [rsi + 0x110]
mov r10, rdx
mov r9, rdx
shr r10, 0x20
mov r8, rdx
shr r9, 0x18
shr rdx, 8
mov ebp, dword [rax + rcx*4 - 4]
not ebp
movzx eax, r14b
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, dl
shr r8, 0x10
shr r11, 0x28
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r8b
shr rdi, 0x38
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r9b
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r10b
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r11b
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, bl
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rdi
shr ebp, 8
xor ebp, dword [r15 + rcx*4]
mov rcx, qword [rsi]
not ebp
cmp dword [rcx + 0x4100], ebp
jne 0x14003fc15
mov r8, r14
mov edx, 0xd
mov ecx, ebp
call fcn.14004c960
mov rbx, qword [rsp + 0x60]
mov eax, ebp
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14003fc30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1400c1920]
movsxd rcx, dword [rcx + 0x108]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x110]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x4100], ebx
jne 0x14003fcc4
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14004c960
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003fce0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x1400c1920]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x108]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14004b1b0
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 + 0x5368], 0
lea rbx, [rcx + 0x5370]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14004b257
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14004b20a
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.14002d570
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14002f8a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5368]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5378]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400e23f8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14004b25f
mov rcx, rbx
call fcn.14002f8a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14004b580
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
mov rbx, qword [0x1400e23e8]
xor ebp, ebp
cmp byte [rbx + 0x52b0], bpl
jne 0x14004b65f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14004b658
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.14002ef40
mov rsi, rax
test rax, rax
je 0x14004b658
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14004b5e4
mov rcx, rax
call fcn.14004b7b0
mov r8, qword [0x1400e23e8]
test r8, r8
je 0x14004b64f
movsx rdx, word [r8 + 0x5490]
lea rcx, [r8 + 0x5494]
mov r9d, dword [r8 + 0x3ff0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14004b644
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5490], cx
movsx rax, cx
lea rcx, [r8 + 0x5494]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x548c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x52b0], 1
movss xmm0, dword [rbx + 0x52b4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14004b6ee
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x52b4], xmm0
jb 0x14004b6ee
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14004b6e1
mov rax, qword [0x1400e23e8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x52b4], ebp
call fcn.14004ba00
lea rdx, [0x1400c78a4]
mov rcx, rdi
mov rsi, rax
call fcn.14002ed90
mov rdi, rax
test rax, rax
je 0x14004b6e8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14004b6e8
mov byte [rbx + 0xb4], 1
mov dword [rbx + 0x52b4], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14004b710
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400e23e8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14004b773
mov qword [rsp], rbx
lea rbx, [0x1400c1920]
nop dword [rax]
cmp r9b, 0x23
jne 0x14004b753
cmp byte [r8], r9b
jne 0x14004b753
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 0x14004b740
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x52c8]
not eax
mov r8, qword [r10 + 0x52d0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14004b79f
cmp dword [r8 + 8], eax
je 0x14004b7a6
add r8, 0x48
cmp r8, rcx
jne 0x14004b790
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140063580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
mov rax, qword [0x1400e23e8]
xor r11d, r11d
mov rbx, qword [rax + 0x4ec8]
mov eax, dword [rbx + 4]
bt eax, 0x18
jae 0x1400635a8
mov ecx, dword [rbx + 0x6c]
test ecx, ecx
cmovg cx, r11w
jmp 0x1400635ac
movzx ecx, r11w
mov r8, qword [rbx + 0x188]
xorps xmm1, xmm1
mov word [rbx + 0x22a], cx
movss xmm0, dword [r8 + 0x98]
ucomiss xmm0, xmm1
jp 0x1400635d1
movzx edx, r11w
je 0x1400635d4
movzx edx, cx
shr eax, 0x19
and ax, 1
mov word [rbx + 0x22c], dx
mov word [rbx + 0x226], ax
movss xmm0, dword [r8 + 0x9c]
ucomiss xmm0, xmm1
jp 0x1400635fd
jne 0x1400635fd
movzx eax, r11w
mov word [rbx + 0x228], ax
xor al, 1
mov byte [rbx + 0x242], al
cmp r11w, cx
jge 0x1400636aa
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rdi, r11
nop dword [rax]
nop word [rax + rax]
mov rsi, qword [rbx + 0x28]
movsx r8, word [rdi + rsi]
mov rdx, r8
cmp r8d, r11d
je 0x14006368a
movsx eax, cx
cmp edx, eax
jl 0x14006368a
movsx rax, word [rsi + rdx*2]
mov r10, rdx
mov r9, qword [rbx + 0x18]
imul r8, r8, 0x74
imul rdx, rax, 0x74
movzx eax, word [r8 + r9 + 0x56]
movzx ecx, word [rdx + r9 + 0x56]
mov word [rdx + r9 + 0x56], ax
mov word [r8 + r9 + 0x56], cx
mov rdx, qword [rbx + 0x28]
movzx eax, word [rdi + rdx]
movzx ecx, word [rdx + r10*2]
mov word [rdx + r10*2], ax
mov word [rdi + rdx], cx
movsx eax, word [rbx + 0x22a]
inc r11d
add rdi, 2
movzx ecx, ax
cmp r11d, eax
jl 0x140063630
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x140064110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x1400e23e8]
mov r10, rcx
mov r9, qword [rcx + 0x188]
movsxd rax, edx
imul rbx, rax, 0x74
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x74], edx
test dword [rbx], 0x10000
movss xmm2, dword [rbx + 0x38]
je 0x140064153
addss xmm2, dword [rcx + 0x90]
movaps xmm0, xmm2
lea rsi, [r9 + 0x118]
subss xmm0, dword [r9 + 0x28]
movss dword [rsi], xmm2
movss xmm1, dword [rcx + 0x88]
addss xmm1, dword [rcx + 0x7c]
movss dword [r9 + 0x130], xmm2
subss xmm0, dword [r9 + 0x15c]
movss dword [r9 + 0x120], xmm2
movss dword [r9 + 0x11c], xmm1
movss dword [r9 + 0x160], xmm0
mov eax, dword [rcx + 0x8c]
mov dword [r9 + 0x150], eax
movsx eax, byte [rbx + 0x6e]
mov dword [r9 + 0x170], eax
movss dword [r9 + 0x234], xmm1
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x230], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x238], eax
mov eax, dword [rbx + 0x40]
mov dword [r9 + 0x1d8], eax
movzx eax, byte [rbx + 0x6c]
mov byte [r9 + 0xcf], al
cmp byte [rbx + 0x6c], 0
je 0x1400641ff
xor eax, eax
mov dword [rdi + 0x4a78], eax
mov dword [rdi + 0x4a80], eax
test dword [rcx + 4], 0x100000
je 0x140064210
mov r8d, 2
jmp 0x14006428a
movups xmm0, xmmword [rbx + 0x24]
mov rax, qword [r9 + 0x2b0]
movss xmm4, dword [rbx + 0x24]
movss xmm3, dword [rbx + 0x28]
movss xmm2, dword [rbx + 0x2c]
movss xmm1, dword [rbx + 0x30]
movups xmmword [r9 + 0x250], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x60], xmm4
movss dword [rax + 0x64], xmm3
movss dword [rax + 0x68], xmm2
movss dword [rax + 0x6c], xmm1
mov rax, qword [r9 + 0x2b0]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x98]
mov rcx, qword [rax + 0xa0]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, word [rbx + 0x60]
mov rdx, qword [r9 + 0x2b0]
mov rcx, qword [r10 + 0x1a0]
call fcn.14005a480
cmp byte [rdi + 0x5360], 0
je 0x1400642c8
cmp byte [rbx + 0x6c], 0
jne 0x1400642c8
xor r8d, r8d
lea rdx, [0x1400c7c0c]
mov rcx, rsi
call fcn.14004b2c0
mov dword [rdi + 0x5390], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140066be0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x1400e23e8]
mov rdx, qword [rax + 0x4ec8]
cmp ecx, 0xffffffff
jne 0x140066bfa
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x140066c79
mov r10d, dword [rdx]
lea r8, [0x1400c7c11]
movzx eax, word [rdx + 0x78]
lea r11, [0x1400c1920]
not r10d
mov word [rdx + 0x224], cx
mov ecx, r10d
mov byte [rdx + 0x23b], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140066c53
cmp byte [r8], r9b
jne 0x140066c53
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 0x140066c40
not ecx
xor edx, edx
jmp fcn.1400452c0
ret