joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c0f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c13a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c13a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c13a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c13a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c13a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c13c
xor al, al
add rsp, 0x28
ret

Function at 0x14000fe58
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 0x14000fcc3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fcc3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fcc3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fcc3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fcc3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fcc3
cmp dword [rcx + 0xf8], 0
je 0x14000fcc3
mov ecx, ebx
call fcn.14000fd74
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.14000fb50
nop
cmp dword [rbp + 0x20], 0
je 0x14000fd11
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fd1c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fc54
Function at 0x140019444
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400194cb
mov rsi, rbx
cmp word [rax], bp
je 0x14001948a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140019474
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140019470
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016c74
mov rdi, rax
test rax, rax
je 0x1400194b8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140020720
mov rbp, rdi
xor ecx, ecx
call fcn.140015c98
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ba94
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001baaa
mov al, 1
jmp 0x14001bb0a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001babb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001bb08
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019be8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001bb08
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001bb08
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001bb08
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001bb0a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001ff20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001ff48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001ff48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x401580
Capabilities:
Query environment variable

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test r8d, r8d
mov rbx, rcx
mov rdi, rdx
jne 0x4015b0
call sub.msvcrt.dll_getenv
mov rdx, rax
xor eax, eax
test rdx, rdx
je 0x4015b0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov rcx, rdi
mov rsi, rax
call sub.msvcrt.dll_strlen
lea rcx, [rsi + rax + 2]
call sub.msvcrt.dll_malloc
test rax, rax
mov rsi, rax
je 0x401600
lea rdx, [0x0040a1c0]
mov r9, rdi
mov r8, rbx
mov rcx, rax
call fcn.00401550
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x4082d8
mov eax, 0xffffffff
jmp 0x4015a1
jmp qword [sym.imp.msvcrt.dll__putenv]
Function at 0x401e30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov ecx, dword [0x0040d354]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x402015
mov rax, qword [0x0040d358]
xor ebx, ebx
nop
mov r9, qword [rax + 8]
cmp rsi, r9
jb 0x401e7c
mov rdx, qword [rax + 0x10]
mov edx, dword [rdx + 8]
add r9, rdx
cmp rsi, r9
jb 0x401f50
add ebx, 1
add rax, 0x18
cmp ebx, ecx
jne 0x401e60
mov rcx, rsi
call fcn.00402990
test rax, rax
mov r12, rax
je 0x402039
movsxd rbx, ebx
lea r13, [rsp + 0x30]
lea r14, [rbx + rbx*2]
shl r14, 3
mov rbx, r14
add rbx, qword [0x0040d358]
mov qword [rbx + 0x10], rax
mov dword [rbx], 0
call fcn.00402ad0
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
mov rdx, r13
mov qword [rbx + 8], rax
mov rax, qword [0x0040d358]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rcx, qword [rax + r14 + 8]
call rbx
test rax, rax
je 0x40201c
mov eax, dword [rsp + 0x54]
cmp eax, 4
jne 0x401fd0
add dword [0x0040d354], 1
mov r8d, 0x30
mov rdx, r13
mov rcx, rsi
call rbx
test rax, rax
je 0x402048
mov eax, dword [rsp + 0x54]
cmp eax, 4
jne 0x401f60
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sub.msvcrt.dll_memcpy
lea r13, [rsp + 0x30]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x401f0b
cmp eax, 0x40
je 0x401f2b
lea r12, [rsp + 0x2c]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, r12
call rbx
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x54]
cmp eax, 0x40
je 0x401fb7
cmp eax, 4
je 0x401fb7
mov r9, r12
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call rbx
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp eax, 0x40
je 0x401f04
add r14, qword [0x0040d358]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov r9, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401f04
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x0040a3a8]
mov edx, eax
call fcn.00401dc0
xor ebx, ebx
jmp 0x401e87
mov rax, qword [0x0040d358]
mov edx, dword [r12 + 8]
lea rcx, [0x0040a370]
mov r8, qword [rax + r14 + 8]
call fcn.00401dc0
lea rcx, [0x0040a350]
mov rdx, rsi
call fcn.00401dc0
lea rcx, [0x0040a370]
mov r8, rsi
mov edx, 0x30
call fcn.00401dc0
nop
nop dword [rax]
Function at 0x402620
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0040d920]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0040d900]
test rbx, rbx
je 0x402674
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40266b
test rsi, rsi
je 0x40266b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402650
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x0040d920]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax

Function at 0x402890
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x4028d0
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov ecx, dword [rax + 0xc]
mov r8d, ecx
cmp r8, rdx
ja 0x4028c7
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x4028d2
add rax, 0x28
cmp rax, r9
jne 0x4028b4
xor eax, eax
repz ret

Function at 0x402990
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
cmp word [0x00400000], 0x5a4d
lea rbx, [0x00400000]
mov rsi, rcx
je 0x4029b4
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rbx
call fcn.00402850
test eax, eax
je 0x4029ab
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.00402890
Function at 0x140005250
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140005274
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x140005302
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400052d0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x1400052d0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.140125490
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400052ed
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x1400052f5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140005291
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x1400053e0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140005319
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000531b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000534d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.140125490
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400053dd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140005388
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x1400053be
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1400ffda4
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x1400053dd
cmp rsi, rax
ja 0x140005391
test rsi, rsi
je 0x1400053dd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400ffda4
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x14000ad60
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x14019ac80]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, r8
mov qword [rsp + 0x70], rbp
xor ebp, ebp
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x40], rbp
xorps xmm0, xmm0
mov qword [rsp + 0x48], rbp
xor r8d, r8d
lea rdx, [0x14016a0fd]
lea rcx, [rsp + 0x30]
mov rdi, r9
movups xmmword [rsp + 0x30], xmm0
call fcn.140009750
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
mov qword [rsp + 0x50], rbp
jbe 0x14000adc5
mov rdx, qword [rbx]
mov rcx, qword [r15]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x68], rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14000adfa
test rcx, rcx
je 0x14000aeac
mov qword [rsp + 0x50], rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000aeac
cmp qword [rsp + 0x40], rbp
jne 0x14000ae66
test rcx, rcx
je 0x14000ae11
mov qword [rsp + 0x50], rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor sil, sil
mov rdx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000ae56
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ae51
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000af54
call fcn.1400f2bb0
test sil, sil
je 0x14000aef3
xor al, al
jmp 0x14000af37
cmp qword [rsp + 0x48], 0xf
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], rbp
cmova rdx, qword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
mov esi, eax
test rcx, rcx
je 0x14000aea4
mov qword [rsp + 0x50], rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x14000ae11
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
mov qword [rsp + 0x50], rbp
jbe 0x14000aebe
mov rdx, qword [rbx]
mov rcx, qword [r15]
lea r8, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov rcx, qword [rsp + 0x50]
mov esi, eax
test rcx, rcx
je 0x14000aee3
mov qword [rsp + 0x50], rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x14000ae11
mov sil, 1
jmp 0x14000ae14
cmp qword [rdi + 0x18], 0xf
mov eax, dword [rdi + 0x10]
jbe 0x14000af00
mov rdi, qword [rdi]
cmp qword [r14 + 0x18], 0xf
jbe 0x14000af0a
mov r14, qword [r14]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000af14
mov rbx, qword [rbx]
mov rcx, qword [r15]
mov r9d, 1
mov dword [rsp + 0x28], eax
mov r8, r14
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
test eax, eax
sete al
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f2b90
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rbx
ret
call fcn.1401005b4
int3
Function at 0x140036290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400362c4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400362b0
ret
Function at 0x14003b900
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14003b9c5
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14003b9c5
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14003b9de
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14003b9b5
cmp byte [rcx], 0x5c
jne 0x14003b9ae
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14003b9ae
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14003b99c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14003b9ab
test r8b, 0x10
jne 0x14003b9ae
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14003b9ae
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140037d90
test edi, edi
jne 0x14003b920
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140037d80
int3
Function at 0x140040060
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 0x1400400bd
lea rbx, [0x14016aa20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400400a4
cmp r10, 2
jb 0x1400400a4
cmp byte [r9], r8b
jne 0x1400400a4
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 0x140040080
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400400ff
lea rbx, [0x14016aa20]
cmp r8b, 0x23
jne 0x1400400e3
cmp byte [r9], r8b
jne 0x1400400e3
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 0x1400400d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140040200
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 0x14004021e
mov qword [r8], r14
lea rdx, [0x14017c2b4]
call fcn.140040110
mov rbx, rax
test rax, rax
jne 0x140040243
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 fcn.140105848
mov ebp, eax
cmp eax, 0xffffffff
je 0x140040367
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.140100174
test eax, eax
jne 0x140040367
mov rcx, rbx
call fcn.140105848
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140040367
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.140100174
test eax, eax
jne 0x140040367
cmp rdi, 0xffffffffffffffff
je 0x140040367
mov rcx, rdi
call fcn.140044270
mov rbp, rax
test rax, rax
je 0x140040367
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400ffda4
mov rcx, rbx
cmp rax, rdi
je 0x140040355
call fcn.1400f92f4
mov r8, qword [0x1401b0d88]
test r8, r8
je 0x14004034b
movsx rdx, word [r8 + 0x6048]
lea rcx, [r8 + 0x604c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140040340
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 + 0x6048], cx
movsx rax, cx
lea rcx, [r8 + 0x604c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6044]
mov rcx, rbp
call fcn.1400ff888
jmp 0x14004036f
call fcn.1400f92f4
test rsi, rsi
je 0x140040362
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140040371
mov rcx, rbx
call fcn.1400f92f4
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 0x1400438e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
lea r15, [0x14016aa20]
movsxd rcx, dword [rcx + 0x100]
mov r14, rdx
mov rdi, rdx
mov rbx, rdx
mov r11, rdx
shr rbx, 0x30
mov rax, qword [rsi + 0x108]
mov r10, rdx
mov r9, rdx
shr r10, 0x20
mov r8, rdx
shr r9, 0x18
shr rdx, 8
mov ebp, dword [rax + rcx*4 - 4]
not ebp
movzx eax, r14b
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, dl
shr r8, 0x10
shr r11, 0x28
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r8b
shr rdi, 0x38
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r9b
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r10b
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r11b
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, bl
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rdi
shr ebp, 8
xor ebp, dword [r15 + rcx*4]
mov rcx, qword [rsi]
not ebp
cmp dword [rcx + 0x4054], ebp
jne 0x1400439e5
mov r8, r14
mov edx, ntohs
mov ecx, ebp
call fcn.1400566e0
mov rbx, qword [rsp + 0x60]
mov eax, ebp
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140043a00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x14016aa20]
movsxd rcx, dword [rcx + 0x100]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x108]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x4054], ebx
jne 0x140043a94
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1400566e0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140043ab0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x120]
lea r10, [0x14016aa20]
mov rax, qword [rcx + 0x108]
movss xmm1, dword [rcx + 0x124]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x100]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14004feb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14019ac80]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401b0d88]
mov edi, ecx
cmp byte [rbx + 0x4cf1], 0
jne 0x14004ff11
cmp byte [rbx + 0x4cf2], 0
jne 0x14004ff11
movsx r9d, word [rbx + 0x5e38]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14003ffe0
test dil, 2
je 0x14005003f
jmp 0x14004ff9c
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e38]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14017d0e8]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x14017d0e0]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x49d0], rax
mov dword [rbx + 0x49bc], 1
movss dword [rbx + 0x49c8], xmm0
movss dword [rbx + 0x49cc], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x14017d06c]
or dword [rbx + 0x49b8], 0x41
movss dword [rbx + 0x4a18], xmm0
call fcn.14003ffe0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14004fff0
lea r11, [0x14016aa20]
nop dword [rax]
cmp r9b, 0x23
jne 0x14004ffd3
cmp byte [r8], r9b
jne 0x14004ffd3
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 0x14004ffc0
not ecx
call fcn.140047330
test rax, rax
je 0x14005003f
cmp byte [rax + 0xbe], 0
je 0x14005003f
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 + 0x5e38]
movsx r9d, word [rbx + 0x5e38]
call fcn.14003ffe0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140049eb0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400f2b90
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret