joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b78f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14011c0a8]
test ecx, ecx
je 0x1400b7924
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400b793d
mov rbx, rax
cmp qword [rax + 8], 0
je 0x1400b793d
add rbx, 0x10
jmp 0x1400b7a28
lea rcx, [0x14011c090]
call fcn.1400ae1f0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400b7911
mov ecx, dword [0x14011c0a8]
test ecx, ecx
je 0x1400b7a09
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400b7a26
mov rdi, rax
test rax, rax
jne 0x1400b79b3
mov rax, qword [0x14014afc8]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call fcn.140002850
test rax, rax
je 0x1400b7a46
mov rdi, rax
lea rax, [0x14011c090]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x14011c0a8]
test ecx, ecx
je 0x1400b7a33
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x1400b79d4
mov rax, qword [rsi]
mov qword [rsi], 0
mov rdx, rax
test rax, rax
je 0x1400b79d8
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
jmp 0x1400b79d8
xor eax, eax
xor edx, edx
lea rbx, [rdi + 0x10]
cmp qword [rdi + 8], 0
mov rcx, qword [rdi + 0x18]
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
je 0x1400b7a28
test rcx, rcx
je 0x1400b7a28
lock dec qword [rcx]
jne 0x1400b7a28
call fcn.14006c8a0
jmp 0x1400b7a28
lea rcx, [0x14011c090]
call fcn.1400ae1f0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400b795c
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14011c090]
call fcn.1400ae1f0
mov ecx, eax
jmp 0x1400b79ab
mov ecx, 8
mov edx, 0x20
call fcn.1400e7c30
ud2

Function at 0x1400b7a70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x14011c0c8]
test ecx, ecx
je 0x1400b7a9f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400b7ab8
cmp byte [rax + 8], 0
je 0x1400b7ab8
add rax, 9
jmp 0x1400b7b60
lea rcx, [0x14011c0b0]
call fcn.1400ae1f0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400b7a90
mov ecx, dword [0x14011c0c8]
test ecx, ecx
je 0x1400b7b41
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400b7b5e
mov rdi, rax
test rax, rax
jne 0x1400b7b1e
mov rax, qword [0x14014afc8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140002850
test rax, rax
je 0x1400b7b77
mov rdi, rax
lea rax, [0x14011c0b0]
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x14011c0c8]
test ecx, ecx
je 0x1400b7b67
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
xor ecx, ecx
test rsi, rsi
je 0x1400b7b34
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
cmove eax, ecx
mov ecx, eax
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x1400b7b60
lea rcx, [0x14011c0b0]
call fcn.1400ae1f0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400b7ad3
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14011c0b0]
call fcn.1400ae1f0
mov ecx, eax
jmp 0x1400b7b16
mov ecx, 8
mov edx, 0x10
call fcn.1400e7c30
ud2
Function at 0x1400b7b90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x14011c0e8]
test ecx, ecx
je 0x1400b7bbf
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400b7bd8
cmp byte [rax + 8], 0
je 0x1400b7bd8
add rax, 9
jmp 0x1400b7c80
lea rcx, [0x14011c0d0]
call fcn.1400ae1f0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400b7bb0
mov ecx, dword [0x14011c0e8]
test ecx, ecx
je 0x1400b7c61
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400b7c7e
mov rdi, rax
test rax, rax
jne 0x1400b7c3e
mov rax, qword [0x14014afc8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140002850
test rax, rax
je 0x1400b7c97
mov rdi, rax
lea rax, [0x14011c0d0]
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x14011c0e8]
test ecx, ecx
je 0x1400b7c87
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
xor ecx, ecx
test rsi, rsi
je 0x1400b7c54
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
cmove eax, ecx
mov ecx, eax
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x1400b7c80
lea rcx, [0x14011c0d0]
call fcn.1400ae1f0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400b7bf3
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14011c0d0]
call fcn.1400ae1f0
mov ecx, eax
jmp 0x1400b7c36
mov ecx, 8
mov edx, 0x10
call fcn.1400e7c30
ud2

Function at 0x1400b7e20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14011c128]
test ecx, ecx
je 0x1400b7e54
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400b7e6d
mov rbx, rax
cmp qword [rax + 8], 0
je 0x1400b7e6d
add rbx, 0x10
jmp 0x1400b7f47
lea rcx, [0x14011c110]
call fcn.1400ae1f0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1400b7e41
mov ecx, dword [0x14011c128]
test ecx, ecx
je 0x1400b7f28
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400b7f45
mov rdi, rax
test rax, rax
jne 0x1400b7edf
mov rax, qword [0x14014afc8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.140002850
test rax, rax
je 0x1400b7f65
mov rdi, rax
lea rax, [0x14011c110]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x14011c128]
test ecx, ecx
je 0x1400b7f52
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x1400b7ef9
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x1400b7efb
mov rax, qword [rsi + 8]
jmp 0x1400b7efb
xor eax, eax
lea rbx, [rdi + 0x10]
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 8], 0
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
je 0x1400b7f47
test rcx, rcx
je 0x1400b7f47
lock dec qword [rcx]
jne 0x1400b7f47
call fcn.14006c850
jmp 0x1400b7f47
lea rcx, [0x14011c110]
call fcn.1400ae1f0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400b7e8c
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14011c110]
call fcn.1400ae1f0
mov ecx, eax
jmp 0x1400b7ed7
mov ecx, 8
mov edx, 0x18
call fcn.1400e7c30
ud2
Function at 0x140100f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140100fea
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140100fe0
cmp r10, r11
jb 0x140101083
cmp r10, rdx
ja 0x140101097
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140100fe2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140100fc0
jmp 0x140101057
ja 0x140100fea
mov r11, r10
cmp rax, r8
jne 0x140100f92
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14010105b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140101030
mov r8, r10
sub ecx, r9d
jns 0x14010104e
jmp 0x14010105d
cmp r10, rdx
je 0x140101069
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14010105d
xor al, 1
cmp r8, rdx
jne 0x140101010
jmp 0x14010105d
xor eax, eax
jmp 0x14010105d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14013bb19]
lea r8, [0x14013ded8]
mov edx, 0x2b
call fcn.1400f6900
ud2
lea r8, [0x14013dec0]
mov rcx, r11
mov rdx, r10
call fcn.1400fd6a0
ud2
lea r8, [0x14013dec0]
mov rcx, r10
call fcn.1400fd620
ud2
Function at 0x14011abb0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14011b9c0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.14011b9c0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x14011ac20
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1401692a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x14011add0
mov rax, qword [0x1401692a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14011ac6c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x14011acf7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x14011ac50
mov rcx, r12
call fcn.14011b6d0
mov rbp, rax
test rax, rax
je 0x14011ae2d
mov rax, qword [0x1401692a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.14011b800
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1401692a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14011ae12
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14011acf0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14011ad80
add dword [0x1401692a4], 1
cmp ebx, 8
jae 0x14011ad28
test bl, 4
jne 0x14011ade0
test ebx, ebx
je 0x14011ad19
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x14011ae00
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x14011ad19
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x14011ad5a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1401692a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14011acf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14011abb0
xor edi, edi
jmp 0x14011ac77
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x14011ad19
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x14011ad19
mov rax, qword [0x1401692a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.14011abb0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.14011abb0
nop
nop dword [rax]
Function at 0x14011b340
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140169300]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401692e0]
test rbx, rbx
je 0x14011b394
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14011b38b
test r12, r12
je 0x14011b38b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14011b370
lea rcx, [0x140169300]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14011b6d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x14014af40]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x14011b749
mov rcx, r10
call fcn.14011b5a0
test eax, eax
je 0x14011b749
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x14011b746
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x14011b73d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x14011b749
add r8, 0x28
cmp r8, r9
jne 0x14011b728
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x1400013c4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
and qword [rsp + 0x50], rdi
mov esi, edx
lea edx, [rdi + 1]
lea ecx, [rdi + 2]
lea r8d, [rdi + 6]
call qword [rbx + 0x40]
mov qword [rbx + 0x88], rax
cmp rax, 0xffffffffffffffff
je 0x1400015c5
mov edx, 0x8000e
lea r9d, [rdi + 0x40]
xor ecx, ecx
mov r8d, 0x3000
call qword [rbx + 0x10]
mov qword [rbx + 0xa0], rax
test rax, rax
je 0x1400015c5
cmp esi, 1
jne 0x14000142c
mov rcx, qword [rbx + 0xb8]
jmp 0x140001433
mov rcx, qword [rbx + 0xc0]
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call qword [rbx + 0x48]
test eax, eax
jne 0x1400015c5
mov rax, qword [rsp + 0x50]
lea rbp, [rbx + 0x90]
mov rcx, qword [rax + 0x20]
mov rax, qword [rbx + 0xa8]
movups xmm0, xmmword [rcx]
movdqu xmmword [rbp], xmm0
cmp esi, 1
jne 0x140001471
mov ecx, dword [rax + 0x24]
jmp 0x140001474
mov ecx, dword [rax + 0x30]
call qword [rbx + 0x58]
mov rcx, qword [rbx + 0x88]
mov r8d, 0x10
mov rdx, rbp
mov word [rbx + 0x92], ax
call qword [rbx + 0x60]
cmp eax, 0xffffffff
je 0x1400015c5
mov rcx, qword [rbx + 0x88]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov word [rsp + 0x40], 0x3436
mov byte [rsp + 0x42], dil
lea r8d, [r9 + 3]
call qword [rbx + 0x68]
test eax, eax
jle 0x1400015c5
xor esi, esi
mov edx, 0x4d800
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rsi + 4]
call qword [rbx + 0x10]
mov rdi, rax
test rax, rax
je 0x1400015c5
mov rcx, qword [rbx + 0x88]
xor r9d, r9d
mov r8d, 0x19000
mov rdx, rdi
call qword [rbx + 0x70]
mov ebp, eax
test eax, eax
jle 0x1400015c5
movsxd rcx, esi
mov r8d, ebp
add rcx, qword [rbx + 0xa0]
mov rdx, rdi
call qword [rbx + 0x30]
add esi, ebp
cmp esi, 0x4b00e
jne 0x1400014e6
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [rbx + 0x18]
mov r10, qword [rbx + 0xa0]
xor ebp, ebp
xor r11d, r11d
xor esi, esi
xor edi, edi
lea rax, [r10 + 0xe]
mov qword [rbx + 0xa0], rax
movzx ecx, byte [rsi + r10 + 4]
mov eax, 0x1f7047dd
mov r8, qword [rbx + 0xa0]
mov r9d, r11d
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 8
imul eax, eax, 0x1c8
sub ecx, eax
mov eax, 0xcccccccd
mul r11d
add cl, 0x36
lea eax, [rbp + 1]
xor byte [r8 + rdi], cl
xor ebp, ebp
shr edx, 3
inc r11d
inc rdi
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r9d, ecx
cmovne ebp, eax
lea rax, [rsi + 1]
xor esi, esi
cmp r9d, ecx
cmovne rsi, rax
cmp r11d, 0x4b00e
jl 0x14000154c
call qword [rbx + 0xa0]
mov rcx, qword [rbx + 0xb0]
call rax
jmp 0x1400015c3
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400015d2
call qword [rbx + 0x50]
mov rcx, qword [rbx + 0x88]
cmp rcx, 0xffffffffffffffff
je 0x1400015e2
call qword [rbx + 0x78]
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1400015f9
xor edx, edx
mov r8d, 0x8000
call qword [rbx + 0x18]
test rdi, rdi
je 0x14000160c
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [rbx + 0x18]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001930
Capabilities:
Resolve function by parsing pe exports

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, 0x20
movsxd rax, dword [rcx + 0x3c]
mov r9, rcx
mov rbx, r8
mov ebp, edx
mov ecx, dword [rax + rcx + 0x88]
test ecx, ecx
je 0x1400019cb
cmp dword [rax + r9 + 0x8c], 0
je 0x1400019cb
lea rax, [r9 + rcx]
mov r11d, dword [rax + 0x18]
test r11d, r11d
je 0x1400019cb
mov ecx, dword [rax + 0x20]
xor r8d, r8d
mov edi, dword [rax + 0x1c]
add rcx, r9
mov esi, dword [rax + 0x24]
add rdi, r9
add rsi, r9
test r11d, r11d
je 0x1400019cb
mov r10d, dword [rcx]
add r10, r9
mov r14, r10
xor edx, edx
mov al, byte [r10]
jmp 0x1400019b3
imul edx, edx, 0x83
movsx eax, al
add edx, eax
inc r14
mov al, byte [r14]
test al, al
jne 0x1400019a2
btr edx, 0x1f
cmp edx, ebp
je 0x1400019e8
inc r8d
add rcx, 4
cmp r8d, r11d
jb 0x140001992
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test rbx, rbx
jne 0x1400019fa
movzx ecx, word [rsi + r8*2]
mov eax, dword [rdi + rcx*4]
add rax, r9
jmp 0x1400019cd
mov rdx, r10
mov rcx, r9
call rbx
jmp 0x1400019cd

Function at 0x140001a10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor edi, edi
lea rcx, str.....x64Release_
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
mov edx, 2
mov r8d, 1
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov dword [rsp + 0x60], edi
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140001aa0
lea r8, [fcn.140001a04]
mov qword [rsp + 0x20], rdi
lea rdx, section..text
mov rcx, rax
sub r8d, edx
lea r9, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140001aa0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rsp, 0x40
pop rdi
ret

Function at 0x1400021d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002222
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002222
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002222
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002222
cmp dword [rcx + 0x84], 0xe
jbe 0x140002222
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002224
xor al, al
add rsp, 0x28
ret
Function at 0x1400084a0
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 0x1400084fd
lea rbx, [0x140188f80]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400084e4
cmp r10, 2
jb 0x1400084e4
cmp byte [r9], r8b
jne 0x1400084e4
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 0x1400084c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000853f
lea rbx, [0x140188f80]
cmp r8b, 0x23
jne 0x140008523
cmp byte [r9], r8b
jne 0x140008523
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 0x140008510
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140008680
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000869a
mov qword [r8], 0
lea rdx, [0x14018e450]
call fcn.140008550
mov rbx, rax
test rax, rax
jne 0x1400086ba
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 0x140008793
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140008793
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140008793
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 0x140008793
cmp rdi, 0xffffffffffffffff
je 0x140008793
mov rax, qword [0x1401afda8]
test rax, rax
je 0x140008730
inc dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140008793
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 0x140008780
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401afda8]
test rax, rax
je 0x140008775
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000879c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000878e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000879e
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 0x14000ba90
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140188f80]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x14000bb24
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001f0a0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000bb40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x140188f80]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret