joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028370
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x180004807
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180004807
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180004807
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180004807
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180004807
cmp dword [rcx + 0x84], 0xe
jbe 0x180004807
cmp dword [rcx + 0xf8], 0
je 0x180004807
mov ecx, ebx
call fcn.1800048b8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.180004694
nop
cmp dword [rbp + 0x20], 0
je 0x180004855
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180004860
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180004798
Function at 0x180007dbc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180007dec
xor eax, eax
jmp 0x180007eaf
mov rbp, rbx
cmp word [rax], si
je 0x180007e11
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180007df8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180007df4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180007cdc
movsxd r14, eax
test eax, eax
jne 0x180007e4f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180007de5
mov rcx, r14
call fcn.18000904c
mov rdi, rax
test rax, rax
jne 0x180007e68
xor ecx, ecx
call fcn.180006314
jmp 0x180007e44
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180007cdc
test eax, eax
jne 0x180007e99
mov rcx, rdi
call fcn.180006314
jmp 0x180007ea3
xor ecx, ecx
call fcn.180006314
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18000d600
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000d628
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000d628
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18001b4c0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
ret
Function at 0x140011177
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
jmp 0x1400119d0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x14001e180]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400230a3]
call fcn.140011398
nop
mov dword [rbp + 4], 0
mov eax, dword [rbp + 0x190]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x190]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x30], rax
mov eax, dword [rbp + 0x198]
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0x198]
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0x188]
mov qword [rbp + 0x60], rax
lea rcx, str.Advapi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.SystemFunction032
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x58]
call qword [rbp + 0x88]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140011ab9
mov edx, dword [rbp + 4]
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
call fcn.1400111ae
nop
xor eax, eax
jmp 0x140011abe
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001acc0]
call fcn.140011334
mov rax, rdi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013390
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001128a
Capabilities:
Create thread

Disassembly:
jmp 0x140011c20
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001e180]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x1400230a3]
call fcn.140011398
nop
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
lea rax, section..data
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0x114
mov r9d, dword [rbp + 0x64]
mov r8d, 0x10
mov rdx, qword [rbp + 0x48]
lea rcx, [0x14001e118]
call fcn.140011177
test eax, eax
jne 0x140011ca7
mov eax, 0xffffffff
jmp 0x140011e00
mov edx, 0x10
lea rcx, str.___Sizeof_Rc4key__d
call fcn.1400111ae
nop
lea rcx, str.___DONE___n
call fcn.1400111ae
nop
mov r8d, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x48]
lea rcx, str._i__Deobfuscated_Payload_At_:_0x_p_Of_Size_:__d__n
call fcn.1400111ae
nop
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xc8], 0
mov eax, dword [rbp + 0x64]
lea r8, [rbp + 0xa8]
mov edx, eax
mov rcx, qword [rbp + 0x48]
call fcn.140011140
test eax, eax
jne 0x140011d1f
mov eax, 0xffffffff
jmp 0x140011e00
mov eax, dword [rbp + 0x64]
lea r8, [rbp + 0xc8]
mov edx, eax
mov rcx, qword [rbp + 0x48]
call fcn.140011140
test eax, eax
jne 0x140011d42
mov eax, 0xffffffff
jmp 0x140011e00
mov eax, dword [rbp + 0x64]
lea r8, [rbp + 0x88]
mov edx, eax
mov rcx, qword [rbp + 0x48]
call fcn.140011140
test eax, eax
jne 0x140011d65
mov eax, 0xffffffff
jmp 0x140011e00
lea rcx, str.___Press__Enter__To_Run_The_Payload_...
call fcn.1400111ae
nop
call qword [sym.imp.ucrtbased.dll_getchar]
nop
lea rcx, str._i__Creating_New_Thread_...
call fcn.1400111ae
nop
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x88]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x140011dd5
mov edx, 0xffffffff
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
lea rcx, str.___DONE__n
call fcn.1400111ae
nop
jmp 0x140011dea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateThread_Failed_With_Error_:__d__n
call fcn.1400111ae
nop
lea rcx, str.___Press__Enter__To_Quit_...
call fcn.1400111ae
nop
call qword [sym.imp.ucrtbased.dll_getchar]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001bd00]
call fcn.140011334
mov rax, rdi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400146e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014700
xor al, al
jmp 0x140014781
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014713
xor al, al
jmp 0x140014781
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001473d
xor al, al
jmp 0x140014781
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014751
xor al, al
jmp 0x140014781
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014763
xor al, al
jmp 0x140014781
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001477f
xor al, al
jmp 0x140014781
mov al, 1
add rsp, 0x38
ret
Function at 0x1400125d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113c0
movzx eax, al
test eax, eax
jne 0x1400125f0
mov ecx, 7
call fcn.14001133e
nop
mov byte [rsp + 0x20], 0
call fcn.140011352
mov byte [rsp + 0x21], al
cmp dword [0x14001e9e8], 1
jne 0x140012614
mov ecx, 7
call fcn.14001133e
nop
jmp 0x14001266c
cmp dword [0x14001e9e8], 0
jne 0x140012667
mov dword [0x14001e9e8], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111b3
test eax, eax
je 0x140012648
mov eax, 0xff
jmp 0x140012771
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011348
mov dword [0x14001e9e8], 2
jmp 0x14001266c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001132a
call fcn.1400112bc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400126c9
mov rcx, qword [rsp + 0x30]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x1400126c9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112ee
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400126fd
mov rcx, qword [rsp + 0x38]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x1400126fd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001137f
nop
call fcn.140012820
mov dword [rsp + 0x28], eax
call fcn.140011294
movzx eax, al
test eax, eax
jne 0x14001271c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001272b
call fcn.140011389
nop
xor edx, edx
mov cl, 1
call fcn.140011154
mov eax, dword [rsp + 0x28]
jmp 0x140012771
add rsp, 0x68
ret
Function at 0x140002940
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140085040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140085e80]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140002b6e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140002b6e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140085e80]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140002a14
movsx rdx, word [r8 + 0x6160]
lea rax, [r8 + 0x6164]
mov r9d, dword [r8 + 0x3fb0]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140002a09
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 + 0x6160], cx
movsx rax, cx
lea rax, [rax*8 + 0x6164]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6158]
test rdi, rdi
je 0x140002a36
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x2c], rbx
mov qword [rdi + 0x34], rbx
mov qword [rdi + 0x3c], rbx
mov qword [rdi + 0x44], rbx
mov dword [rdi + 0x4c], ebx
jmp 0x140002a39
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x14006f188]
mov qword [rsi + 0x80], rax
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140002a7c
mov rsi, qword [r8 + 0x90]
jmp 0x140002a7f
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140002aaa
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140085e80]
mov rcx, qword [rax + 0x4b88]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140002b2e
inc rbx
cmp rbx, 5
jl 0x140002b10
jmp 0x140002b5a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140002b70
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140069f30
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140006fe0
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 0x14000703d
lea rbx, [0x1400706f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140007024
cmp r10, 2
jb 0x140007024
cmp byte [r9], r8b
jne 0x140007024
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 0x140007000
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000707f
lea rbx, [0x1400706f0]
cmp r8b, 0x23
jne 0x140007063
cmp byte [r9], r8b
jne 0x140007063
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 0x140007050
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140007230
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 0x14000724e
mov qword [r8], r14
lea rdx, [0x1400701e0]
call fcn.140007090
mov rbx, rax
test rax, rax
jne 0x140007273
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 0x14000739d
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 0x14000739d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000739d
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 0x14000739d
cmp rdi, 0xffffffffffffffff
je 0x14000739d
mov rcx, rdi
call fcn.14000bbb0
mov rbp, rax
test rax, rax
je 0x14000739d
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 0x14000738a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140085e80]
test r8, r8
je 0x14000737f
movsx rdx, word [r8 + 0x6160]
lea rcx, [r8 + 0x6164]
mov r9d, dword [r8 + 0x3fb0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140007374
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 + 0x6160], cx
movsx rax, cx
lea rcx, [r8 + 0x6164]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x615c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400073a6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140007398
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400073a8
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 0x14000ee30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140085040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140085e80]
mov ebp, edx
mov r10, rcx
mov r9d, dword [rdi + 0x4a78]
mov rbx, qword [rdi + 0x4068]
bts r9d, 8
mov dword [rdi + 0x4a78], r9d
mov dword [rdi + 0x4ab0], 1
cmp qword [rbx + 0x1c0], 0
jne 0x14000eea7
cmp qword [rdi + 0x4e78], 0
mov eax, 0x268
je 0x14000eeac
mov eax, 0x238
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x11c]
subss xmm2, dword [rbx + 0x118]
mov rdx, qword [r8]
call fcn.140018b60
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rdi + 0x4a98], xmm0
xor edx, edx
mov dword [rdi + 0x4a78], r9d
mov dword [rdi + 0x4a80], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x14000ef1e
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140006e40
jmp 0x14000ef2e
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.140006e40
mov rcx, qword [rsp + 0x30]
xor edx, edx
movss xmm6, dword [rdi + 0x3928]
mov r8d, 0x1000107
call fcn.140012080
mov rsi, qword [rdi + 0x4068]
movzx r14d, al
movss dword [rdi + 0x3928], xmm6
cmp word [rsi + 0xd8], 1
mov dword [rsi + 0x90], ebp
jne 0x14000ef78
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, ebp
lea rdx, [0x14006f551]
not r9d
lea r10, [0x1400706f0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000efa5
cmp byte [rdx], r8b
jne 0x14000efa5
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 0x14000ef92
not ebx
cmp dword [rdi + 0x40d4], ebx
jne 0x14000efd5
xor edx, edx
xor ecx, ecx
call fcn.14000b560
cmp dword [rdi + 0x4ba4], ebp
jne 0x14000f01a
cmp word [rsi + 0x174], 0
jne 0x14000eff0
cmp byte [rsi + 0x17a], 0
je 0x14000f01a
xor edx, edx
mov rcx, rsi
call fcn.140014910
xor edx, edx
mov rcx, rsi
call fcn.14001b560
mov rdx, rsi
mov ecx, ebx
call fcn.14000b560
mov eax, dword [rdi + 0x4bd8]
mov dword [rdi + 0x4100], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140069f30
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
ret
Function at 0x140015450
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x1400706f0]
mov rax, qword [rcx + 0x110]
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 + 0x40bc], ebx
jne 0x1400154e6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.1400203a0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400154f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x1400706f0]
movss xmm2, dword [rcx + 0x128]
movss xmm3, dword [rcx + 0x12c]
movsxd rcx, dword [rcx + 0x108]
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