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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [0x180010040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180002281
xor eax, eax
jmp 0x1800023df
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x1800022b4
mov rax, qword [rsp + 0x30]
jmp 0x1800023df
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
cmp dword [rsp + rax + 0xd0], 0
jne 0x1800022e9
mov rax, qword [rsp + 0x30]
jmp 0x1800023df
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0xd0]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x180002371
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x1800023da
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x188]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1800023d8
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x1800023da
jmp 0x180002367
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180008ce0
add rsp, 0x168
pop rdi
pop rsi
ret
Function at 0x180002e80
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x180010040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x88]
call fcn.180006120
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov edx, 0x18
mov rcx, qword [rsp + 0x80]
call fcn.180002cc0
lea rcx, [rsp + 0x40]
call fcn.180004310
mov ecx, dword [rsp + 0x58]
mov r8, rax
mov edx, ecx
mov rcx, qword [rsp + 0x80]
call fcn.1800062f0
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x80]
call fcn.180006120
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x88]
call fcn.180006120
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x48]
mov r9, rcx
mov r8d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
nop
mov rcx, qword [rsp + 0x88]
call fcn.180006140
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180008ce0
add rsp, 0x78
ret
Function at 0x1800033d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x1800033f4
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x180003475
mov byte [rsp], 0
jmp 0x18000340d
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x180003470
movzx eax, byte [rsp + 1]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 0x20]
shl edx, 2
movzx r8d, byte [rsp + 1]
shl r8d, 2
lea edx, [r8 + rdx*4]
movzx r8d, byte [rsp]
add edx, r8d
movsxd rdx, edx
mov r8, qword [rsp + 0x30]
movzx edx, byte [r8 + rdx]
movzx eax, byte [rax + rcx]
xor eax, edx
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 1]
mov r8, qword [rsp + 0x28]
lea rdx, [r8 + rdx*4]
mov byte [rdx + rcx], al
jmp 0x180003404
jmp 0x1800033e9
add rsp, 0x18
ret

Function at 0x180003480
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x18000349b
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x1800034f9
mov byte [rsp], 0
jmp 0x1800034b4
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x1800034f7
movzx eax, byte [rsp]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp + 1]
movzx eax, byte [rax + rcx]
lea rcx, [0x18000be00]
movzx edx, byte [rsp]
mov r8, qword [rsp + 0x20]
lea rdx, [r8 + rdx*4]
movzx r8d, byte [rsp + 1]
movzx eax, byte [rcx + rax]
mov byte [rdx + r8], al
jmp 0x1800034ab
jmp 0x180003490
add rsp, 0x18
ret
Function at 0x180003c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [0x180010040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0x10
jmp 0x180003c4a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x24], eax
jae 0x180003d33
cmp dword [rsp + 0x20], 0x10
jne 0x180003d09
lea rax, [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
mov rdi, rax
lea rsi, [rcx + 0xb0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x60]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180003b60
mov dword [rsp + 0x20], 0xf
jmp 0x180003ca4
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x180003d01
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax + 0xb0]
cmp eax, 0xff
jne 0x180003cd8
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
mov byte [rcx + rax + 0xb0], 0
jmp 0x180003c9a
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax + 0xb0]
inc eax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
mov byte [rdx + rcx + 0xb0], al
jmp 0x180003d01
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 0x20]
movzx ecx, byte [rsp + rcx + 0x28]
xor eax, ecx
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx], al
jmp 0x180003c36
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180008ce0
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x180005260
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x180005299
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x180005387
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x18000532f
cmp qword [rsp + 0x20], 0
jle 0x18000532f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1800052d9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.180007220
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x180005377
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x180005377
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x180005390
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x180010040]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x80], 0
jg 0x1800053c4
xor eax, eax
jmp 0x180005576
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x1800053ed
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x180005576
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x18000548c
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.180005590
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.180007220
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x180005566
mov rcx, qword [rsp + 0x70]
call fcn.180006740
mov qword [rsp + 0x38], 0xfff
cmp qword [rsp + 0x40], 0xfff
jbe 0x18000552d
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x28], 0xfff
je 0x18000552b
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x180005576
jmp 0x1800054b2
cmp qword [rsp + 0x40], 0
jbe 0x180005566
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180008ce0
add rsp, 0x68
ret
Function at 0x180006800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x180010040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x18000683d
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180006844
mov al, 1
jmp 0x180006988
call fcn.1800070d0
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
mov edx, eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x18]
mov dword [rsp + 0x38], eax
call fcn.1800070d0
mov ecx, dword [rsp + 0x38]
mov edx, ecx
mov ecx, eax
call fcn.180007130
movzx eax, al
test eax, eax
je 0x18000688f
xor al, al
jmp 0x180006988
mov qword [rsp + 0x50], 0x20
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1800068f5
cmp dword [rsp + 0x30], 1
je 0x180006901
cmp dword [rsp + 0x30], 3
je 0x180006976
jmp 0x180006986
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x18000694d
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x40], rax
je 0x18000694d
xor al, al
jmp 0x180006988
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180006967
mov dword [rsp + 0x34], 1
jmp 0x18000696f
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x180006988
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x180006988
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180008ce0
add rsp, 0x98
ret
Function at 0x14082a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14082a1df
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 0x14082a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14082a06f
add dl, dl
jne 0x14082a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14082a0f6
xor eax, eax
add dl, dl
jne 0x14082a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14082a1ad
add dl, dl
jne 0x14082a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14082a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14082a07e
mov eax, 1
add dl, dl
jne 0x14082a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14082a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14082a0fb
sub eax, ebx
mov ebx, 1
jne 0x14082a14c
mov ecx, 1
add dl, dl
jne 0x14082a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14082a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14082a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14082a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14082a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14082a15d
cmp eax, 0x7d00
jae 0x14082a19b
cmp eax, 0x500
jb 0x14082a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082a07e
cmp eax, 0x7f
ja 0x14082a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14082a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14082a1d2
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 0x14082a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18003f830
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18003f86a
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
mov qword [0x180678b38], rbx
mov qword [rsp + 0x28], rax
lea r8, [0x18013e610]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180040d40
Capabilities:
Hash data using fnv

Disassembly:
cmp rdx, r8
je 0x180040f1b
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rdi, rdx
movabs r12, 0x666666666666666
lea r13, [0x180673748]
xor r15d, r15d
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx ecx, byte [rdi]
mov ebp, ecx
xor rbp, rax
imul rbp, rdx
mov rdx, qword [0x180673770]
and rdx, rbp
add rdx, rdx
mov r8, qword [0x180673758]
mov rax, qword [r8 + rdx*8 + 8]
mov rbx, qword [0x180673748]
cmp rax, rbx
je 0x180040de7
mov rdx, qword [r8 + rdx*8]
cmp cl, byte [rax + 0x10]
je 0x180040eef
cmp rax, rdx
je 0x180040de4
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x180040dd1
jmp 0x180040eef
mov rbx, rax
cmp qword [0x180673750], r12
je 0x180040f23
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r15
mov ecx, 0x28
call fcn.1801fbc90
mov rsi, rax
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x10], xmm0
mov ecx, dword [rdi + 0x10]
mov dword [rax + 0x20], ecx
mov rcx, qword [0x180673750]
add rcx, 1
xorps xmm0, xmm0
js 0x180040e34
cvtsi2ss xmm0, rcx
jmp 0x180040e49
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x180673778]
xorps xmm1, xmm1
test rcx, rcx
js 0x180040e5f
cvtsi2ss xmm1, rcx
jmp 0x180040e74
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x180673740]
seta al
test al, al
je 0x180040edb
call fcn.1800415e0
mov rdx, qword [0x180673770]
and rdx, rbp
add rdx, rdx
mov r8, qword [0x180673758]
mov rcx, qword [r8 + rdx*8 + 8]
mov rax, qword [0x180673748]
cmp rcx, rax
je 0x180040ed1
mov rdx, qword [r8 + rdx*8]
movzx eax, byte [rsi + 0x10]
cmp al, byte [rcx + 0x10]
je 0x180040ece
nop dword [rax]
cmp rcx, rdx
je 0x180040f1c
mov rcx, qword [rcx + 8]
cmp al, byte [rcx + 0x10]
jne 0x180040ec0
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x38], r15
mov r9, rsi
mov r8, rbx
mov rdx, rbp
call fcn.1800416b0
nop
add rdi, 0x14
cmp rdi, r14
jne 0x180040d7f
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rsp + 0x20], rcx
jmp 0x180040ed6
lea rcx, str.unordered_map_set_too_long
call fcn.1801f81a0
int3
Function at 0x1800415e0
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [0x180673750]
xorps xmm1, xmm1
add rcx, 1
mov rdx, qword [0x180673778]
js 0x1800415fe
cvtsi2ss xmm1, rcx
jmp 0x180041613
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm1, dword [0x180673740]
cvttss2si ecx, xmm1
cmp ecx, 0x80000000
je 0x180041648
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
je 0x180041648
unpcklps xmm1, xmm1
movmskps eax, xmm1
and eax, 1
xor eax, 1
add ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x18028f3b0]
xor ecx, ecx
comiss xmm1, xmm0
jb 0x18004166d
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x18004166d
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18004169f
cmp rdx, 0x200
jae 0x18004169c
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x18004169f
mov rdx, rcx
jmp 0x180041730
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800418bd
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x180673748]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180673758]
lea rdx, [rdi + rdi]
call fcn.180040920
mov rax, qword [0x180673748]
lea rdx, [rdi - 1]
mov qword [0x180673770], rdx
mov qword [0x180673778], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800418b2
mov qword [rsp + 0x38], rsi
movabs rdi, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
nop word [rax + rax]
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rsi
and r11, rdx
shl r11, 4
add r11, qword [0x180673758]
mov r8, qword [r11]
cmp r8, rbx
jne 0x180041801
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180041873
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18004183a
mov r10, qword [rdx]
cmp r10, rax
je 0x180041834
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 0x180041873
cmp r8, rdx
je 0x18004184f
nop
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x180041887
cmp r8, rdx
jne 0x180041840
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 0x1800418ad
mov rdx, qword [0x180673770]
jmp 0x1800417d0
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 0x180041873
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1801f81a0
int3