joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010cf80
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x14010cf9c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14010cff0
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14010d115
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x14010d115
test rax, rax
je 0x14010d115
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x14010d115
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x14010d08a
lea rax, [0x14010d170]
jmp 0x14010d0e3
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x14010d115
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14010d103
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x14010d0b0
lea rax, [0x14010d140]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x14010d12a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x14010e700
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x14010e70b
xor eax, eax
ret
lea r11, [0x1401409d0]
not ecx
cmp r8d, 8
jb 0x14010e7e1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x14010e730
test r8d, r8d
je 0x14010e80d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x14010e7f0
not ecx
mov eax, ecx
ret
Function at 0x1401123e4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14011241e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140112423
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14011246c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14011246c
dec r8
sub rdx, 1
jne 0x140112452
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1401138ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401138f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401138f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401138f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401138f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1401138f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401138f8
xor al, al
add rsp, 0x28
ret
Function at 0x1400024b0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400dc040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1400e9da0], eax
jg 0x14000262a
mov rax, qword [0x1400e15b0]
cmp qword [0x1400e15a8], rax
jne 0x140002601
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
xor ebp, ebp
mov ebx, ebp
cmp dword [rsp + 0x40], ebx
jle 0x1400025f8
mov rdi, rax
nop
test rsi, rsi
je 0x1400025f8
mov rdx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140002555
lea rcx, [rsp + 0x20]
call fcn.1400053f0
nop
mov rdx, qword [0x1400e15b0]
cmp rdx, qword [0x1400e15b8]
je 0x1400025a0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x20], bp
add qword [0x1400e15b0], 0x20
jmp 0x1400025af
lea r8, [rsp + 0x20]
call fcn.140005a30
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400025e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002660
call fcn.140053f90
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jl 0x140002530
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rax, [0x1400e15a8]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140053bc0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
lea rcx, [0x1400e9da0]
call fcn.140053c88
cmp dword [0x1400e9da0], 0xffffffff
jne 0x1400024f3
lea rcx, [0x140086b40]
call fcn.140053f78
lea rcx, [0x1400e9da0]
call fcn.140053c1c
jmp 0x1400024f3
call fcn.14005cd7c
int3
Function at 0x140003e80
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140003ea2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140003f1c
mov rdi, r14
mov rcx, rbx
call fcn.140005170
test rax, rax
jle 0x140003ef4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.140082f10
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140003f0c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140003f14
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140003eb6
sub r14, rdi
jmp 0x140003fff
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140003f33
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003f35
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003f67
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140082f10
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140003ffc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003fa2
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 rbp, 0xfff
jbe 0x140003fdd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14005dbd0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140003ffc
cmp rbp, rax
ja 0x140003fb0
test rbp, rbp
je 0x140003ffc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14005dbd0
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x140009330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400093a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400093a8
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140009395
nop
cmp rbx, rcx
jae 0x1400093a8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140009380
cmp rbx, rcx
jae 0x1400093a8
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x1400093aa
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000f970
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov eax, dword [rdx + 0xc]
xor r12d, r12d
mov r14, r9
mov r15, r8
mov rsi, rdx
mov rdi, rcx
test al, 7
jne 0x14000fa81
test al, 0x10
je 0x14000fa81
mov eax, dword [rdx]
mov qword [rsp + 0x58], rbp
mov rbp, qword [rcx]
imul ecx, dword [rbp + 0x20], 0x15f90
sub eax, dword [rbp + 0x30]
cmp eax, ecx
jbe 0x14000fa26
mov qword [rsp + 0x50], rbx
xor r9d, r9d
mov ebx, dword [rbp + 0x24]
xor r8d, r8d
inc ebx
mov qword [rbp + 0x28], r12
mov dword [rbp + 0x24], ebx
and ebx, 1
mov eax, dword [rdx]
xor edx, edx
mov dword [rbp + 0x30], eax
mov rcx, qword [rbp + rbx*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rbp + rbx*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [rbp + 0x24]
xor r9d, r9d
and eax, 1
xor r8d, r8d
xor edx, edx
lea rbx, [rax*8]
mov rcx, qword [rbx + rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rbx + rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov eax, dword [rdx + 0x24]
lea r8d, [r9 + 8]
and eax, 1
lea rcx, [rdx + rax*8]
add rdx, 0x28
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbp, qword [rsp + 0x58]
test eax, eax
je 0x14000fadd
mov rcx, qword [rdi]
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x20], r12
mov eax, dword [rcx + 0x24]
lea r8d, [r9 + 0x10]
and eax, 1
mov rcx, qword [rcx + rax*8 + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000fadd
mov rcx, qword [rdi]
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x20], r12
mov eax, dword [rcx + 0x24]
lea r8d, [r9 + 0x10]
and eax, 1
mov rcx, qword [rcx + rax*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000fadd
mov rcx, qword [rdi]
xor r9d, r9d
mov r8d, r14d
mov qword [rsp + 0x20], r12
mov rdx, r15
mov eax, dword [rcx + 0x24]
and eax, 1
mov rcx, qword [rcx + rax*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000fadd
mov rcx, qword [rdi]
lea rax, [r14 + 0x10]
add qword [rcx + 0x28], rax
xor eax, eax
jmp 0x14000fae2
mov eax, 1
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x14000fb80
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400dc040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rdx + 0x18], 7
mov rdi, rcx
mov rcx, rdx
mov rbx, rdx
jbe 0x14000fbb1
mov rcx, qword [rdx]
xor esi, esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov edx, 0x80000000
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x14000fbf0
mov rcx, rbx
mov qword [rdi + 8], rsi
call fcn.140004a80
xor al, al
jmp 0x14000fc5f
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rdi + 0x18], rsi
mov rcx, rax
mov dword [rsp + 0x20], esi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14000fc55
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi], rax
test rax, rax
je 0x14000fc55
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x18], rax
mov rcx, rbx
call fcn.140004a80
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140053bc0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140011120
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10d0
call fcn.1400548d0
sub rsp, rax
mov rax, qword [0x1400dc040]
xor rax, rsp
mov qword [rsp + 0x10c0], rax
mov rsi, r8
movsxd rdi, edx
mov rbx, qword [0x1400e1640]
mov qword [rsp + 0x38], rbx
cmp edi, dword [rbx]
jl 0x14001123a
mov rax, qword [rbx + 0x110]
test rax, rax
je 0x14001117c
mov rdx, r8
mov ecx, edi
call rax
jmp 0x14001123a
cmp qword [rbx + 0x90], 0
jne 0x14001118f
cmp byte [rbx + 0x118], 0
je 0x1400111f6
lea rcx, [rsp + 0x30]
call fcn.1400647dc
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14005e8ec
lea r9, [rsp + 0x40]
lea r8, str._x__X
mov edx, 0x12
lea rcx, [rsp + 0x68]
call fcn.14005ecf8
lea rcx, str.DEBUG
mov qword [rsp + 0x28], rsi
mov rax, qword [rcx + rdi*8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r8, str._s___8s__s_n
mov edx, 0x1040
lea rcx, [rsp + 0x80]
call fcn.140010b30
cmp qword [rbx + 0x90], 0
je 0x140011223
lea rdx, [rsp + 0x80]
lea rcx, [rbx + 8]
call fcn.140011d90
nop
lea rcx, [rbx + 8]
call fcn.1400116d0
nop
jmp 0x140011223
cmp byte [rbx + 0x118], 0
je 0x14001123a
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x10c0]
xor rcx, rsp
call fcn.140053bc0
lea r11, [rsp + 0x10d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140011310
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
mov eax, 0x1050
call fcn.1400548d0
sub rsp, rax
mov rax, qword [0x1400dc040]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rax, qword [0x1400e1640]
mov rbx, rcx
cmp dword [rax], 0
jg 0x1400113a3
mov qword [rsp + 0x1048], rdi
lea rdi, [rsp + 0x1068]
call fcn.140010b20
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x1000
mov rcx, qword [rax]
or rcx, 2
call fcn.140064104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdi, qword [rsp + 0x1048]
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140053bc0
add rsp, 0x1050
pop rbx
ret
Function at 0x14001e790
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r15, rcx
mov edi, r8d
mov esi, r8d
mov r12d, edx
mov ebp, r8d
shr esi, 0x18
mov r14d, r8d
shr ebp, 0x10
add rcx, 0x3548
shr r14d, 8
call fcn.140052ae4
test eax, eax
jne 0x14001e8e9
mov eax, dword [r15 + 0x3594]
cmp eax, 0x7fffffff
je 0x14001e8d5
inc dword [r15 + 0x3540]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx edx, dil
xor rdx, rax
movzx eax, r14b
imul rdx, rcx
imul r8, r12, 0x8e0
xor rdx, rax
movzx eax, bpl
imul rdx, rcx
add r8, r15
xor rdx, rax
mov eax, esi
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r8 + 0x30]
and rcx, rdx
mov rdx, qword [r8 + 0x18]
shl rcx, 4
add rdx, rcx
mov rcx, qword [rdx + 8]
cmp rcx, qword [r8 + 8]
je 0x14001e864
mov rax, qword [rdx]
cmp edi, dword [rcx + 0x10]
je 0x14001e866
cmp rcx, rax
je 0x14001e864
mov rcx, qword [rcx + 8]
cmp edi, dword [rcx + 0x10]
jne 0x14001e854
jmp 0x14001e866
xor ecx, ecx
test rcx, rcx
je 0x14001e8bb
mov rax, qword [rdx]
cmp qword [rdx + 8], rcx
jne 0x14001e890
cmp rax, rcx
jne 0x14001e886
mov rax, qword [r8 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14001e89b
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
jmp 0x14001e89b
cmp rax, rcx
jne 0x14001e89b
mov rax, qword [rcx]
mov qword [rdx], rax
mov rdx, qword [rcx]
dec qword [r8 + 0x10]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x20
call fcn.140053f90
lea rcx, [r15 + 0x3548]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.140052aec
dec eax
mov ecx, 6
mov dword [r15 + 0x3594], eax
call fcn.140052320
int3
mov ecx, 5
call fcn.140052320
int3
Function at 0x14001ee00
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14001efaf
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14001e960
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14001ef74
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
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, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14001eeed
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14001ef63
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001ef2a
mov r10, qword [rdx]
cmp r10, rax
je 0x14001ef24
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 0x14001ef63
cmp r9, rdx
je 0x14001ef3f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14001ef89
cmp r9, rdx
jne 0x14001ef30
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
jne 0x14001eea0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x14001ef63
lea rcx, str.invalid_hash_bucket_count
call fcn.140051b0c
int3
Function at 0x140030280
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsp, 0x38
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1400ebc68], eax
jg 0x1400302d3
movsd xmm0, qword [0x1400ebc50]
add rsp, 0x38
ret
lea rcx, [0x1400ebc68]
movsd qword [0x1400ebc50], xmm2
call fcn.140053c1c
mov rbx, qword [rsp + 0x50]
movsd xmm0, qword [0x1400ebc50]
add rsp, 0x38
ret
lea rcx, [0x1400ebc68]
call fcn.140053c88
cmp dword [0x1400ebc68], 0xffffffff
jne 0x1400302a0
xor ecx, ecx
mov qword [rsp + 0x50], rbx
mov eax, 0x15
cpuid
test eax, eax
je 0x140030324
test ebx, ebx
je 0x140030324
test ecx, ecx
je 0x140030324
movd xmm1, ecx
movd xmm0, ebx
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
movd xmm2, eax
cvtdq2pd xmm2, xmm2
mulsd xmm1, xmm0
divsd xmm2, xmm1
jmp 0x1400302ad
mov qword [rsp + 0x30], rdi
rdtsc
shl rdx, 0x20
lea rcx, [rsp + 0x48]
or rax, rdx
mov rbx, rax
call fcn.14000c180
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
rdtsc
shl rdx, 0x20
lea rcx, [rsp + 0x40]
or rax, rdx
mov rdi, rax
call fcn.14000c180
mov rcx, qword [rsp + 0x40]
xorps xmm2, xmm2
sub rcx, qword [rsp + 0x48]
xorps xmm0, xmm0
sub rdi, rbx
cvtsi2sd xmm2, rcx
divsd xmm2, qword [0x1400ca658]
js 0x140030384
cvtsi2sd xmm0, rdi
jmp 0x140030399
mov rax, rdi
and edi, 1
shr rax, 1
or rax, rdi
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mov rdi, qword [rsp + 0x30]
divsd xmm2, xmm0
jmp 0x1400302ad