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

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

Function at 0x140007ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007cb0
Function at 0x14000d1bc
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 0x14000d1ec
xor eax, eax
jmp 0x14000d2af
mov rbp, rbx
cmp word [rax], si
je 0x14000d211
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d1f8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d1f4
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.14000d10c
movsxd r14, eax
test eax, eax
jne 0x14000d24f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d1e5
mov rcx, r14
call fcn.1400099bc
mov rdi, rax
test rax, rax
jne 0x14000d268
xor ecx, ecx
call fcn.140008d48
jmp 0x14000d244
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.14000d10c
test eax, eax
jne 0x14000d299
mov rcx, rdi
call fcn.140008d48
jmp 0x14000d2a3
xor ecx, ecx
call fcn.140008d48
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 0x1400125ac
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000c210
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140012636
cmp byte [rbp - 0x21], r15b
je 0x140012631
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001266c
call fcn.140008f9c
test eax, eax
jne 0x140012658
cmp byte [rbp - 0x21], r15b
je 0x140012650
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001266c
cmp byte [rbp - 0x21], r15b
je 0x140012669
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000b7ec
test eax, eax
jne 0x14001270c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000c210
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400126ab
cmp byte [rbp - 0x21], r15b
je 0x1400126e0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400126e0
call fcn.140008f9c
test eax, eax
jne 0x1400126cc
cmp byte [rbp - 0x21], r15b
je 0x1400126c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400126e0
cmp byte [rbp - 0x21], r15b
je 0x1400126dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000b7ec
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001270c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001270f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001271d
mov rcx, rdi
call fcn.140008d48
cmp byte [rbp + 0x3f], r15b
je 0x14001272c
mov rcx, qword [rbp + 0x27]
call fcn.140008d48
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140014cd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140014cf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140014cf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x45b860
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x01367200]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x013669e6], 0
je 0x45b896
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x01367720]
aesenc xmm0, xmmword [0x01367730]
aesenc xmm0, xmmword [0x01367740]
movq rax, xmm0
ret
jmp 0x4099a0

Function at 0x54cd40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x54ce2b
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
movabs rdx, 0x96cdb9da1013192
mov qword [rsp + 0x1d], rdx
movabs rdx, 0xc1fb086966209209
mov qword [rsp + 0x24], rdx
movabs rdx, 0x501080d00040105
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x304070d0501080d
mov qword [rsp + 0x30], rdx
movabs rdx, 0x2010c000c050e04
mov qword [rsp + 0x38], rdx
xor eax, eax
jmp 0x54cdc4
movzx r9d, byte [rsp + rsi + 0x1d]
sub r9d, edx
lea edx, [r9 + 0x75]
mov byte [rsp + rdi + 0x1d], dl
lea edx, [r8 + 0x75]
mov byte [rsp + rsi + 0x1d], dl
add rax, 2
cmp rax, 0x14
jge 0x54cdf7
movzx edx, byte [rsp + rax + 0x2c]
movzx esi, byte [rsp + rax + 0x2d]
mov edi, edx
xor edx, esi
add edx, eax
nop word [rax + rax]
cmp rdi, 0xf
jae 0x54ce1e
movzx r8d, byte [rsp + rdi + 0x1d]
sub r8d, edx
cmp rsi, 0xf
jb 0x54cda7
jmp 0x54ce12
xor eax, eax
lea rbx, [rsp + 0x1d]
mov ecx, 0xf
call fcn.00447500
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov eax, esi
mov ecx, 0xf
call fcn.0045bdc0
mov eax, edi
mov ecx, 0xf
call fcn.0045bdc0
nop
call fcn.00459760
jmp fcn.0054cd40

Function at 0x54d380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x54d452
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
movabs rdx, 0x40610020fe612705
mov qword [rsp + 0x19], rdx
movabs rdx, 0x39326940610020fe
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x5050103070a0a00
mov qword [rsp + 0x24], rdx
mov dword [rsp + 0x2c], 0x5050109
xor eax, eax
jmp 0x54d3ee
movzx r9d, byte [rsp + rsi + 0x19]
sub r9d, edx
lea edx, [r9 + 0x43]
mov byte [rsp + rdi + 0x19], dl
lea edx, [r8 + 0x43]
mov byte [rsp + rsi + 0x19], dl
add rax, 2
cmp rax, 0xc
jge 0x54d41b
movzx edx, byte [rsp + rax + 0x24]
movzx esi, byte [rsp + rax + 0x25]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xb
jae 0x54d445
movzx r8d, byte [rsp + rdi + 0x19]
sub r8d, edx
cmp rsi, 0xb
jb 0x54d3d1
jmp 0x54d436
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0xb
call fcn.00447500
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov eax, esi
mov ecx, 0xb
nop dword [rax]
call fcn.0045bdc0
mov eax, edi
mov ecx, 0xb
call fcn.0045bdc0
nop
call fcn.00459760
jmp fcn.0054d380
Function at 0x14087b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14087b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14087b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14087b06f
add dl, dl
jne 0x14087b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14087b0f6
xor eax, eax
add dl, dl
jne 0x14087b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14087b1ad
add dl, dl
jne 0x14087b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14087b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14087b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14087b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14087b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14087b07e
mov eax, 1
add dl, dl
jne 0x14087b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14087b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14087b0fb
sub eax, ebx
mov ebx, 1
jne 0x14087b14c
mov ecx, 1
add dl, dl
jne 0x14087b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14087b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14087b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14087b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14087b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14087b15d
cmp eax, 0x7d00
jae 0x14087b19b
cmp eax, 0x500
jb 0x14087b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087b07e
cmp eax, 0x7f
ja 0x14087b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14087b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14087b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14087b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001768
Capabilities:
Read file via mapping
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x50
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [0x14000300c]
mov ebx, dword [0x140003008]
mov r8d, dword [0x140003004]
mov r14d, dword [section..data]
xor r15d, r15d
mov qword [0x140003010], rax
mov dword [rsp + 0x30], 0x4d0046
mov word [rsp + 0x44], r15w
lea r9, [rsp + 0x34]
lea r10d, [r15 + 8]
mov edx, r8d
shr edx, 0x1c
and dl, 0xf
movzx ecx, dl
lea eax, [rcx + 0x30]
add cx, 0x57
cmp dl, 0x39
cmovbe cx, ax
shl r8d, 4
mov word [r9], cx
lea r9, [r9 + 2]
dec r10
jne 0x1400017bc
lea rax, [rsp + 0x30]
lea r8d, [r10 + 2]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbp, rax
test rax, rax
je 0x1400018b7
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
je 0x1400018ae
mov ecx, dword [rax]
lea r9, [rsp + 0x78]
add rcx, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.140001264
cmp qword [rsp + 0x78], r15
je 0x1400018a5
cmp dword [rsp + 0x70], r15d
je 0x1400018a5
mov r8d, esi
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140001891
mov rdx, qword [rsp + 0x78]
mov r9, rbx
mov rcx, rax
mov dword [rsp + 0x20], r14d
call fcn.140001494
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rsp + 0x78]
mov rcx, qword [0x140003010]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x50]
xor eax, eax
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rsi
ret

Function at 0x140001b18
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x48
call fcn.1800098bc
test rax, rax
je 0x18000abbb
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x23], 0x65726f46
mov dword [rsp + 0x2f], 0x776f646e
mov dword [rsp + 0x2a], 0x57646e75
mov word [rsp + 0x20], 0x6553
mov word [rsp + 0x27], 0x7267
mov byte [rsp + 0x22], 0x74
mov byte [rsp + 0x33], 0
mov byte [rsp + 0x2e], 0x69
mov byte [rsp + 0x29], 0x6f
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rsp, 0x48
ret
add rsp, 0x48
ret

Function at 0x18000abc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
call fcn.1800098bc
test rax, rax
je 0x18000ac07
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x21], 0x69577465
mov dword [rsp + 0x28], 0x736f5077
mov word [rsp + 0x25], 0x646e
mov byte [rsp + 0x20], 0x53
mov byte [rsp + 0x2c], 0
mov byte [rsp + 0x27], 0x6f
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rsp, 0x38
ret
add rsp, 0x38
ret

Function at 0x18000b6e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x148
cmp edx, 1
jne 0x18000b7ad
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
call fcn.180009bb8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x26], 0x75732074
mov dword [rsp + 0x2c], 0x74726f
mov dword [rsp + 0x21], 0x6174736e
mov word [rsp + 0x2a], 0x7070
mov byte [rsp + 0x20], 0x69
mov byte [rsp + 0x25], 0x6e
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
jne 0x18000b7e1
lea rdx, [sym.gphelper.dll_qfvlh6]
lea rcx, [0x18006d0b0]
call fcn.18000c06c
test eax, eax
je 0x18000b7e1
lea rdx, [sym.gphelper.dll_fr5vnt]
lea rcx, [0x18006d0a0]
call fcn.18000c06c
test eax, eax
je 0x18000b7e1
lea rdx, [sym.gphelper.dll_btyqmc]
lea rcx, [0x18006d120]
call fcn.18000c06c
test eax, eax
je 0x18000b7e1
lea rdx, [sym.gphelper.dll_f960mm]
lea rcx, [0x18006d0e8]
call fcn.18000c06c
mov eax, 1
add rsp, 0x148
ret
test edx, edx
jne 0x18000b7e1
lea rcx, [0x18006d0b0]
call fcn.18000c2bc
lea rcx, [0x18006d0a0]
call fcn.18000c2bc
lea rcx, [0x18006d120]
call fcn.18000c2bc
lea rcx, [0x18006d0e8]
call fcn.18000c2bc
mov eax, 1
add rsp, 0x148
ret
Function at 0x180744300
Capabilities:
Encode data using xor

Disassembly:
not bx
add bx, 0x533b
call fcn.1807426c8
lea rsp, [rsp + 8]
jmp fcn.18075a947
lea rsp, [rsp + 0x10]
je 0x18074434f
mov edx, 0x781c0ebf
lea rdx, [0x18075eb30]
movzx r9d, byte [r11]
xor r9d, eax
and r9d, 0xff
push 0xffffffff9185101a
mov r9d, dword [rdx + r9*4]
shr eax, 8
xor eax, r9d
inc r11
xor eax, 0xf0893823
dec r10
not word [rsp + 4]
lea rsp, [rsp + 8]
jne 0x180744317
push 0x52ab3428
jmp 0x18076255d
call fcn.1807381fb
mov ax, word [rbp + riz]
mov ebx, 0x95bccf12
shl ebx, 0xc6
shl ebx, 0xf5
adc rbp, 2
xor bl, bl
sbb rsi, 2
neg ebx
xor bx, bx
xor bx, 0xa593
movzx ebx, word [rbx + rsi - 0x7000a593]
xor bx, r8w
push 0x148271bf
rol bx, 1
sub bx, 0x6e01
push 0xffffffffdf0628aa
ror bx, 1
jmp 0x180732672
Function at 0x140005e00
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 0x140005e5d
lea rbx, [0x14003d110]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005e44
cmp r10, 2
jb 0x140005e44
cmp byte [r9], r8b
jne 0x140005e44
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 0x140005e20
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140005e9f
lea rbx, [0x14003d110]
cmp r8b, 0x23
jne 0x140005e83
cmp byte [r9], r8b
jne 0x140005e83
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 0x140005e70
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140006060
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 0x14000607e
mov qword [r8], r14
lea rdx, [0x14003cc20]
call fcn.140005eb0
mov rbx, rax
test rax, rax
jne 0x1400060a3
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 0x1400061cd
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 0x1400061cd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400061cd
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 0x1400061cd
cmp rdi, 0xffffffffffffffff
je 0x1400061cd
mov rcx, rdi
call fcn.140009ef0
mov rbp, rax
test rax, rax
je 0x1400061cd
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 0x1400061ba
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14004ba58]
test r8, r8
je 0x1400061af
movsx rdx, word [r8 + 0x60c8]
lea rcx, [r8 + 0x60cc]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400061a4
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 + 0x60c8], cx
movsx rax, cx
lea rcx, [r8 + 0x60cc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60c4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400061d6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400061c8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400061d8
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 0x14000d170
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 [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14004ba58]
mov ebp, edx
mov r10, rcx
mov rbx, qword [rdi + 0x4000]
mov r9d, dword [rdi + 0x4a00]
bts r9d, 8
mov esi, dword [rbx + 0x14]
and esi, 4
mov dword [rdi + 0x4a00], r9d
or esi, 0x1000103
mov dword [rdi + 0x4a38], 1
cmp qword [rbx + 0x1b8], 0
jne 0x14000d1f3
cmp qword [rdi + 0x4df0], 0
mov eax, 0x260
je 0x14000d1f8
mov eax, 0x230
movss xmm2, dword [rax + rbx]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rax + rbx + 4]
subss xmm3, dword [rbx + 0x114]
subss xmm2, dword [rbx + 0x110]
mov rdx, qword [r8]
call fcn.140016650
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rdi + 0x4a20], xmm0
xor edx, edx
mov dword [rdi + 0x4a00], r9d
mov dword [rdi + 0x4a08], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x14000d26a
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140005c60
jmp 0x14000d27a
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.140005c60
mov rcx, qword [rsp + 0x30]
mov r8d, esi
movss xmm6, dword [rdi + 0x3918]
xor edx, edx
call fcn.1400102e0
mov rsi, qword [rdi + 0x4000]
movzx r14d, al
movss dword [rdi + 0x3918], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], ebp
jne 0x14000d2c1
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, ebp
lea rdx, [0x14003bfb1]
not r9d
lea r10, [0x14003d110]
mov ebx, r9d
mov r8b, 0x23
nop dword [rax + rax]
cmp r8b, 0x23
jne 0x14000d2f3
cmp byte [rdx], r8b
jne 0x14000d2f3
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 0x14000d2e0
not ebx
cmp dword [rdi + 0x4064], ebx
jne 0x14000d323
xor edx, edx
xor ecx, ecx
call fcn.140009900
cmp dword [rdi + 0x4b38], ebp
jne 0x14000d368
cmp word [rsi + 0x16c], 0
jne 0x14000d33e
cmp byte [rsi + 0x172], 0
je 0x14000d368
xor edx, edx
mov rcx, rsi
call fcn.140012b90
xor edx, edx
mov rcx, rsi
call fcn.140018850
mov rdx, rsi
mov ecx, ebx
call fcn.140009900
mov eax, dword [rdi + 0x4b64]
mov dword [rdi + 0x4090], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400391b0
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 0x140013480
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x14003d110]
mov rax, qword [rcx + 0x108]
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 + 0x404c], ebx
jne 0x140013516
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001d530
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140013520
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x108]
lea r9, [0x14003d110]
movss xmm2, dword [rcx + 0x120]
movss xmm3, dword [rcx + 0x124]
movsxd rcx, dword [rcx + 0x100]
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