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

Disassembly:
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
movaps xmm7, xmm1
movaps xmm6, xmm0
mov ecx, dword [0x18021f80c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180258aec], ecx
jle 0x180070556
lea rcx, [0x180258aec]
call fcn.180150418
cmp dword [0x180258aec], 0xffffffff
jne 0x180070556
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [0x1802578a4], 0xffffffff
mov dword [0x180256524], eax
mov r8d, 1
lea rcx, [0x180256524]
nop dword [rax]
nop word [rax + rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rcx + r8*4], eax
inc r8
cmp r8, 0x270
jb 0x180070520
mov dword [0x180256520], 0x270
lea rcx, [0x180258aec]
call fcn.1801503ac
cvtss2sd xmm6, xmm6
xorps xmm3, xmm3
cvtss2sd xmm3, xmm7
xorps xmm4, xmm4
xorps xmm2, xmm2
movsd xmm1, qword [0x18019b6c8]
mov ebx, 2
movsd xmm5, qword [0x18019b858]
nop dword [rax]
call fcn.1800a2e10
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm4
mulsd xmm0, xmm1
addsd xmm2, xmm0
mulsd xmm1, xmm5
sub rbx, 1
jne 0x180070580
subsd xmm3, xmm6
divsd xmm2, xmm1
mulsd xmm3, xmm2
addsd xmm3, xmm6
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm3
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbx
ret

Function at 0x180073320
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x18021fa9d], 0
mov rdi, rdx
mov rbx, rcx
je 0x18007336c
mov ecx, dword [0x18021faa8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18007336c
cmp qword [0x18021fb68], rdi
jne 0x18007336c
mov dword [rbx], 0x3f800000
mov dword [rbx + 4], 0x3dcccccd
mov dword [rbx + 8], 0x3dcccccd
jmp 0x18007341a
mov edx, 0x10
mov rcx, rdi
call fcn.180054110
test al, al
je 0x180073397
movss xmm2, dword [0x1802070d8]
movss xmm1, dword [0x1802070d4]
movss xmm0, dword [0x1802070d0]
jmp 0x18007340c
mov rcx, rdi
call fcn.180053540
mov rcx, qword [rax]
call fcn.1800521f0
test al, al
jne 0x1800733f4
mov rcx, rdi
call fcn.180054850
test al, al
je 0x1800733da
cmp byte [0x18021face], 0
je 0x1800733da
movss xmm2, dword [0x180207138]
movss xmm1, dword [0x180207134]
movss xmm0, dword [0x180207130]
jmp 0x18007340c
movss xmm2, dword [0x180207148]
movss xmm1, dword [0x180207144]
movss xmm0, dword [0x180207140]
jmp 0x18007340c
movss xmm2, dword [0x180207118]
movss xmm1, dword [0x180207114]
movss xmm0, dword [0x180207110]
movss dword [rbx + 8], xmm2
movss dword [rbx + 4], xmm1
movss dword [rbx], xmm0
mov dword [rbx + 0xc], 0x3f800000
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18007b6f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbp
push rdi
sub rsp, 0x70
movaps xmmword [rax - 0x28], xmm7
mov rbp, rdx
mov qword [rax + 8], rbx
movaps xmm7, xmm2
mov qword [rax + 0x10], rsi
mov rdi, rcx
mov rax, qword [rcx]
mov dword [rax], 0x7f7fffff
mov dword [rax + 4], 0x800000
mov dword [rax + 8], 0x7f7fffff
mov dword [rax + 0xc], 0x800000
mov rbx, qword [rcx + 8]
lea rsi, [rbx + 0x280]
cmp rbx, rsi
je 0x18007b837
movaps xmmword [rsp + 0x60], xmm6
add rbx, 0x14
movss xmm6, dword [0x18019b5dc]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
movsx edx, byte [rbx - 8]
mov rcx, qword [rax]
call fcn.180053ea0
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180049bb0
cmp byte [rbx - 8], 0x30
movsd xmm0, qword [rax]
movsd qword [rbx - 4], xmm0
mov eax, dword [rax + 8]
mov dword [rbx + 4], eax
jne 0x18007b79e
movss xmm0, dword [rbx]
addss xmm0, xmm6
movss dword [rbx], xmm0
movsd xmm0, qword [rbx - 4]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x3c]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
call fcn.18006f190
movsd xmm0, qword [rax]
movsd qword [rbx - 0x14], xmm0
mov eax, dword [rax + 8]
mov dword [rbx - 0xc], eax
mov rax, qword [rdi]
movss xmm1, dword [rbx - 0x14]
movss xmm0, dword [rax]
comiss xmm0, xmm1
jbe 0x18007b7e0
movss dword [rax], xmm1
mov rax, qword [rdi]
movss xmm0, dword [rbx - 0x14]
comiss xmm0, dword [rax + 4]
jbe 0x18007b7f3
movss dword [rax + 4], xmm0
mov rax, qword [rdi]
movss xmm1, dword [rbx - 0x10]
movss xmm0, dword [rax + 8]
comiss xmm0, xmm1
jbe 0x18007b80a
movss dword [rax + 8], xmm1
mov rax, qword [rdi]
movss xmm0, dword [rbx - 0x10]
comiss xmm0, dword [rax + 0xc]
jbe 0x18007b81d
movss dword [rax + 0xc], xmm0
mov byte [rbx - 7], 1
add rbx, 0x20
lea rax, [rbx - 0x14]
cmp rax, rsi
jne 0x18007b760
movaps xmm6, xmmword [rsp + 0x60]
mov rax, qword [rdi]
movss xmm2, dword [0x18019b9e8]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
movss xmm1, dword [rax]
ucomiss xmm1, xmm2
jp 0x18007b85d
je 0x18007b889
movss xmm0, dword [rax + 4]
movss xmm3, dword [0x18019b558]
ucomiss xmm0, xmm3
jp 0x18007b871
je 0x18007b889
movss xmm0, dword [rax + 8]
ucomiss xmm0, xmm2
jp 0x18007b87d
je 0x18007b889
movss xmm0, dword [rax + 0xc]
ucomiss xmm0, xmm3
jp 0x18007b89e
jne 0x18007b89e
xor al, al
mov rbp, qword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop rdi
ret
movaps xmm0, xmm7
subss xmm1, xmm7
movss dword [rax], xmm1
mov rax, qword [rdi]
addss xmm0, dword [rax + 4]
movss dword [rax + 4], xmm0
mov rax, qword [rdi]
movss xmm0, dword [rax + 8]
subss xmm0, xmm7
movss dword [rax + 8], xmm0
mov rax, qword [rdi]
addss xmm7, dword [rax + 0xc]
movss dword [rax + 0xc], xmm7
mov rax, qword [rdi]
movaps xmm7, xmmword [rsp + 0x50]
movups xmm0, xmmword [rax]
mov al, 1
movups xmmword [rbp], xmm0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x18009ca30
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18009ca8f
mov qword [rsp + 0x28], 0
lea r8, [0x18009c830]
xor r9d, r9d
mov dword [rsp + 0x20], 0x40
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r9, rbx
mov qword [rsp + 0x28], 0
lea r8, [0x180019e20]
mov qword [0x18021fb90], rax
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x18009db10
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18009db38
add rsp, 0x20
pop r15
pop rdi
pop rbx
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 + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18009db5e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18009db60
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18009dbb9
test ecx, ecx
jle 0x18009db99
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18009dbb9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18009dbb9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x18009dbe0
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 0x18009dc02
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18009dc18
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 0x18009dc34
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18009dc36
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18009dc72
mov qword [rsp + 0x20], rdi
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]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18009dd0e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18009dcad
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18009dcee
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]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18009dd0e
cmp rbx, rax
ja 0x18009dcc0
test rbx, rbx
je 0x18009dd0e
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]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x18009e140
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1801b5040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18009e16d
xor eax, eax
jmp 0x18009e2d9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18009e1a7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18009e1a7
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 0x18009e2d9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18009e2cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18009e1ea
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 0x18009e215
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 0x18009e2d1
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 0x18009e284
sub eax, 1
je 0x18009e284
cmp eax, 2
jne 0x18009e2cc
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 0x18009e2d1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18009e2b2
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 0x18009e2cc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18009e2d1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180150350
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18009f4e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1801b5040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18009f5b3
cmp byte [rcx + 0x71], 0
je 0x18009f5b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18009f5af
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 0x18009f574
sub eax, 1
je 0x18009f578
cmp eax, 2
jne 0x18009f5af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180150350
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18009f5a6
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 0x18009f5af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18009f55c
xor al, al
jmp 0x18009f55c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180150350
add rsp, 0x60
pop rbx
ret
Function at 0x1800a2e10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r8d, dword [0x180256520]
lea r11, [0x180256520]
mov r9d, 0x270
cmp r8d, r9d
jne 0x1800a2e75
lea r8, [0x180256528]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1800a2e30
mov r8d, dword [0x180256520]
jmp 0x1800a2f4f
cmp r8d, 0x4e0
jb 0x1800a2f4f
xor r8d, r8d
mov r9d, 0x38c
mov r10d, r8d
nop
mov eax, dword [r10 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r10 + r11 + 0x9c8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + r11 + 0xff8]
xor ecx, edx
mov dword [r10 + r11 + 4], ecx
add r10, 4
cmp r10, r9
jb 0x1800a2e90
mov eax, dword [r9 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r9 + r11 + 0x9c8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + r11 - 0x388]
xor ecx, edx
mov dword [r9 + r11 + 4], ecx
add r9, 4
cmp r9, 0x9bc
jb 0x1800a2ed0
mov edx, dword [0x180256524]
xor edx, dword [0x1802578a0]
btr edx, 0x1f
mov dword [0x180256520], r8d
xor edx, dword [0x1802578a0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [0x180256b54]
mov dword [0x180256ee0], ecx
mov eax, r8d
inc r8d
mov ecx, dword [r11 + rax*4 + 4]
mov eax, ecx
shr eax, 0xb
and eax, dword [0x1802578a4]
xor ecx, eax
mov dword [0x180256520], r8d
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x1800a5290
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 0x1800a52ed
lea rbx, [0x180193580]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800a52d4
cmp r10, 2
jb 0x1800a52d4
cmp byte [r9], r8b
jne 0x1800a52d4
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 0x1800a52b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800a532f
lea rbx, [0x180193580]
cmp r8b, 0x23
jne 0x1800a5313
cmp byte [r9], r8b
jne 0x1800a5313
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 0x1800a5300
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1800a5430
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800a544a
mov qword [r8], 0
lea rdx, [0x18019a880]
call fcn.1800a5340
mov rbx, rax
test rax, rax
jne 0x1800a546a
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 0x1800a5541
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800a5541
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800a5541
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 0x1800a5541
cmp rdi, 0xffffffffffffffff
je 0x1800a5541
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov rax, qword [0x18021fba8]
test rax, rax
je 0x1800a54ea
inc dword [rax + 0xf0]
test rsi, rsi
je 0x1800a5541
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1800a552e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18021fba8]
test rax, rax
je 0x1800a5523
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800a554a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800a553c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800a554c
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 0x1800a82b0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x180193580]
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 0x1800a8346
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.1800bcae0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1800a8350
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x180193580]
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 0x1800abbd0
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 [0x18021fba8]
mov r14d, edx
mov r12d, dword [rsp + 0x90]
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3f08]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1b0], 0
jne 0x1800abc2b
cmp qword [rdi + 0x4bd8], 0
mov eax, 0x258
je 0x1800abc30
mov eax, 0x228
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
xor r15d, r15d
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x1800abc75
lea eax, [r15 + 1]
je 0x1800abc78
mov eax, r15d
ucomiss xmm0, xmm3
jp 0x1800abc85
jne 0x1800abc85
mov r15d, 2
movss xmm2, dword [0x18019b770]
or r15d, eax
comiss xmm3, xmm1
jb 0x1800abca1
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x1800abca1
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x1800abcb2
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x1800abcb2
movaps xmm0, xmm2
or dword [rdi + 0x47f0], 2
xor edx, edx
movss dword [rdi + 0x4810], xmm1
movss dword [rdi + 0x4814], xmm0
mov dword [rdi + 0x47f8], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x1800abcfb
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.1800a5120
jmp 0x1800abd11
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.1800a5120
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
movss xmm6, dword [rdi + 0x37f8]
xor edx, edx
call fcn.1800af410
mov rsi, qword [rdi + 0x3f08]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x1800abd5f
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x180199d61]
not r9d
lea r10, [0x180193580]
mov ebx, r9d
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x1800abd93
cmp byte [rdx], r8b
jne 0x1800abd93
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 0x1800abd80
not ebx
cmp dword [rdi + 0x3f68], ebx
jne 0x1800abdc3
xor edx, edx
xor ecx, ecx
call fcn.1800a8510
cmp dword [rdi + 0x4918], r14d
jne 0x1800abe10
bt r12d, 0x17
jb 0x1800abe10
cmp word [rsi + 0x15c], 0
jne 0x1800abde6
cmp byte [rsi + 0x162], 0
je 0x1800abe10
xor edx, edx
mov rcx, rsi
call fcn.1800b1830
xor edx, edx
mov rcx, rsi
call fcn.1800b7d70
mov rdx, rsi
mov ecx, ebx
call fcn.1800a8510
mov eax, dword [rdi + 0x4940]
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