joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003cd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14000b058]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rcx, qword [0x14000d530]
lea r8, [rsp + 0x20]
xor ebx, ebx
mov edx, 0x1b81
lea r9d, [rbx + 0xa]
call qword [sym.imp.USER32.dll_LoadStringA]
nop dword [rax + rax]
test eax, eax
jne 0x140003d31
mov rcx, qword [0x14000d530]
mov edx, 0x1b60
call fcn.140006f2c
xor eax, eax
jmp 0x140003dd7
lea r8, [rsp + 0x20]
mov edx, 0x66
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140003dc3
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140003dc3
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
mov rcx, rdi
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
test esi, esi
je 0x140003daf
test rax, rax
je 0x140003daf
mov r8d, esi
mov rdx, rax
mov ecx, 1
call qword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
nop dword [rax + rax]
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
nop dword [rax + rax]
test rbx, rbx
jne 0x140003dd4
mov rcx, qword [0x14000d530]
mov edx, 0x1b60
call fcn.140006f2c
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140007ab0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140003dfc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14000b058]
xor rax, rsp
mov qword [rsp + 0xc0], rax
and qword [rsp + 0x50], 0
lea r8, [rsp + 0x58]
mov rsi, rcx
mov r9d, 0xa
mov rcx, qword [0x14000d530]
mov edx, 0x1b82
call qword [sym.imp.USER32.dll_LoadStringA]
nop dword [rax + rax]
mov rcx, qword [0x14000d530]
test eax, eax
je 0x140003f59
mov r9d, 0x28
lea r8, [rsp + 0x70]
mov edx, 0x1b87
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
je 0x140003f52
and qword [rsi], 0
lea r8, [rsp + 0x58]
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140003f48
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140003f48
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
test edi, edi
je 0x140003f39
test rax, rax
je 0x140003f39
mov edx, dword [0x14000b144]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], rsi
mov r9d, edi
mov qword [rsp + 0x38], rcx
mov r8, rax
lea rcx, [0x14000d5fc]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
and qword [rsp + 0x20], 0
mov rcx, qword [0x14000d528]
call qword [sym.imp.MSSIGN32.dll_PvkPrivateKeyAcquireContextFromMemory]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
nop dword [rax + rax]
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x140003f68
mov rcx, qword [0x14000d530]
mov edx, 0x1b61
call fcn.140006f2c
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140007ab0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000668c
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14000b058]
xor rax, rsp
mov qword [rbp - 8], rax
and qword [rbp - 0x38], 0
lea rcx, [rbp - 0x18]
and qword [rbp - 0x28], 0
xor ebx, ebx
mov qword [rbp - 0x30], rbx
xor esi, esi
xor edi, edi
call qword [sym.imp.ole32.dll_CoCreateGuid]
nop dword [rax + rax]
test eax, eax
jne 0x14000673b
mov rdx, qword [0x14000d530]
lea ecx, [rsi + 0x42]
mov r8d, 0x1b6c
call fcn.140006e18
mov rsi, rax
test rax, rax
je 0x14000673b
mov r8, rax
lea rdx, [rbp - 0x18]
call fcn.140005a1c
mov r9d, dword [0x14000b070]
lea rcx, [rbp - 0x38]
mov r8, qword [0x14000d568]
mov rdx, rsi
mov dword [rsp + 0x20], 8
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
nop dword [rax + rax]
test eax, eax
jne 0x1400067e7
and qword [rbp - 0x38], rbx
mov r8, qword [0x14000d578]
mov edx, 0x1b69
mov rcx, qword [0x14000d530]
call fcn.140006f2c
xor r14d, r14d
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140006796
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop dword [rax + rax]
mov r9d, dword [0x14000b070]
lea rcx, [rbp - 0x38]
mov r8, qword [0x14000d568]
mov rdx, rsi
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
nop dword [rax + rax]
test rsi, rsi
je 0x1400067a3
mov rcx, rsi
call sub.msvcrt.dll_free
test rbx, rbx
je 0x1400067b0
mov rcx, rbx
call sub.msvcrt.dll_free
test rdi, rdi
je 0x1400067bd
mov rcx, rdi
call sub.msvcrt.dll_free
mov eax, r14d
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140007ab0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rcx, qword [rbp - 0x38]
lea r9, [rbp - 0x28]
mov r14d, 1
mov r8d, 0x2000001
mov edx, r14d
call qword [sym.imp.ADVAPI32.dll_CryptGenKey]
nop dword [rax + rax]
test eax, eax
je 0x14000673b
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x40]
and dword [rbp - 0x40], ebx
xor r9d, r9d
mov r8d, r14d
mov qword [rsp + 0x20], rax
mov edx, r14d
call qword [sym.imp.CRYPT32.dll_CryptExportPublicKeyInfo]
nop dword [rax + rax]
mov eax, dword [rbp - 0x40]
test eax, eax
jne 0x14000685d
mov ecx, 0x1b70
call fcn.1400013d4
jmp 0x140006753
mov rdx, qword [0x14000d530]
mov rcx, rax
mov r8d, 0x1b6c
call fcn.140006e18
mov rdi, rax
test rax, rax
je 0x140006753
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x40]
mov r9, rdi
mov qword [rsp + 0x20], rax
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.CRYPT32.dll_CryptExportPublicKeyInfo]
nop dword [rax + rax]
test eax, eax
je 0x14000684e
mov r8d, dword [rdi + 8]
lea rax, [rbp - 0x20]
mov rdx, qword [rdi + 0x10]
lea r9, [rbp - 0x30]
mov ecx, 0x32
mov qword [rsp + 0x20], rax
call fcn.140006040
mov rbx, qword [rbp - 0x30]
test eax, eax
je 0x14000673b
xor r14d, r14d
cmp dword [rbx + 0x20], r14d
setne r14b
jmp 0x140006756
Function at 0x1400071d4
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
xor esi, esi
and dword [rax + 0x18], ebx
mov rdi, r9
mov r14, r8
mov r15, rdx
test r8, r8
je 0x140007322
test rcx, rcx
je 0x140007322
test r9, r9
je 0x140007322
and qword [rax - 0x28], rbx
and qword [r8], rbx
lea r8d, [rbx + 1]
and dword [rdx], ebx
mov edx, 0x80000000
or qword [r9], 0xffffffffffffffff
xor r9d, r9d
mov dword [rax - 0x30], 0x80
mov dword [rax - 0x38], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
jne 0x14000726f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400072ed
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140007253
cmp dword [rsp + 0x70], ebx
je 0x140007297
mov ebx, 0x80004005
jmp 0x1400072f1
and qword [rsp + 0x28], rbx
xor r9d, r9d
mov rcx, qword [rdi]
xor edx, edx
and dword [rsp + 0x20], ebx
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140007253
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop dword [rax + rax]
test rax, rax
je 0x140007253
mov dword [r15], ebp
mov qword [r14], rax
test ebx, ebx
je 0x14000730a
cmp qword [rdi], 0xffffffffffffffff
je 0x14000730a
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
or qword [rdi], 0xffffffffffffffff
test rsi, rsi
je 0x14000731e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
jmp 0x140007327
mov eax, 0x80070057
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140007348
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rcx, qword [0x14000d540]
mov ebx, r8d
and dword [rax + 8], 0
mov rsi, rdx
test rcx, rcx
je 0x140007436
test rdx, rdx
je 0x140007436
test ebx, ebx
je 0x140007436
and qword [rax - 0x18], 0
xor r9d, r9d
and dword [rax - 0x20], 0
xor r8d, r8d
mov edx, 0x40000000
mov dword [rax - 0x28], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400073d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140007432
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x140007413
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140007423
mov eax, dword [rsp + 0x50]
sub eax, ebx
neg eax
sbb ebx, ebx
and ebx, 0x80004005
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
jmp 0x14000743b
mov eax, 0x80070057
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400078b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14000d610], rbx
je 0x1400078fc
cmp rax, rbx
jne 0x1400078ef
mov ebx, 1
mov esi, ebx
jmp 0x140007901
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400078d4
mov ebx, 1
mov eax, dword [0x14000d618]
cmp eax, ebx
jne 0x140007917
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000797c
mov eax, dword [0x14000d618]
test eax, eax
jne 0x140007976
mov dword [0x14000d618], ebx
lea r15, [0x140009560]
lea rdi, [0x140009548]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140007968
test eax, eax
jne 0x14000796c
cmp qword [rdi], 0
je 0x14000795d
mov rax, qword [rdi]
mov rcx, qword [vtable.H_MA8HI.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000793e
test eax, eax
je 0x14000797c
mov eax, 0xff
jmp 0x140007a58
mov dword [0x14000b164], ebx
mov eax, dword [0x14000d618]
cmp eax, ebx
jne 0x1400079a3
lea rdx, [0x140009540]
lea rcx, [0x140009530]
call sub.msvcrt.dll__initterm
mov dword [0x14000d618], 2
test esi, esi
jne 0x1400079b0
xor eax, eax
xchg qword [0x14000d610], rax
cmp qword [0x14000d620], 0
je 0x1400079e4
lea rcx, [0x14000d620]
call fcn.140007e30
test eax, eax
je 0x1400079e4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000d620]
mov r9, qword [vtable.H_MA8HI.0]
call r9
mov r8, qword [0x14000b178]
mov rdx, qword [0x14000b170]
mov ecx, dword [0x14000b168]
call fcn.140002630
mov dword [0x14000b160], eax
cmp dword [0x14000b180], 0
jne 0x140007a14
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b164], 0
jne 0x140007a29
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b160]
jmp 0x140007a58
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140180000
add rsp, 0x28
jmp 0x1400078b0

Function at 0x140007d1c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007d68
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140007d60
cmp dword [rcx + 0x3c], edx
jl 0x140007d60
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140007d60
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140007d68
mov rax, rdx
add rsp, 0x18
ret
Function at 0x10007510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x10015150], rbx
je 0x10007566
cmp rax, rbx
jne 0x10007559
mov edi, 1
jmp 0x10007566
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007540
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x1000757b
lea ecx, [rax + 0x1e]
call sub.MSVCR80.dll__amsg_exit
jmp 0x100075ba
mov eax, dword [0x10015148]
test eax, eax
jne 0x100075b0
mov dword [0x10015148], 1
lea rdx, [0x100014d0]
lea rcx, [0x100014b8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100075ba
mov eax, 0xff
jmp 0x10007714
mov dword [0x10014314], 1
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x100075e2
lea rdx, [0x100014b0]
lea rcx, [0x10001470]
call sub.MSVCR80.dll__initterm
mov dword [0x10015148], 2
test edi, edi
jne 0x100075ef
xor eax, eax
xchg qword [0x10015150], rax
cmp qword [0x10015168], 0
je 0x10007618
lea rcx, [0x10015168]
call fcn.10007b90
test eax, eax
je 0x10007618
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10015168]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x100076aa
test cl, cl
je 0x10007640
test edi, edi
jne 0x100076aa
movzx eax, byte [rbx]
test al, al
je 0x10007656
cmp al, 0x20
ja 0x10007656
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007640
test byte [rsp + 0x6c], 1
je 0x10007665
movzx r9d, word [rsp + 0x70]
jmp 0x1000766b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x10000000]
call fcn.10005300
mov dword [0x10014310], eax
cmp dword [0x100142f4], 0
jne 0x10007693
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x10014314], 0
jne 0x100076a8
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x10014310]
jmp 0x1000770d
cmp cl, 0x22
jne 0x100076bc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x100076d2
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007630
jmp 0x10007714
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.10178000
add rsp, 0x28
jmp 0x10007510
Function at 0x140005810
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 0x14000586d
lea rbx, [0x14007e0b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005854
cmp r10, 2
jb 0x140005854
cmp byte [r9], r8b
jne 0x140005854
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 0x140005830
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400058af
lea rbx, [0x14007e0b0]
cmp r8b, 0x23
jne 0x140005893
cmp byte [r9], r8b
jne 0x140005893
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 0x140005880
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400059f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140005a0a
mov qword [r8], 0
call fcn.1400058c0
mov rbx, rax
test rax, rax
jne 0x140005a23
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 fcn.1400488c8
mov esi, eax
cmp eax, 0xffffffff
je 0x140005af1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400494a0
test eax, eax
jne 0x140005af1
mov rcx, rbx
call fcn.1400488c8
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140005af1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400494a0
test eax, eax
jne 0x140005af1
cmp rdi, 0xffffffffffffffff
je 0x140005af1
mov rax, qword [0x140093eb0]
test rax, rax
je 0x140005a93
inc dword [rax + 0x3b4]
mov rcx, rdi
call fcn.140047e14
mov rsi, rax
test rax, rax
je 0x140005af1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14004e584
mov rcx, rbx
cmp rax, rdi
je 0x140005adf
call fcn.140049100
mov rax, qword [0x140093eb0]
test rax, rax
je 0x140005ad5
dec dword [rax + 0x3b4]
mov rcx, rsi
call fcn.140047e00
jmp 0x140005af9
call fcn.140049100
test r14, r14
je 0x140005aec
mov qword [r14], rdi
mov rax, rsi
jmp 0x140005afb
mov rcx, rbx
call fcn.140049100
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 0x1400074a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x140093eb0]
test rax, rax
je 0x1400074c6
inc dword [rax + 0x3b4]
mov ecx, 0x3f88
call fcn.140047e14
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x38]
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rax
xor r14d, r14d
test rax, rax
je 0x1400074f7
xor edx, edx
mov rcx, rax
call fcn.140004400
mov rbx, rax
jmp 0x1400074fa
mov rbx, r14
cmp qword [0x140093eb0], 0
jne 0x14000750b
mov qword [0x140093eb0], rbx
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x18], r14
lea rax, [0x14007cc64]
mov qword [rbp - 0x58], rax
mov esi, 0xffffffff
mov edx, esi
lea r8, [0x14007cc6d]
mov r9b, 0x57
lea r15, [0x14007e0b0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140007552
cmp byte [r8], r9b
jne 0x140007552
cmp byte [r8 + 1], r9b
cmove edx, esi
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140007540
not edx
mov dword [rbp - 0x50], edx
lea rax, [0x140015400]
mov qword [rbp - 0x48], rax
lea rax, [0x140015490]
mov qword [rbp - 0x38], rax
lea rax, [0x140015560]
mov qword [rbp - 0x30], rax
lea rax, [0x140015630]
mov qword [rbp - 0x28], rax
lea rax, [0x140015780]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbx + 0x30f8]
call fcn.140015d00
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x18], r14
lea rax, [0x14008280c]
mov qword [rbp - 0x58], rax
mov eax, esi
lea r8, [0x140082815]
mov r9b, 0x54
nop
cmp r9b, 0x23
jne 0x1400075f2
cmp byte [r8], r9b
jne 0x1400075f2
cmp byte [r8 + 1], r9b
cmove eax, esi
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr eax, 8
xor eax, dword [r15 + rdx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x1400075e0
not eax
mov dword [rbp - 0x50], eax
lea rax, [0x1400285c0]
mov qword [rbp - 0x48], rax
lea rax, [0x140028690]
mov qword [rbp - 0x38], rax
lea rax, [0x140028770]
mov qword [rbp - 0x30], rax
lea rax, [0x140028650]
mov qword [rbp - 0x28], rax
lea rax, [0x1400289f0]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbx + 0x30f8]
call fcn.140015d00
mov byte [rbx], 1
mov rax, rbx
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400372c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400372f1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14003736b
mov rdi, r14
mov rcx, rbx
call fcn.1400389f0
test rax, rax
jle 0x140037343
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14006e000
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14003735b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140037363
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140037305
sub r14, rdi
jmp 0x14003744f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140037382
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140037384
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400373b6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14006e000
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14003744c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400373f1
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
cmp rbp, 0xfff
jbe 0x14003742d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14004e584
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14003744c
cmp rbp, rax
ja 0x140037400
test rbp, rbp
je 0x14003744c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14004e584
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret