joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002d8c
Capabilities:
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp - 4], 0xffffffff
call fcn.1400029e6
cmp eax, 1
jne 0x140002de2
mov qword [rbp - 0x10], 0
lea rax, [rbp - 0x10]
mov rcx, rax
call fcn.140002920
test eax, eax
je 0x140002df5
mov rax, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call rax
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.140002983
jmp 0x140002df5
mov rax, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0xffffffff
setne al
movzx eax, al
add rsp, 0x30
pop rbp
ret

Function at 0x140002e05
Capabilities:
Get local ipv4 addresses

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x1c], 0
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0x6f
jne 0x140002f1f
mov eax, dword [rbp - 0x1c]
mov eax, eax
mov rdx, rax
mov ecx, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_LocalAlloc]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x18], rax
cmp qword [rbp - 8], 0
je 0x140002f1f
mov rdx, qword [rbp - 8]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
mov r9, rdx
mov r8d, 0
mov edx, 0
mov ecx, 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rbp - 0x22], 0
mov word [rbp - 0x1e], 0
jmp 0x140002f08
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x58]
cmp eax, 6
jne 0x140002efc
mov rax, qword [rbp - 8]
add rax, 0x50
mov edx, dword [rax]
mov dword [rbp - 0x22], edx
movzx eax, word [rax + 4]
mov word [rbp - 0x1e], ax
lea rdx, [rbp - 0x22]
mov rax, qword [rbp + 0x10]
mov r8d, 3
mov rcx, rax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x140002efc
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov eax, 1
jmp 0x140002f24
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002eaa
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov eax, 0
add rsp, 0x60
pop rbp
ret
Function at 0x140002f2a
Capabilities:
Get local ipv4 addresses

Disassembly:
push rbp
sub rsp, 0x850
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x7e0], rcx
mov dword [rbp + 0x7b4], 0
mov rdx, qword [rbp + 0x7e0]
lea rax, [rbp - 0x50]
mov r8d, 0x7fe
mov rcx, rax
call sub.msvcrt.dll_mbstowcs
lea rax, [rbp + 0x7b4]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rbp + 0x7c4], eax
cmp dword [rbp + 0x7c4], 0x6f
jne 0x140003070
mov eax, dword [rbp + 0x7b4]
mov eax, eax
mov rdx, rax
mov ecx, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_LocalAlloc]
call rax
mov qword [rbp + 0x7c8], rax
mov rax, qword [rbp + 0x7c8]
mov qword [rbp + 0x7b8], rax
cmp qword [rbp + 0x7c8], 0
je 0x140003070
mov rdx, qword [rbp + 0x7c8]
lea rax, [rbp + 0x7b4]
mov qword [rsp + 0x20], rax
mov r9, rdx
mov r8d, 0
mov edx, 0
mov ecx, 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x14000305d
jmp 0x140003053
mov rax, qword [rbp + 0x7c8]
mov rax, qword [rax + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, rax
call sub.msvcrt.dll_wcsstr
test rax, rax
je 0x140003041
mov rax, qword [rbp + 0x7b8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov eax, 1
jmp 0x140003075
mov rax, qword [rbp + 0x7c8]
mov rax, qword [rax + 8]
mov qword [rbp + 0x7c8], rax
cmp qword [rbp + 0x7c8], 0
jne 0x14000300b
mov rax, qword [rbp + 0x7b8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov eax, 0
add rsp, 0x850
pop rbp
ret
Function at 0x14000307e
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp - 0x20], 0
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.ole32.dll_CoInitializeEx]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jns 0x1400030bc
mov eax, 0
jmp 0x140003208
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0xffffffff
mov ecx, 0
mov rax, qword [sym.imp.ole32.dll_CoInitializeSecurity]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jns 0x140003121
mov rax, qword [sym.imp.ole32.dll_CoUninitialize]
call rax
mov eax, 0
jmp 0x140003208
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9, qword [0x140011310]
mov r8d, 1
mov edx, 0
mov rax, qword [0x140011300]
mov rcx, rax
mov rax, qword [sym.imp.ole32.dll_CoCreateInstance]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jns 0x14000316b
mov rax, qword [sym.imp.ole32.dll_CoUninitialize]
call rax
mov eax, 0
jmp 0x140003208
mov rax, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.OLEAUT32.dll_SysAllocString]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
mov r10, qword [rax + 0x18]
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp + 0x18]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rcx, rax
call r10
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
not eax
shr eax, 0x1f
movzx eax, al
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.OLEAUT32.dll_SysFreeString]
call rax
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call rdx
mov eax, dword [rbp - 0x14]
add rsp, 0x70
pop rbp
ret

Function at 0x140004d03
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
rdtsc
mov dword [rbp - 4], eax
mov dword [rbp - 8], edx
mov eax, dword [rbp - 4]
mov edx, dword [rbp - 8]
shl rdx, 0x20
or rax, rdx
mov qword [rbp - 0x10], rax
rdtsc
mov dword [rbp - 4], eax
mov dword [rbp - 8], edx
mov eax, dword [rbp - 4]
mov edx, dword [rbp - 8]
shl rdx, 0x20
or rax, rdx
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
sub rax, qword [rbp - 0x10]
add rsp, 0x20
pop rbp
ret

Function at 0x140004d4b
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
rdtsc
mov dword [rbp - 4], eax
mov dword [rbp - 8], edx
mov eax, dword [rbp - 4]
mov edx, dword [rbp - 8]
shl rdx, 0x20
or rax, rdx
mov qword [rbp - 0x10], rax
mov eax, 0
cpuid
rdtsc
mov dword [rbp - 4], eax
mov dword [rbp - 8], edx
mov eax, dword [rbp - 4]
mov edx, dword [rbp - 8]
shl rdx, 0x20
or rax, rdx
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
sub rax, qword [rbp - 0x10]
add rsp, 0x20
pop rbp
ret
Function at 0x1400061f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14000c000
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14000c000
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140006260
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400168d4]
mov rbx, rcx
test esi, esi
jle 0x140006390
mov rax, qword [0x1400168d8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400062ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140006335
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140006290
mov rcx, rbx
call fcn.140006cb0
mov rdi, rax
test rax, rax
je 0x1400063b2
mov rax, qword [0x1400168d8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140006df0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400168d8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140006397
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000632e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140006340
add dword [0x1400168d4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400168d8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000632e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400061f0
nop dword [rax]
xor esi, esi
jmp 0x1400062b8
mov rax, qword [0x1400168d8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400061f0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400061f0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140006920
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140016940]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140016920]
test rbx, rbx
je 0x14000697c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140006973
test rsi, rsi
je 0x140006973
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140006958
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140006cb0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140011380]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140006cd0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140006cd8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140006cd0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140006d2d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140006d24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140006cd0
add rax, 0x28
cmp rax, r9
jne 0x140006d10
xor eax, eax
ret

Function at 0x140006d30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140011380]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140006d4f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140006d58
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140006d4f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140006df0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140011380]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140006e0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140006e18
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14000fb20
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x14000fb55
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 + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.14000f410
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x14000fcc4
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x14000fc3c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14000fcb3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14000fc79
mov r10, qword [rdx]
cmp r10, rax
je 0x14000fc73
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 0x14000fcb3
cmp r9, rdx
je 0x14000fc8f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14000fcd5
cmp r9, rdx
jne 0x14000fc80
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, rdi
jne 0x14000fbc0
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
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 0x14000fcb3
Function at 0x1400159f0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x14018874b], 0
mov rsi, rax
mov ecx, dword [0x140188748]
mov dword [rsp + 0x48], ecx
je 0x140015b01
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140015ac1
movdqa xmm3, xmmword [0x140192830]
mov eax, 4
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140192aa0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140192aa0]
shufps xmm2, xmm0, 0xdd
movd xmm0, eax
mov eax, Ordinal_33
psrad xmm2, xmm0
movdqa xmm1, xmm2
movd xmm0, eax
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1401928a0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140192a20]
movd xmm0, ecx
xorps xmm2, xmm0
movd dword [rsp + 0x48], xmm2
jmp 0x140015b01
lea r9, [rsp + 0x48]
xor r8d, r8d
nop dword [rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140015ad0
lea r8, [rsp + 0x48]
mov edx, reloc.WS2_32.dll_WSAStartup
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [0x1401cd1c0]
mov rdx, rdi
movss xmm3, dword [0x14019272c]
mov r8d, eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rcx + 0x38]
call fcn.14003d410
mov qword [0x1401cd190], rax
test rax, rax
jne 0x140015b89
mov rax, qword [0x1401cd1c0]
mov rcx, qword [rax + 0x48]
mov qword [0x1401cd190], rcx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140019670
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 0x1400196cd
lea rbx, [0x140164a00]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400196b4
cmp r10, 2
jb 0x1400196b4
cmp byte [r9], r8b
jne 0x1400196b4
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 0x140019690
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001970f
lea rbx, [0x140164a00]
cmp r8b, 0x23
jne 0x1400196f3
cmp byte [r9], r8b
jne 0x1400196f3
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 0x1400196e0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400198d0
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 0x1400198ee
mov qword [r8], r14
lea rdx, [0x140162170]
call fcn.140019720
mov rbx, rax
test rax, rax
jne 0x140019913
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 0x140019a3d
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 0x140019a3d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140019a3d
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 0x140019a3d
cmp rdi, 0xffffffffffffffff
je 0x140019a3d
mov rcx, rdi
call fcn.14001cf10
mov rbp, rax
test rax, rax
je 0x140019a3d
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 0x140019a2a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1401cd1c0]
test r8, r8
je 0x140019a1f
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140019a14
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 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140019a46
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140019a38
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140019a48
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 0x14001c9d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x140164a00]
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
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 + 0x404c], ebx
jne 0x14001ca66
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14002f8f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140029400
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401b06f8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401cd1c0]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x140029461
cmp byte [rbx + 0x4d4e], 0
jne 0x140029461
movsx r9d, word [rbx + 0x5eb8]
lea r8, [0x140161c48]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140019480
test dil, 2
je 0x14002958f
jmp 0x1400294ea
movss xmm1, dword [rbx + 0x39bc]
lea r8, [0x140161c48]
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140192718]
mulss xmm1, dword [0x14019270c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x140192570]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.140019480
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140029540
lea r11, [0x140164a00]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140029523
cmp byte [r8], r9b
jne 0x140029523
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 0x140029510
not ecx
call fcn.14001ff80
test rax, rax
je 0x14002958f
cmp byte [rax + 0xbe], 0
je 0x14002958f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.140019480
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140022bd0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401292a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret