joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180007840
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
mov edx, 0x18
mov r8d, 0xf0000000
lea rcx, [rsp + 0x50]
mov rdi, r9
call fcn.180007560
lea rcx, [rsp + 0x50]
call fcn.180007690
test rax, rax
jne 0x18000788b
xor bl, bl
jmp 0x18000791d
lea rcx, [rsp + 0x48]
call fcn.1800075b0
mov r9d, dword [rbx + 8]
lea rdx, [rsp + 0x50]
mov r8, qword [rbx]
lea rcx, [rsp + 0x48]
call fcn.180007f10
test eax, eax
jne 0x180007911
lea edx, [rax + 1]
lea rcx, [rsp + 0x48]
call fcn.180008100
test eax, eax
jne 0x180007911
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x48]
call fcn.1800080b0
test eax, eax
jne 0x180007911
lea rcx, [rsp + 0x48]
call fcn.180007680
test rax, rax
je 0x180007911
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x40], edi
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
cmp eax, 1
sete bl
jmp 0x180007913
xor bl, bl
lea rcx, [rsp + 0x48]
call fcn.180007650
lea rcx, [rsp + 0x50]
call fcn.1800075d0
mov rbp, qword [rsp + 0x78]
movzx eax, bl
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x180007950
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbp, r8
mov rbx, rdx
xor r8d, r8d
mov rdi, rcx
lea rcx, [rsp + 0x50]
mov rsi, r9
lea edx, [r8 + 1]
call fcn.180007560
lea rcx, [rsp + 0x50]
call fcn.180007690
test rax, rax
jne 0x18000799d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x180007a5a
lea rcx, [rsp + 0x48]
call fcn.1800075b0
mov r9d, dword [rdi + 8]
lea rdx, [rsp + 0x50]
mov r8, qword [rdi]
lea rcx, [rsp + 0x48]
call fcn.180007fe0
lea rcx, [rsp + 0x48]
call fcn.180007680
test rax, rax
je 0x1800079f9
xor r9d, r9d
mov dword [rsp + 0x30], ebp
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x28], rcx
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x180007a03
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x180007a50
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
dec eax
movsxd r8, eax
test eax, eax
jle 0x180007a4e
mov r9, rbx
mov rax, rbx
neg r9
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rbx]
movzx edx, byte [rax]
mov byte [rax], cl
lea rax, [rax + 1]
mov byte [r8 + rbx], dl
lea rcx, [r9 + rax]
dec r8
cmp rcx, r8
jl 0x180007a30
mov bl, 1
lea rcx, [rsp + 0x48]
call fcn.180007650
lea rcx, [rsp + 0x50]
call fcn.1800075d0
mov rbp, qword [rsp + 0x78]
movzx eax, bl
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x180007a80
Capabilities:
Decode data using base64 via winapi

Disassembly:
jmp 0x180007a80
sub rsp, 0x48
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, r8
lea r8d, [rax + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
xor eax, eax
add rsp, 0x48
ret

Function at 0x180007ab0
Capabilities:
Encode data using base64 via winapi

Disassembly:
jmp 0x180007ab0
sub rsp, 0x38
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8d, 1
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
xor eax, eax
add rsp, 0x38
ret

Function at 0x180007ad0
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov edx, 0x18
mov r8d, 0xf0000000
lea rcx, [rsp + 0x38]
mov ebp, r9d
call fcn.180007560
lea rcx, [rsp + 0x38]
call fcn.180007690
test rax, rax
je 0x180007b98
lea rcx, [rsp + 0x38]
call fcn.180007690
mov rcx, rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x180007b92
mov rcx, qword [rsi]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x180007b92
mov eax, dword [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0x80]
mov r8d, eax
mov dword [rsp + 0x30], eax
call sub.msvcrt.dll_memset
mov r8, qword [rsp + 0x80]
lea r9, [rsp + 0x30]
mov rcx, qword [rsi]
xor edi, edi
mov dword [rsp + 0x20], edi
lea edx, [rdi + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x180007b9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
or edi, 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.1800075d0
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x180007c50
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov edx, 0x18
mov r8d, 0xf0000000
lea rcx, [rsp + 0x40]
mov rbp, r9
call fcn.180007560
lea rcx, [rsp + 0x40]
call fcn.180007690
test rax, rax
jne 0x180007c9f
or ebx, 0xffffffff
jmp 0x180007dc4
lea rcx, [rsp + 0x38]
call fcn.1800075b0
mov r9d, ebx
lea rdx, [rsp + 0x40]
mov r8, rsi
lea rcx, [rsp + 0x38]
call fcn.180007f10
test eax, eax
je 0x180007cca
or ebx, 0xffffffff
jmp 0x180007dba
lea rcx, [rsp + 0x38]
call fcn.180007680
lea rcx, [rsp + 0x40]
mov rbx, rax
call fcn.180007690
mov rcx, rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, rbx
mov edx, 0x8009
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x180007db2
mov rcx, qword [rdi]
lea r8, [rsp + 0x50]
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea edx, [r9 + 5]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x50], eax
call qword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
je 0x180007db2
mov r8d, dword [rsp + 0xb0]
xor r9d, r9d
mov rcx, qword [rdi]
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x180007db2
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
xor ebx, ebx
xor r8d, r8d
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x180007db2
mov r9, qword [rsp + 0xc8]
mov eax, dword [r9]
cmp dword [rsp + 0x30], eax
je 0x180007d94
or ebx, 0xffffffff
jmp 0x180007dba
mov r8, qword [rsp + 0xc0]
mov edx, 2
mov rcx, qword [rdi]
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x180007dba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.180007650
lea rcx, [rsp + 0x40]
call fcn.1800075d0
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x180007ea0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, r8d
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov rdi, rdx
lea edx, [r8 + 1]
call fcn.180007560
lea rcx, [rsp + 0x20]
call fcn.180007690
test rax, rax
je 0x180007ee6
mov r8, rdi
mov edx, ebx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x180007ee6
xor ebx, ebx
jmp 0x180007ee9
or ebx, 0xffffffff
lea rcx, [rsp + 0x20]
call fcn.1800075d0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180007f00
Capabilities:
Generate random numbers via winapi

Disassembly:
mov r8d, 4
jmp fcn.180007ea0
Function at 0x180007f10
Capabilities:
Encrypt data using aes via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rbp, rcx
mov edi, r9d
mov rcx, rdx
mov rsi, r8
mov rbx, rdx
call fcn.180007690
test rax, rax
je 0x180007fc2
xor eax, eax
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x3c]
mov qword [rsp + 0x38], rax
mov r8d, edi
mov rdx, rsi
mov dword [rsp + 0x30], 0x208
mov dword [rsp + 0x34], 0x660e
xor r14d, r14d
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call fcn.180007690
mov rcx, rax
mov qword [rsp + 0x28], rbp
xor r9d, r9d
mov dword [rsp + 0x20], r14d
lea r8d, [r14 + 0x2c]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov r14, qword [rsp + 0x70]
test eax, eax
jne 0x180007fc7
call qword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
jmp 0x180007fc9
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x18000a2e0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000a33c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18000a33c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18000a33c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000a33c
cmp dword [rcx + 0x84], 0xe
jbe 0x18000a33c
cmp dword [rcx + 0xf8], 0
je 0x18000a33c
mov ecx, ebx
call fcn.18000a270
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x180018080]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.18000a100
cmp dword [rsp + 0x60], 0
jne 0x18000a37f
mov ecx, ebx
call fcn.18000a230
int3
add rsp, 0x40
pop rbx
ret
Function at 0x18000a400
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1800162c0]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18000a43c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.18000e344
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x18000a4f8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x18000a55e
test ebx, ebx
jne 0x18000a55e
lea ecx, [rax + 2]
call fcn.18000e344
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.18000e320
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x14001c034
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001c07e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001c07e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001c07e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001c07e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001c07e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001c080
xor al, al
add rsp, 0x28
ret

Function at 0x140020008
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001fe04
Function at 0x140023184
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002320b
mov rsi, rbx
cmp word [rax], bp
je 0x1400231ca
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400231b4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400231b0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140021dac
mov rdi, rax
test rax, rax
je 0x1400231f8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14001d6b0
mov rbp, rdi
xor ecx, ecx
call fcn.140021ee8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140027db0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140027dd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140027dd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180006120
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 0x18000617d
lea rbx, [0x18007d5b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180006164
cmp r10, 2
jb 0x180006164
cmp byte [r9], r8b
jne 0x180006164
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 0x180006140
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800061bf
lea rbx, [0x18007d5b0]
cmp r8b, 0x23
jne 0x1800061a3
cmp byte [r9], r8b
jne 0x1800061a3
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 0x180006190
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180006300
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000631a
mov qword [r8], 0
lea rdx, [0x180082e00]
call fcn.1800061d0
mov rbx, rax
test rax, rax
jne 0x18000633a
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 0x180006411
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 0x180006411
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180006411
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 0x180006411
cmp rdi, 0xffffffffffffffff
je 0x180006411
mov rax, qword [0x180091a30]
test rax, rax
je 0x1800063ae
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 0x180006411
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 0x1800063fe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180091a30]
test rax, rax
je 0x1800063f3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000641a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000640c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000641c
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 0x1800099b0
Capabilities:
Hash data with crc32

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

Function at 0x180009a50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x18007d5b0]
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 0x180016a50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180091010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180091a30]
mov edi, ecx
cmp byte [rbx + 0x4a75], 0
jne 0x180016ab1
cmp byte [rbx + 0x4a76], 0
jne 0x180016ab1
movsx r9d, word [rbx + 0x5b9a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180005f80
test dil, 1
je 0x180016bdf
jmp 0x180016b3a
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b9a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800871c4]
mulss xmm1, dword [0x1800871b0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x1800870fc]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.180005f80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180016b90
lea r11, [0x18007d5b0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180016b73
cmp byte [r8], r9b
jne 0x180016b73
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 0x180016b60
not ecx
call fcn.18000d6f0
test rax, rax
je 0x180016bdf
cmp byte [rax + 0xb6], 0
je 0x180016bdf
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, 0x10
inc word [rbx + 0x5b9a]
movsx r9d, word [rbx + 0x5b9a]
call fcn.180005f80
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18000ff00
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180058a80
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001c930
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 + 0x5c80], 0
lea rbx, [rcx + 0x5c88]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001c9d7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001c98a
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.18001eea0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180006c00
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c80]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c90]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180091a28]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001c9df
mov rcx, rbx
call fcn.180006c00
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001ce60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180091a30]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001cec3
mov qword [rsp], rbx
lea rbx, [0x18007d5b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001cea3
cmp byte [r8], r9b
jne 0x18001cea3
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 0x18001ce90
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bf8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18001cef7
mov r10, qword [r10 + 0x5c00]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001cefe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18001cee4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret