joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000df50
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18000dcec
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x18000dc7a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x18000df50
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x18000dcba
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.1800f1d64
mov rcx, rbx
test rbx, rbx
jne 0x18000dca0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.18000ffd0
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x18000e054
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1800f1d64
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x18000e060
cmp rbx, rbp
jne 0x18000e000
cmp qword [rsp + 0x20], r14
jne 0x18000e02d
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x18000e06f
mov qword [r15], r12
mov rax, r12
jmp 0x18000e072
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x18000e02d
nop dword [rax + rax]
movzx r15d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r15, rax
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x12]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x13]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1800f1d64
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x18000e0f8
cmp rbx, rbp
jne 0x18000e0d2
jmp 0x18000e02a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x18000e080
jmp 0x18000e02d
Function at 0x180016d50
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 0x180016e15
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x180016e15
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 0x180016e2e
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 0x180016e05
cmp byte [rcx], 0x5c
jne 0x180016dfe
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x180016dfe
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180016dec
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180016dfb
test r8b, 0x10
jne 0x180016dfe
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x180016dfe
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180013300
test edi, edi
jne 0x180016d70
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.1800132f0
int3
Function at 0x180029970
Capabilities:
Encrypt data using rc4 prga

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
sub rsp, 0x20
xor r14d, r14d
mov r12d, r8d
mov esi, r14d
mov r11, rdx
mov rdi, rcx
mov r15d, r14d
cmp byte [rdx + 0xa], sil
jge 0x1800299d6
mov edx, dword [rdx + 0xc]
lea eax, [rdx - 1]
test edx, eax
je 0x1800299d6
mov eax, edx
shr eax, 1
or edx, eax
mov eax, edx
shr eax, 2
or edx, eax
mov eax, edx
shr eax, 4
or edx, eax
mov eax, edx
shr eax, 8
or edx, eax
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
jmp 0x1800299da
mov eax, dword [r11 + 0xc]
movzx ecx, byte [r11 + 0xb]
mov ebp, 1
shl ebp, cl
test eax, eax
je 0x180029a1d
mov r10, r14
mov ebx, eax
nop
mov rax, qword [r11 + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x180029a13
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x180029a13
mov rcx, rdi
mov esi, 1
call fcn.180029860
add r10, 0x10
sub rbx, 1
jne 0x1800299f0
mov ebx, r14d
test ebp, ebp
je 0x180029ab7
nop dword [rax + rax]
mov rdx, qword [r11 + 0x18]
test r12d, r12d
je 0x180029a41
mov eax, ebp
sub eax, ebx
dec eax
jmp 0x180029a43
mov eax, ebx
lea rcx, [rax + rax*2]
movzx eax, byte [rdx + rcx*8 + 9]
lea r10, [rdx + rcx*8]
and al, 0x40
test byte [r10 + 8], 0xf
jne 0x180029a64
test al, al
je 0x180029aad
mov byte [r10 + 9], 0xb
jmp 0x180029aad
test al, al
je 0x180029a8c
mov rdx, qword [r10 + 0x10]
test rdx, rdx
je 0x180029a8c
movzx eax, byte [rdx + 8]
movzx ecx, byte [rdx + 9]
and al, 0xf
cmp al, 4
jne 0x180029ad9
test cl, 0x18
je 0x180029a8c
mov rcx, rdi
call fcn.180029860
movzx eax, byte [r10 + 8]
and al, 0x40
test al, al
je 0x180029aad
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x180029aad
mov rcx, rdi
mov esi, 1
call fcn.180029860
inc ebx
cmp ebx, ebp
jb 0x180029a30
cmp byte [rdi + 0x65], 0
jne 0x180029afd
mov rcx, qword [rdi + 0x90]
mov qword [r11 + 0x30], rcx
mov qword [rdi + 0x90], r11
and byte [r11 + 9], 0xc7
jmp 0x180029b74
movzx eax, byte [r10 + 8]
and al, 0x40
test cl, 0x18
je 0x180029a93
mov r14d, 1
test al, al
je 0x180029aad
mov rax, qword [r10]
test byte [rax + 9], 0x18
je 0x180029aad
mov r15d, r14d
jmp 0x180029aad
test r15d, r15d
je 0x180029b1b
mov rax, qword [rdi + 0xa0]
mov qword [r11 + 0x30], rax
mov qword [rdi + 0xa0], r11
and byte [r11 + 9], 0xc7
jmp 0x180029b74
test r14d, r14d
je 0x180029b39
mov rax, qword [rdi + 0xa8]
mov qword [r11 + 0x30], rax
mov qword [rdi + 0xa8], r11
and byte [r11 + 9], 0xc7
jmp 0x180029b74
movzx eax, byte [r11 + 9]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x180029b69
mov rcx, r11
call fcn.180029710
mov rcx, qword [rdi + 0x90]
mov qword [rax], rcx
mov qword [rdi + 0x90], r11
and byte [r11 + 9], 0xc7
jmp 0x180029b74
cmp cl, 6
jne 0x180029b74
xor al, 2
mov byte [r11 + 9], al
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180029ba0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x20
mov eax, 1
mov qword [rsp + 0x38], rsi
mov r11, rcx
mov rdi, rdx
movzx ecx, byte [rdx + 0xb]
shl eax, cl
cmp byte [rdx + 0xa], 0
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rsi, [rax + r8*8]
jge 0x180029c00
mov ecx, dword [rdx + 0xc]
lea eax, [rcx - 1]
test ecx, eax
je 0x180029c00
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
jmp 0x180029c03
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x180029c3e
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov ebx, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x180029c2f
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x180029c2f
mov rcx, r11
call fcn.180029860
add r10, 0x10
sub rbx, 1
jne 0x180029c11
mov rbx, qword [rsp + 0x30]
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x180029ca0
nop word [rax + rax]
movzx eax, byte [r10 + 9]
and al, 0x40
test byte [r10 + 8], 0xf
jne 0x180029c69
test al, al
je 0x180029c97
mov byte [r10 + 9], 0xb
jmp 0x180029c97
test al, al
je 0x180029c7f
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x180029c7f
mov rcx, r11
call fcn.180029860
test byte [r10 + 8], 0x40
je 0x180029c97
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x180029c97
mov rcx, r11
call fcn.180029860
add r10, 0x18
cmp r10, rsi
jb 0x180029c50
movzx eax, byte [rdi + 9]
mov rsi, qword [rsp + 0x38]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x180029cd7
mov rcx, rdi
call fcn.180029710
mov rcx, qword [r11 + 0x90]
mov qword [rax], rcx
mov qword [r11 + 0x90], rdi
and byte [rdi + 9], 0xc7
add rsp, 0x20
pop rdi
ret
cmp cl, 6
jne 0x180029ce1
xor al, 2
mov byte [rdi + 9], al
add rsp, 0x20
pop rdi
ret
Function at 0x180034f90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x38
mov qword [rsp + 0x80], rbx
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rdx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor esi, esi
lea r11, [0x18011fc10]
xorps xmm1, xmm1
mov r10d, esi
mov r14d, esi
mov r9d, esi
mov r8, qword [rax]
mov edi, esi
movsx r15d, byte [r8]
mov qword [r13], rbx
movzx eax, byte [rbx]
test byte [rax + r11 + 1], 8
je 0x180034fff
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r11 + 1], 8
jne 0x180034ff0
mov qword [rsp + 0x30], r12
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x180035016
mov r12d, ebp
jmp 0x180035020
cmp byte [rbx], 0x2b
mov r12d, esi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x80]
jne 0x180035179
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x180035179
movsd xmm2, qword [0x180197e90]
lea r13, [0x18011fc10]
add rdx, 2
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rdx]
mov r11, rdx
movsx rcx, r8b
cmp ecx, r15d
jne 0x18003507b
test edi, edi
jne 0x1800350d0
mov edi, ebp
inc rdx
jmp 0x180035060
test byte [r8 + r13 + 1], 0x10
je 0x1800350d0
test r10d, r10d
jne 0x180035093
cmp r8b, 0x30
jne 0x180035093
inc r14d
jmp 0x1800350c4
inc r10d
cmp r10d, 0x1e
jg 0x1800350c1
test byte [rcx + r13 + 1], 2
je 0x1800350a9
add ecx, 0xffffffd0
jmp 0x1800350af
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1800350c4
inc r9d
test edi, edi
je 0x1800350cb
dec r9d
inc rdx
jmp 0x180035060
mov r13, qword [rsp + 0x20]
lea eax, [r14 + r10]
test eax, eax
je 0x180035179
mov qword [r13], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x18003515f
movzx eax, byte [rdx + 1]
inc rdx
cmp al, 0x2d
jne 0x180035107
lea rdx, [r11 + 2]
jmp 0x180035111
cmp al, 0x2b
jne 0x18003510f
lea rdx, [r11 + 2]
mov ebp, esi
movzx r8d, byte [rdx]
lea r11, [0x18011fc10]
test byte [r8 + r11 + 1], 2
je 0x180035179
nop dword [rax]
nop dword [rax + rax]
movsx eax, r8b
lea esi, [rsi + rsi*4]
inc rdx
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
movzx eax, byte [rdx]
movzx r8d, al
test byte [rax + r11 + 1], 2
jne 0x180035130
mov eax, esi
mov qword [r13], rdx
neg eax
test ebp, ebp
cmove eax, esi
add r9d, eax
test r12d, r12d
je 0x18003516b
xorps xmm1, xmmword [0x1801984a0]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x18003517c
xorps xmm0, xmm0
mov r12, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x18003e3c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
cmp r8, 0x28
ja 0x18003e3e7
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.18003e210
movabs rax, 0x7fffffffffffffdf
cmp rbp, rax
jae 0x18003e474
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 0x19]
mov qword [rsp + 0x38], rsi
mov r8d, 4
mov qword [rsp + 0x40], rdi
mov rdi, qword [rcx + 0x18]
mov ebx, dword [rdi + 0x60]
call fcn.180032640
movzx ecx, byte [rdi + 0x64]
mov r8, rbp
and cl, 0x18
mov rdx, r14
mov rsi, rax
mov byte [rax + 9], cl
mov byte [rax + 8], 0x14
mov rcx, qword [rdi + 0x70]
mov qword [rax], rcx
lea rcx, [rax + 0x18]
mov qword [rdi + 0x70], rax
mov dword [rax + 0xc], ebx
mov byte [rax + 0xa], 0
mov byte [rax + rbp + 0x18], 0
mov qword [rax + 0x10], rbp
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.180032510
int3
Function at 0x180066d20
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180066d4e
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180066bf0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x18007f700
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 0x18007f75d
lea rbx, [0x180156a10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18007f744
cmp r10, 2
jb 0x18007f744
cmp byte [r9], r8b
jne 0x18007f744
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 0x18007f720
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18007f79f
lea rbx, [0x180156a10]
cmp r8b, 0x23
jne 0x18007f783
cmp byte [r9], r8b
jne 0x18007f783
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 0x18007f770
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18007f8e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18007f8fa
mov qword [r8], 0
lea rdx, [0x18011f8a4]
call fcn.18007f7b0
mov rbx, rax
test rax, rax
jne 0x18007f91a
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 0x18007f9f3
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 0x18007f9f3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18007f9f3
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 0x18007f9f3
cmp rdi, 0xffffffffffffffff
je 0x18007f9f3
mov rax, qword [0x1801f1d70]
test rax, rax
je 0x18007f990
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18007f9f3
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 0x18007f9e0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1801f1d70]
test rax, rax
je 0x18007f9d5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18007f9fc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18007f9ee
mov qword [r14], rdi
mov rax, rsi
jmp 0x18007f9fe
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 0x180082220
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x180156a10]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1801f1d70]
not ebx
cmp dword [rcx + 0x3f00], ebx
jne 0x1800822b5
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180095030
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180085f00
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180085f50
lea r11, [0x180156a10]
nop dword [rax]
cmp r9b, 0x23
jne 0x180085f33
cmp byte [r8], r9b
jne 0x180085f33
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 0x180085f20
mov rcx, qword [0x1801f1d70]
not eax
movsxd rdx, dword [rcx + 0x3e98]
mov r9, qword [rcx + 0x3ea0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180085fb1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180085fa9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180085fac
mov rdx, r8
test rdx, rdx
jne 0x180085f80
cmp r9, r10
je 0x180085fc0
cmp dword [r9], eax
jne 0x180085fc0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180093930
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 + 0x5c30], 0
lea rbx, [rcx + 0x5c38]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800939d7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18009398a
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.180095b40
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18007fe00
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c30]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c40]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1801f1d68]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800939df
mov rcx, rbx
call fcn.18007fe00
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180093e60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1801f1d70]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180093ec3
mov qword [rsp], rbx
lea rbx, [0x180156a10]
nop dword [rax]
cmp r9b, 0x23
jne 0x180093ea3
cmp byte [r8], r9b
jne 0x180093ea3
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 0x180093e90
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5ba8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180093ef7
mov r10, qword [r10 + 0x5bb0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180093efe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180093ee4
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 0x1800b00e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1801b65c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x1800b012f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1801f28d0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800b016d
cmp rsi, r14
jb 0x1800b0165
cmp rsi, r15
jae 0x1800b0165
cmp qword [rsi + 8], 0
jne 0x1800b0337
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800b0150
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800b0202
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800b01f9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800b01f9
cmp dword [rsp + 0x40], 0x10000
je 0x1800b027b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800b01f9
sub rbx, rbp
cmp rbx, r14
jae 0x1800b01c0
test rsi, rsi
jne 0x1800b02e0
cmp rdi, r15
ja 0x1800b031f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800b031f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800b031f
cmp dword [rsp + 0x40], 0x10000
je 0x1800b02b1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800b0232
jmp 0x1800b031f
test rbx, rbx
je 0x1800b01f9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800b02e0
cmp rbx, r14
jae 0x1800b01a0
jmp 0x1800b0202
test rdi, rdi
je 0x1800b031f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800b02e0
cmp rdi, r15
jbe 0x1800b0210
jmp 0x1800b031f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800b02f0
mov rax, qword [0x1801f28d0]
mov qword [rsi], rax
mov qword [0x1801f28d0], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800f15d0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret