joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001df10
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp byte [0x140204b30], 0
je 0x14001e10c
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001e10c
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001e10c
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001dfb2
cmp byte [0x140205008], 0
je 0x14001dfbc
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x44
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x44
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x44
xor edx, edx
call rdi
mov cl, 0x44
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001dfb5
mov sil, 1
mov byte [0x140205008], sil
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001e022
cmp byte [0x140205009], 0
je 0x14001e02c
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x41
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x41
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x41
xor edx, edx
call rdi
mov cl, 0x41
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001e025
mov sil, 1
mov byte [0x140205009], sil
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001e092
cmp byte [0x14020500a], 0
je 0x14001e09c
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x53
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x53
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x53
xor edx, edx
call rdi
mov cl, 0x53
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001e095
mov sil, 1
mov byte [0x14020500a], sil
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001e102
cmp byte [0x14020500b], 0
je 0x14001e10c
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x57
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x57
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x57
xor edx, edx
call rdi
mov cl, 0x57
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001e105
mov sil, 1
mov byte [0x14020500b], sil
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x14001e900
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
cmp byte [0x140204b00], 0
je 0x14001e9b3
mov rdi, rcx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov si, ax
mov edi, dword [rdi + 0x100]
lea rcx, [0x140203f60]
lea rdx, [rbp - 0xc]
call fcn.140021530
and edi, 1
test si, si
je 0x14001e978
test edi, edi
je 0x14001e978
mov qword [rbp - 0x18], 0x10
lea rcx, [rbp - 0x18]
call fcn.140011850
lea rcx, [0x140203f60]
mov edx, 0x10001
call fcn.1400214b0
jmp 0x14001e9b3
test si, si
je 0x14001e994
test edi, edi
jne 0x14001e994
lea rcx, [0x140203f60]
mov edx, 0x100
call fcn.1400214b0
jmp 0x14001e9b3
test si, si
jne 0x14001e9b3
cmp dword [rbp - 0xc], 0x10001
jne 0x14001e9b3
lea rcx, [0x140203f60]
mov edx, 0x100
call fcn.1400214b0
nop
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140021130
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x458
lea rbp, [rsp + 0x80]
vmovaps xmmword [rbp + 0x3c0], xmm6
mov rsi, rdx
mov dword [rbp - 0x78], 0x438
mov edx, dword [rcx + 0x10]
sub rsp, 0x20
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
lea rdx, [rbp - 0x78]
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
add rsp, 0x20
lea r14, [rbp - 0x48]
movabs r13, 0x100000000
vxorps xmm6, xmm6, xmm6
mov rbx, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop word cs:[rax + rax]
cmp qword [rsi + 0x18], 0x10
mov r15, rsi
jb 0x1400211bd
mov r15, qword [rsi]
sub rsp, 0x20
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add rsp, 0x20
mov rcx, rax
shl rcx, 0x20
add rcx, r13
sar rcx, 0x1f
mov rax, rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.140105d80
sub rsp, rax
mov r12, rsp
mov byte [r12], 0
sub rsp, 0x40
vmovups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r12
mov ecx, 3
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call rbx
add rsp, 0x40
test eax, eax
mov ecx, 0
cmovne rcx, r12
sub rsp, 0x20
mov rdx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add rsp, 0x20
sub rsp, 0x20
test eax, eax
je 0x140021270
mov rcx, rdi
lea rdx, [rbp - 0x78]
call sub.KERNEL32.dll_Module32NextW
add rsp, 0x20
test eax, eax
jne 0x1400211b0
sub rsp, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
xor edi, edi
jmp 0x140021281
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
mov rdi, qword [rbp - 0x50]
mov rax, qword [rsi + 0x18]
cmp rax, 0x10
jb 0x1400212c3
mov rcx, qword [rsi]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400212b6
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400212f5
add rax, 0x28
mov rdx, rax
mov rcx, r8
sub rsp, 0x20
call fcn.140105bd0
add rsp, 0x20
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rax, rdi
vmovaps xmm6, xmmword [rbp + 0x3c0]
lea rsp, [rbp + 0x3d8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
sub rsp, 0x20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140026ac0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc0], 0xfffffffffffffffe
mov rsi, rcx
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rcx, [0x14010e555]
lea r9, [rbp + 0xbc]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rcx, [rbp - 0x40]
mov edx, 1
call fcn.14001e530
lea rcx, [rbp - 0x30]
mov edx, dword [rbp + 0xbc]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rcx, [rbp - 0x40]
mov rdx, rsi
call fcn.14001e6e0
lea rdi, [rbp + 0x58]
mov rax, qword [rbp - 0x40]
movsxd rax, dword [rax + 4]
lea rcx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rax - 0x40], rcx
mov rax, qword [rbp - 0x40]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0x98]
mov dword [rbp + rax - 0x44], ecx
lea rbx, [rbp - 0x28]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x28], rax
mov rcx, rbx
call fcn.140014e40
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::ios_base::destructor_void____ptr64]
mov rax, rsi
add rsp, 0x148
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x140026c50
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x258
lea rbp, [rsp + 0x80]
vmovaps xmmword [rbp + 0x1c0], xmm6
mov rsi, rdx
mov dword [rbp - 0x78], 0x238
sub rsp, 0x20
mov ecx, 0xf
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
lea rdx, [rbp - 0x78]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
add rsp, 0x20
lea r14, [rbp - 0x4c]
movabs r12, 0x100000000
vxorps xmm6, xmm6, xmm6
mov r13, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop word cs:[rax + rax]
cmp qword [rsi + 0x18], 0x10
mov r15, rsi
jb 0x140026cdd
mov r15, qword [rsi]
sub rsp, 0x20
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add rsp, 0x20
mov rcx, rax
shl rcx, 0x20
add rcx, r12
sar rcx, 0x1f
mov rax, rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.140105d80
sub rsp, rax
mov rbx, rsp
mov byte [rbx], 0
sub rsp, 0x40
vmovups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov ecx, 3
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call r13
add rsp, 0x40
test eax, eax
mov ecx, 0
cmovne rcx, rbx
sub rsp, 0x20
mov rdx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add rsp, 0x20
sub rsp, 0x20
test eax, eax
je 0x140026d8e
mov rcx, rdi
lea rdx, [rbp - 0x78]
call sub.KERNEL32.dll_Process32NextW
add rsp, 0x20
test eax, eax
jne 0x140026cd0
sub rsp, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
xor edi, edi
jmp 0x140026d9e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
mov edi, dword [rbp - 0x70]
mov rax, qword [rsi + 0x18]
cmp rax, 0x10
jb 0x140026de0
mov rcx, qword [rsi]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140026dd3
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140026e11
add rax, 0x28
mov rdx, rax
mov rcx, r8
sub rsp, 0x20
call fcn.140105bd0
add rsp, 0x20
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov eax, edi
vmovaps xmm6, xmmword [rbp + 0x1c0]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
sub rsp, 0x20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140028d00
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x140203ac0]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x140028e2d
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140028d5d
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x140028d5d
dec ecx
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x140028e72
cmp qword [rdi + 0x80], 0
je 0x140028e31
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x140028d97
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x140028e38
mov byte [rsp + 0x5f], sil
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x60]
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x5f]
mov r8, rbx
call qword [r10 + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x140028e51
mov r15, qword [rsp + 0x48]
sub r15, r14
je 0x140028e1d
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x140028e70
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rbx
mov eax, 0xffffffff
jmp 0x140028e6b
xor esi, esi
jmp 0x140028e72
mov esi, 0xffffffff
jmp 0x140028e72
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
jmp 0x140028e72
cmp eax, 3
jne 0x140028e70
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140105bb0
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400292e0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x14002931b
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140029322
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
xor esi, esi
jmp 0x140029419
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140029375
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x140029375
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x140029386
jmp 0x140029416
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x140029416
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x1400293b2
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
nop dword [rax]
cmp r14, 0x1000
jb 0x1400293f1
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call r15
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x1400293c0
jmp 0x140029416
test r14, r14
je 0x140029413
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r14, rax
jmp 0x140029416
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140029430
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140029466
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400294b3
test rsi, rsi
jle 0x1400294b3
mov rax, qword [rbx + 0x58]
mov r15d, dword [rax]
test r15d, r15d
jle 0x1400294b3
cmp r15, rsi
cmovae r15, rsi
mov rdx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x58]
sub dword [rax], r15d
mov rax, qword [rbx + 0x40]
add qword [rax], r15
test r14, r14
jg 0x1400294bb
jmp 0x1400294db
mov r14, rsi
test r14, r14
jle 0x1400294db
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x1400294db
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub r14, rax
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400298d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140203ac0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x14002997a
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x14002997a
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140029978
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x140029991
cmp eax, 1
je 0x140029947
test eax, eax
jne 0x140029978
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x14002996e
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140029978
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x14002997a
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140105bb0
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x71], 0
mov dil, 1
jmp 0x14002997a

Function at 0x14002cfd0
Capabilities:
Hash data with crc32

Disassembly:
not r8d
test rdx, rdx
je 0x14002d031
dec rdx
add rcx, 2
lea r9, [0x14010f370]
mov r10d, r8d
jmp 0x14002d011
mov eax, r10d
shr eax, 8
movzx r10d, r10b
xor r10d, r11d
xor eax, dword [r9 + r10*4]
inc rcx
mov r10d, eax
add rdx, 0xffffffffffffffff
jae 0x14002d090
movzx r11d, byte [rcx - 2]
cmp r11d, 0x23
jne 0x14002cff0
cmp rdx, 2
jb 0x14002cff0
cmp byte [rcx - 1], 0x23
jne 0x14002cff0
cmp byte [rcx], 0x23
cmove r10d, r8d
jmp 0x14002cff0
movzx r9d, byte [rcx]
test r9b, r9b
je 0x14002d093
add rcx, 2
lea rdx, [0x14010f370]
mov r10d, r8d
jmp 0x14002d073
movzx r9d, r9b
mov eax, r10d
shr eax, 8
movzx r10d, r10b
xor r10d, r9d
xor eax, dword [rdx + r10*4]
inc rcx
mov r9d, r11d
mov r10d, eax
test r11b, r11b
je 0x14002d090
movzx r11d, byte [rcx - 1]
cmp r9b, 0x23
jne 0x14002d050
cmp r11b, 0x23
jne 0x14002d050
cmp byte [rcx], 0x23
cmove r10d, r8d
mov r11b, 0x23
jmp 0x14002d050
not eax
ret
mov eax, r8d
not eax
ret
Function at 0x14002d2a0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov ebx, r9d
mov rsi, r8
test r8, r8
je 0x14002d2c0
mov qword [rsi], 0
call fcn.14002d0a0
test rax, rax
je 0x14002d2fb
mov rdi, rax
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
cmp eax, 0xffffffff
je 0x14002d2f2
mov ebp, eax
mov rcx, rdi
xor edx, edx
mov r8d, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
je 0x14002d310
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor r14d, r14d
mov rax, r14
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
cmp eax, 0xffffffff
je 0x14002d2f2
mov r14d, eax
xor r15d, r15d
mov rcx, rdi
mov edx, ebp
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
neg eax
sbb r15d, r15d
or r15d, r14d
cmp r15d, 0xffffffff
je 0x14002d2f2
movsxd r15, r15d
movsxd r12, ebx
lea rcx, [r15 + r12]
mov rax, qword [0x1402055d0]
test rax, rax
je 0x14002d35c
inc dword [rax + 0xf4]
mov rdx, qword [0x1402055e0]
call qword [0x1401e7378]
test rax, rax
je 0x14002d2f2
mov r14, rax
mov edx, 1
mov rcx, rax
mov r8, r15
mov r9, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, r15
jne 0x14002d3b8
test ebx, ebx
jle 0x14002d39e
mov rcx, r14
add rcx, r15
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14002d2fe
mov qword [rsi], r15
jmp 0x14002d2fe
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1402055d0]
test rax, rax
je 0x14002d3d3
dec dword [rax + 0xf4]
mov rdx, qword [0x1402055e0]
mov rcx, r14
call qword [0x1401e7380]
jmp 0x14002d2fb
Function at 0x1400345a0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r9, r8
mov r8, rdx
mov rax, qword [rcx + 0xf8]
movsxd rdx, dword [rcx + 0xf0]
mov eax, dword [rax + rdx*4 - 4]
not eax
test r9, r9
je 0x14003462e
mov rdx, r9
sub rdx, r8
je 0x14003462e
mov rdx, r8
not rdx
add rdx, r9
lea r10, [r8 + 2]
lea r11, [0x14010f370]
mov edi, eax
jmp 0x14003460e
mov esi, edi
shr esi, 8
movzx edi, dil
xor edi, ebx
xor esi, dword [r11 + rdi*4]
inc r10
mov edi, esi
add rdx, 0xffffffffffffffff
jae 0x14003468b
movzx ebx, byte [r10 - 2]
cmp ebx, 0x23
jne 0x1400345f0
cmp rdx, 2
jb 0x1400345f0
cmp byte [r10 - 1], 0x23
jne 0x1400345f0
cmp byte [r10], 0x23
cmove edi, eax
jmp 0x1400345f0
movzx r11d, byte [r8]
test r11b, r11b
je 0x140034689
lea rdx, [r8 + 2]
lea r10, [0x14010f370]
mov edi, eax
jmp 0x140034670
movzx r11d, r11b
mov esi, edi
shr esi, 8
movzx edi, dil
xor edi, r11d
xor esi, dword [r10 + rdi*4]
inc rdx
mov r11d, ebx
mov edi, esi
test bl, bl
je 0x14003468b
movzx ebx, byte [rdx - 1]
cmp r11b, 0x23
jne 0x140034650
cmp bl, 0x23
jne 0x140034650
cmp byte [rdx], 0x23
cmove edi, eax
mov bl, 0x23
jmp 0x140034650
mov esi, eax
not esi
mov rax, qword [rcx]
cmp dword [rax + 0x3f40], esi
jne 0x1400346a4
mov ecx, esi
mov edx, 0xb
call fcn.140034db0
mov eax, esi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140044070
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov edi, r9d
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1402055d0]
mov rcx, qword [rax + 0x3ef8]
mov byte [rcx + 0xb8], 1
mov rax, qword [rax + 0x3ef8]
mov rcx, qword [rax + 0xf8]
movsxd rdx, dword [rax + 0xf0]
mov ebp, dword [rcx + rdx*4 - 4]
movzx r9d, byte [r14]
test r9b, r9b
je 0x140044111
not ebp
lea rcx, [r14 + 2]
lea rdx, [0x14010f370]
mov r8d, ebp
jmp 0x1400440ee
movzx r9d, r9b
movzx r11d, r8b
shr r8d, 8
xor r11d, r9d
xor r8d, dword [rdx + r11*4]
inc rcx
mov r9d, r10d
test r10b, r10b
je 0x14004410b
movzx r10d, byte [rcx - 1]
cmp r9b, 0x23
jne 0x1400440d0
cmp r10b, 0x23
jne 0x1400440d0
cmp byte [rcx], 0x23
cmove r8d, ebp
mov r10b, 0x23
jmp 0x1400440d0
not r8d
mov ebp, r8d
mov rax, qword [rax]
cmp dword [rax + 0x3f40], ebp
jne 0x14004412e
mov ecx, ebp
mov edx, 0xb
mov r8, r14
xor r9d, r9d
call fcn.140034db0
mov dword [rsp + 0x20], edi
mov rcx, r14
mov edx, ebp
mov r8, rsi
mov r9d, ebx
call fcn.140043c60
nop
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x140045060
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
test r9b, r9b
je 0x1400450bd
add rcx, 2
mov edx, 0xffffffff
lea r8, [0x14010f370]
mov eax, 0xffffffff
jmp 0x14004509d
movzx r9d, r9b
movzx r11d, al
shr eax, 8
xor r11d, r9d
xor eax, dword [r8 + r11*4]
inc rcx
mov r9d, r10d
test r10b, r10b
je 0x1400450b9
movzx r10d, byte [rcx - 1]
cmp r9b, 0x23
jne 0x140045080
cmp r10b, 0x23
jne 0x140045080
cmp byte [rcx], 0x23
cmove eax, edx
mov r10b, 0x23
jmp 0x140045080
not eax
jmp 0x1400450bf
xor eax, eax
mov rdx, qword [0x1402055d0]
mov rcx, qword [rdx + 0x3ee0]
movsxd r8, dword [rdx + 0x3ed8]
test r8, r8
je 0x140045117
mov rdx, rcx
mov r10, r8
mov r9, r8
jmp 0x1400450f8
mov r10, r9
test r9, r9
je 0x14004511d
shr r9, 1
mov r11, r9
shl r11, 4
cmp dword [rdx + r11], eax
jae 0x1400450f0
not r9
add r9, r10
add rdx, r11
add rdx, 0x10
jmp 0x1400450f0
xor r8d, r8d
mov rdx, rcx
shl r8, 4
add rcx, r8
cmp rdx, rcx
je 0x140045132
cmp dword [rdx], eax
jne 0x140045132
mov rax, qword [rdx + 8]
ret
xor eax, eax
ret
Function at 0x140046ba0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r8, rcx
mov rax, qword [0x1402055d0]
mov rbx, qword [rax + 0x3ef8]
mov rcx, qword [rbx + 0xf8]
movsxd rax, dword [rbx + 0xf0]
mov esi, dword [rcx + rax*4 - 4]
movzx r10d, byte [r8]
test r10b, r10b
je 0x140046c31
not esi
lea rcx, [r8 + 2]
lea rdx, [0x14010f370]
mov r9d, esi
jmp 0x140046c0e
movzx r10d, r10b
movzx edi, r9b
shr r9d, 8
xor edi, r10d
xor r9d, dword [rdx + rdi*4]
inc rcx
mov r10d, r11d
test r11b, r11b
je 0x140046c2b
movzx r11d, byte [rcx - 1]
cmp r10b, 0x23
jne 0x140046bf0
cmp r11b, 0x23
jne 0x140046bf0
cmp byte [rcx], 0x23
cmove r9d, esi
mov r11b, 0x23
jmp 0x140046bf0
not r9d
mov esi, r9d
mov rcx, qword [rbx]
cmp dword [rcx + 0x3f40], esi
jne 0x140046c51
mov ecx, esi
mov edx, 0xb
xor r9d, r9d
call fcn.140034db0
mov eax, dword [rbx + 0xf0]
cmp eax, dword [rbx + 0xf4]
jne 0x140046d09
lea ebp, [rax + 1]
test eax, eax
je 0x140046c71
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
add ecx, eax
jmp 0x140046c76
mov ecx, 8
cmp ecx, ebp
cmovg ebp, ecx
cmp eax, ebp
jge 0x140046d09
movsxd rcx, ebp
shl rcx, 2
mov rax, qword [0x1402055d0]
test rax, rax
je 0x140046c9c
inc dword [rax + 0xf4]
mov rdx, qword [0x1402055e0]
call qword [0x1401e7378]
mov rdi, rax
mov rdx, qword [rbx + 0xf8]
test rdx, rdx
je 0x140046cf6
movsxd r8, dword [rbx + 0xf0]
shl r8, 2
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0xf8]
test rcx, rcx
je 0x140046ce9
mov rax, qword [0x1402055d0]
test rax, rax
je 0x140046ce9
dec dword [rax + 0xf4]
mov rdx, qword [0x1402055e0]
call qword [0x1401e7380]
mov qword [rbx + 0xf8], rdi
mov dword [rbx + 0xf4], ebp
mov eax, dword [rbx + 0xf0]
mov rcx, qword [rbx + 0xf8]
cdqe
mov dword [rcx + rax*4], esi
inc dword [rbx + 0xf0]
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret