joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140082df0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x160
mov rax, qword [0x140403f00]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x12c
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], pe_nt_image_headers64
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140082e47
xor eax, eax
jmp 0x140082f36
mov qword [rsp + 0x170], rbx
lea rdx, [rsp + 0x20]
mov rcx, rbp
mov qword [rsp + 0x178], rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140082e71
cmp qword [rsi + 0x18], 0xf
mov rcx, rsi
mov rdi, qword [rsi + 0x10]
jbe 0x140082e8b
mov rcx, qword [rsi]
cmp rbx, rdi
lea rdx, [rsp + 0x4c]
mov r8, rdi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140082eae
cmp rdi, rbx
jb 0x140082eae
jbe 0x140082f60
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140082f1b
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140082ed0
cmp qword [rsi + 0x18], 0xf
mov rcx, rsi
mov rdi, qword [rsi + 0x10]
jbe 0x140082eea
mov rcx, qword [rsi]
cmp rbx, rdi
lea rdx, [rsp + 0x4c]
mov r8, rdi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140082f09
cmp rdi, rbx
jb 0x140082f09
jbe 0x140082f57
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140082ec0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14029a860
mov rbp, qword [rsp + 0x180]
add rsp, 0x160
pop rsi
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140082f26
Function at 0x140083280
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1048
call fcn.14029b340
sub rsp, rax
mov rax, qword [0x140403f00]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x1400832d0
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14029a860
add rsp, 0x1048
ret
mov qword [rsp + 0x1050], rbx
xor eax, eax
mov qword [rsp + 0x1058], rsi
mov ebx, eax
mov esi, dword [rsp + 0x20]
shr esi, 2
test esi, esi
je 0x14008331d
mov qword [rsp + 0x1040], rdi
lea rdi, [rsp + 0x30]
nop dword [rax]
mov ecx, dword [rdi]
call fcn.140082f70
test eax, eax
jne 0x140083315
inc ebx
add rdi, 4
cmp ebx, esi
jb 0x140083300
mov rdi, qword [rsp + 0x1040]
mov rsi, qword [rsp + 0x1058]
mov rbx, qword [rsp + 0x1050]
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14029a860
add rsp, 0x1048
ret

Function at 0x1400855d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x140407e68], 0
jne 0x140085674
mov eax, dword [reloc.WS2_32.dll_accept]
dec eax
movsxd rcx, eax
lea rax, [0x140405388]
cmp byte [rcx + rax], 0
je 0x14008566d
cmp byte [0x140407e8b], 0
je 0x140085615
mov ecx, dword [0x1404054c8]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14008566d
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
sub rdx, qword [0x140407e80]
cmp rdx, 0x8c
ja 0x14008565b
cmp byte [0x140407e8c], 0
jne 0x14008565b
cmp byte [0x140407e91], 0
je 0x14008566d
cmp byte [0x1404080c0], 0
jne 0x1400856a4
cmp byte [0x140407e8a], 0
je 0x1400856a4
xor al, al
add rsp, 0x28
ret
cmp byte [0x140407e8e], 0
je 0x14008566d
cmp byte [0x140407e93], 0
je 0x1400856a4
mov eax, dword [reloc.WS2_32.dll_accept]
dec eax
movsxd rcx, eax
lea rax, [0x140405388]
cmp byte [rcx + rax], 0
setne al
add rsp, 0x28
ret
mov al, 1
add rsp, 0x28
ret
Function at 0x140086310
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10d, dword [0x140403fe0]
lea r11, [0x140403fe0]
mov r9d, 0x270
cmp r10d, r9d
jne 0x140086375
lea r8, [0x140403fe8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140086330
mov r10d, dword [0x140403fe0]
jmp 0x14008644f
cmp r10d, 0x4e0
jb 0x14008644f
xor r10d, r10d
mov r8d, 0x38c
mov r9d, r10d
nop
mov eax, dword [r9 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r9 + r11 + 0x9c8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + r11 + 0xff8]
xor ecx, edx
mov dword [r9 + r11 + 4], ecx
add r9, 4
cmp r9, r8
jb 0x140086390
mov eax, dword [r8 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r8 + r11 + 0x9c8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + r11 - 0x388]
xor ecx, edx
mov dword [r8 + r11 + 4], ecx
add r8, 4
cmp r8, 0x9bc
jb 0x1400863d0
mov edx, dword [0x140405360]
xor edx, dword [0x140403fe4]
btr edx, 0x1f
mov dword [0x140403fe0], r10d
xor edx, dword [0x140405360]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [0x140404614]
mov dword [0x1404049a0], ecx
mov eax, r10d
mov ecx, dword [r11 + rax*4 + 4]
inc eax
mov dword [0x140403fe0], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x140405364]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x1400931e0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140408770]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x140408798]
js 0x140093204
cvtsi2ss xmm0, rcx
jmp 0x140093219
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x140408760]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1403dbe50]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14009324b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14009324b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14009327d
cmp rbx, 0x200
jae 0x14009327a
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14009327d
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400932b0
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400932e1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140408768]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140408778]
lea rdx, [rdi + rdi]
call fcn.140092d00
mov rax, qword [0x140408768]
lea r9, [rdi - 1]
mov qword [0x140408790], r9
mov qword [0x140408798], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140093454
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140408778]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400933a0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140093415
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400933dd
mov r10, qword [rdx]
cmp r10, rax
je 0x1400933d7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140093415
cmp r9, rdx
je 0x1400933f1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140093429
cmp r9, rdx
jne 0x1400933e2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14009344f
mov r9, qword [0x140408790]
jmp 0x140093351
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140093415
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400932b0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140408770]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x140408798]
js 0x140093204
cvtsi2ss xmm0, rcx
jmp 0x140093219
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x140408760]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1403dbe50]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14009324b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14009324b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14009327d
cmp rbx, 0x200
jae 0x14009327a
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14009327d
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400932b0
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400932e1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140408768]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140408778]
lea rdx, [rdi + rdi]
call fcn.140092d00
mov rax, qword [0x140408768]
lea r9, [rdi - 1]
mov qword [0x140408790], r9
mov qword [0x140408798], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140093454
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140408778]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400933a0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140093415
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400933dd
mov r10, qword [rdx]
cmp r10, rax
je 0x1400933d7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140093415
cmp r9, rdx
je 0x1400933f1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140093429
cmp r9, rdx
jne 0x1400933e2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14009344f
mov r9, qword [0x140408790]
jmp 0x140093351
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140093415
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140093a70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x140403f00]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x12c
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], pe_nt_image_headers64
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140093be8
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140093ae6
mov r14, qword [rdi + 0x18]
mov rcx, rdi
mov rsi, qword [rdi + 0x10]
cmp r14, 0xf
jbe 0x140093b03
mov rcx, qword [rdi]
cmp rbx, rsi
lea rdx, [rsp + 0x4c]
mov r8, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140093b64
cmp rsi, rbx
jb 0x140093b64
ja 0x140093b64
mov ebx, dword [rsp + 0x28]
cmp r14, 0xf
jbe 0x140093b5d
lea rdx, [r14 + 1]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140093b58
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140093c7e
mov rcx, r8
call fcn.14029abd4
mov eax, ebx
jmp 0x140093c20
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140093bdf
nop word [rax + rax]
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140093b90
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
mov rsi, qword [rdi + 0x10]
jbe 0x140093baa
mov rcx, qword [rdi]
cmp rbx, rsi
lea rdx, [rsp + 0x4c]
mov r8, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140093bcd
cmp rsi, rbx
jb 0x140093bcd
jbe 0x140093c5b
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140093b80
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140093c1e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140093c19
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140093c7e
mov rcx, r8
call fcn.14029abd4
xor eax, eax
mov byte [rdi], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], 0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14029a860
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rsp + 0x28]
cmp rdx, 0xf
jbe 0x140093b5d
inc rdx
jmp 0x140093b30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140096370
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 0x1400963cd
lea rbx, [0x1403d61a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400963b4
cmp r10, 2
jb 0x1400963b4
cmp byte [r9], r8b
jne 0x1400963b4
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 0x140096390
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14009640f
lea rbx, [0x1403d61a0]
cmp r8b, 0x23
jne 0x1400963f3
cmp byte [r9], r8b
jne 0x1400963f3
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 0x1400963e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140096550
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14009656a
mov qword [r8], 0
lea rdx, [0x1403db084]
call fcn.140096420
mov rbx, rax
test rax, rax
jne 0x14009658a
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 0x140096661
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 0x140096661
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140096661
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 0x140096661
cmp rdi, 0xffffffffffffffff
je 0x140096661
mov rax, qword [0x140407ef8]
test rax, rax
je 0x1400965fe
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140096661
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 0x14009664e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140407ef8]
test rax, rax
je 0x140096643
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14009666a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14009665c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14009666c
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 0x140098cf0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1403d61a0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x140407ef8]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ecc], ebx
jne 0x140098d86
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1400ab8e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140098d90
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x1403d61a0]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
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
Function at 0x1400a5220
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140403f00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140407ef8]
mov edi, ecx
cmp byte [rbx + 0x4245], 0
jne 0x1400a5281
cmp byte [rbx + 0x4246], 0
jne 0x1400a5281
movsx r9d, word [rbx + 0x532a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140096230
test dil, 1
je 0x1400a53a8
jmp 0x1400a530a
movss xmm1, dword [rbx + 0x3890]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x532a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1403dbd14]
mulss xmm1, dword [0x1403dbcec]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdf4]
addss xmm1, dword [rbx + 0xdf8]
mov qword [rbx + 0x3fb0], rax
mov dword [rbx + 0x3f9c], 1
movss dword [rbx + 0x3fa8], xmm0
movss dword [rbx + 0x3fac], xmm1
movss xmm0, dword [rbx + 0x38ec]
mulss xmm0, dword [0x1403dbc00]
or dword [rbx + 0x3f98], 0x41
movss dword [rbx + 0x3ff8], xmm0
call fcn.140096230
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400a5360
lea r11, [0x1403d61a0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400a5343
cmp byte [r8], r9b
jne 0x1400a5343
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 0x1400a5330
not ecx
call fcn.14009e3f0
test rax, rax
je 0x1400a53a8
cmp byte [rax + 0x96], 0
je 0x1400a53a8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x532a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x532a]
call fcn.140096230
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400a0b70
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14029a860
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400aa490
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53d8], 0
lea rbx, [rcx + 0x53e0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400aa537
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400aa4ea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400ac630
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140096ce0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53d8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53e8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140407ea9]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400aa53f
mov rcx, rbx
call fcn.140096ce0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400aaab0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140407ef8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400aab13
mov qword [rsp], rbx
lea rbx, [0x1403d61a0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400aaaf3
cmp byte [r8], r9b
jne 0x1400aaaf3
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 0x1400aaae0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5388]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400aab47
mov r10, qword [r10 + 0x5390]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400aab4e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400aab34
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret