joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140081050
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x320
mov rax, qword [0x1400a3040]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
xor edi, edi
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
mov dword [rsp + 0xd0], 0x238
lea rdx, [rsp + 0xd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rsp + 0xd0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400811eb
nop word [rax + rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x50]
call fcn.140081e10
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140081124
mov r8, qword [rbx]
mov r9, qword [rbx + 0x10]
add r9, r8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140081fc0
lea r8, [rsp + 0x30]
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x48]
cmp r10, 7
cmova r8, r9
lea rax, [rsp + 0xfc]
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140081174
add rax, 2
test ecx, ecx
jne 0x140081160
test edx, edx
jne 0x14008118c
mov eax, dword [rsp + 0xec]
cmp eax, edi
jbe 0x14008118c
mov edi, eax
mov esi, dword [rsp + 0xd8]
cmp r10, 7
jbe 0x1400811c8
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400811bf
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008125f
mov rcx, r9
call fcn.140084934
nop
lea rcx, [rsp + 0x50]
call fcn.140081d20
lea rdx, [rsp + 0xd0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400810d0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140081221
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14008121c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140081266
mov rcx, r8
call fcn.140084934
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov eax, esi
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400848d0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140081650
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x520
mov rax, qword [0x1400a3040]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov rbx, rdx
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], 0x438
mov edx, dword [rcx]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x490], xmm0
movups xmmword [rsp + 0x4a0], xmm0
movups xmmword [rsp + 0x4b0], xmm0
movups xmmword [rsp + 0x4c0], xmm0
movups xmmword [rsp + 0x4d0], xmm0
movups xmmword [rsp + 0x4e0], xmm0
movups xmmword [rsp + 0x4f0], xmm0
mov qword [rsp + 0x500], rax
lea rcx, [rsp + 0x490]
call fcn.140081e10
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140081700
mov r8, qword [rbx]
mov r9, qword [rbx + 0x10]
add r9, r8
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x490]
call fcn.140081fc0
lea r8, [rsp + 0x470]
mov rdi, qword [rsp + 0x470]
mov rsi, qword [rsp + 0x488]
cmp rsi, 7
cmova r8, rdi
lea rax, [rsp + 0x60]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140081758
add rax, 2
test ecx, ecx
jne 0x140081744
test edx, edx
je 0x14008180d
cmp rsi, 7
jbe 0x14008179c
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140081793
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008184a
mov rcx, rdi
call fcn.140084934
nop
lea rcx, [rsp + 0x490]
call fcn.140081d20
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400816a0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400817ff
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400817fa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140081806
mov rcx, r8
call fcn.140084934
xor eax, eax
jmp 0x1400818a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x48]
cmp rsi, 7
jbe 0x14008185a
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140081851
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081851
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140084934
nop
lea rcx, [rsp + 0x490]
call fcn.140081d20
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14008189e
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140081899
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400818d7
mov rcx, r8
call fcn.140084934
mov rax, rbp
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.1400848d0
mov rbx, qword [rsp + 0x550]
add rsp, 0x520
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400840bc
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 0x1400840f6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400840fb
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 0x140084144
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140089a10]
cmp byte [rcx + rax], 0
je 0x140084144
dec r8
sub rdx, 1
jne 0x14008412a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400856f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008573e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008573e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008573e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008573e
cmp dword [rcx + 0x84], 0xe
jbe 0x14008573e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140085740
xor al, al
add rsp, 0x28
ret
Function at 0x180042d90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180042db8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp 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]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x180042dde
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180042de0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180042e39
test ecx, ecx
jle 0x180042e19
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180042e39
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180042e39
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x180042e60
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180042e82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180042e98
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp 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]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180042eb4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180042eb6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180042ef2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180042f8e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180042f2d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x180042f6e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x180042f8e
cmp rbx, rax
ja 0x180042f40
test rbx, rbx
je 0x180042f8e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1800433f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800f9280]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18004341d
xor eax, eax
jmp 0x180043589
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180043457
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180043457
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x180043589
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18004357c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18004349a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1800434c5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180043581
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180043534
sub eax, 1
je 0x180043534
cmp eax, 2
jne 0x18004357c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180043581
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180043562
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x18004357c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180043581
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800a3c90
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180044890
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800f9280]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180044963
cmp byte [rcx + 0x71], 0
je 0x180044963
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18004495f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
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]
test eax, eax
je 0x180044924
sub eax, 1
je 0x180044928
cmp eax, 2
jne 0x18004495f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800a3c90
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180044956
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18004495f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18004490c
xor al, al
jmp 0x18004490c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800a3c90
add rsp, 0x60
pop rbx
ret
Function at 0x18004ad00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13e0
call fcn.1800a4630
sub rsp, rax
mov rax, qword [0x1800f9280]
xor rax, rsp
mov qword [rsp + 0x13d8], rax
mov rbx, rdx
mov qword [rsp + 0x28], rdx
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x13c0], xmm1
mov qword [rsp + 0x13d0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r8d, 0xffffffff
mov dword [rsp + 0x13b4], r8d
mov dword [rsp + 0x34], eax
mov r9d, 1
mov edx, r9d
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
inc rdx
cmp rdx, 0x270
jb 0x18004ad80
mov dword [rsp + 0x30], 0x270
mov eax, 0x40
mov rsi, 0xffffffffffffffff
lea rax, [rax - 1]
shr rsi, 1
cmp rsi, r8
ja 0x18004adb3
mov r13, qword [0x1800ff008]
mov r12, qword [0x1800ff000]
sub r13, r12
sar r13, 2
cmp r13, r9
cmovl r9, r13
mov qword [rsp + 0x20], r9
test r13, r13
jle 0x18004aed6
lea r15, [rax - 1]
mov r14, qword [rsp + 0x13c8]
nop word [rax + rax]
xor ebx, ebx
xor edi, edi
lea rbp, [r13 - 1]
test rbp, rbp
je 0x18004ae4a
nop dword [rax]
mov rcx, r15
shl rbx, cl
add rbx, rbx
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.180058d80
mov eax, eax
cmp rax, rsi
ja 0x18004ae20
or rbx, rax
mov rcx, r15
shl rdi, cl
add rdi, rdi
or rdi, rsi
cmp rdi, rbp
jb 0x18004ae10
mov r9, qword [rsp + 0x20]
xor edx, edx
mov rax, rdi
div r13
mov r8, rdx
mov rcx, rax
xor edx, edx
mov rax, rbx
div r13
cmp rax, rcx
jb 0x18004ae6a
cmp r8, rbp
jne 0x18004ae00
cmp rdx, r9
jge 0x18004aec1
cmp r14, qword [rsp + 0x13d0]
je 0x18004ae96
mov eax, dword [r12]
mov dword [r14], eax
mov r14, qword [rsp + 0x13c8]
add r14, 4
mov qword [rsp + 0x13c8], r14
jmp 0x18004aeb6
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x13c0]
call fcn.18005a060
mov r14, qword [rsp + 0x13c8]
mov r9, qword [rsp + 0x20]
sub r9, 1
mov qword [rsp + 0x20], r9
je 0x18004aed1
add r12, 4
mov r13, rbp
test rbp, rbp
jg 0x18004ae00
mov rbx, qword [rsp + 0x28]
mov byte [rbx + 0x258], 1
movss xmm0, dword [0x1800fd138]
movss dword [rbx + 0x260], xmm0
mov rcx, qword [rsp + 0x13c0]
mov eax, dword [rcx]
mov dword [rbx + 0x25c], eax
mov rdx, qword [rsp + 0x13d0]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004af34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004af34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a412c
mov rcx, qword [rsp + 0x13d8]
xor rcx, rsp
call fcn.1800a3c90
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800573b0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1800573e1
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 + 0x30], rbx
mov rbx, qword [0x1801003b8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1801003c8]
lea rdx, [rdi + rdi]
call fcn.180056280
mov rax, qword [0x1801003b8]
lea r9, [rdi - 1]
mov qword [0x1801003e0], r9
mov qword [0x1801003e8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180057554
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
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, r9
shl r11, 4
add r11, qword [0x1801003c8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800574a0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180057515
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800574dd
mov r10, qword [rdx]
cmp r10, rax
je 0x1800574d7
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 0x180057515
cmp r9, rdx
je 0x1800574f1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180057529
cmp r9, rdx
jne 0x1800574e2
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 0x18005754f
mov r9, qword [0x1801003e0]
jmp 0x180057451
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 0x180057515
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180058d80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x180058de1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180058da0
mov ecx, dword [r9]
jmp 0x180058ecb
cmp ecx, 0x4e0
jb 0x180058ecb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180058e00
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180058e50
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x180059b80
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x48
mov qword [rsp + 0x40], r12
mov r14, rcx
lea rcx, [r8 - 1]
mov qword [rsp + 0x38], r13
mov r12, rcx
mov qword [rsp + 0x28], rcx
sar r12, 1
mov rax, r8
mov qword [rsp + 0x20], rax
mov r15, r9
mov r13, rdx
mov rbp, rdx
mov r10, rdx
cmp rdx, r12
jge 0x180059c18
nop dword [rax]
nop word [rax + rax]
lea rbx, [r10 + r10]
lea rsi, [r14 + 0x10]
lea rsi, [rsi + rbx*8]
lea rdi, [rsi - 8]
mov rdx, rsi
mov r8, rdi
call fcn.180059a40
movzx r10d, al
xor r10, 1
inc r10
add r10, rbx
test al, al
cmove rdi, rsi
mov rax, qword [rdi]
mov qword [r14 + r13*8], rax
mov r13, r10
cmp r10, r12
jl 0x180059bd0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r13, qword [rsp + 0x38]
cmp r10, r12
mov r12, qword [rsp + 0x40]
mov rdi, r10
jne 0x180059c3a
test al, 1
jne 0x180059c3a
mov rax, qword [r14 + rax*8 - 8]
mov rdi, rcx
mov qword [r14 + r10*8], rax
cmp rbp, rdi
jge 0x180059c7d
nop
lea rbx, [rdi - 1]
mov r8, r15
sar rbx, 1
lea rsi, [r14 + rbx*8]
mov rdx, rsi
call fcn.180059a40
test al, al
je 0x180059c7d
mov rax, qword [rsi]
mov qword [r14 + rdi*8], rax
mov rdi, rbx
cmp rbp, rbx
jl 0x180059c40
mov rax, qword [r15]
mov qword [r14 + rbx*8], rax
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [r15]
mov qword [r14 + rdi*8], rax
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x18005ad40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1800f9280]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov ecx, 0x28
call fcn.1800a3cb0
mov rdi, rax
mov qword [rsp + 0x40], rax
mov rdx, rbx
mov rcx, rax
call fcn.180044470
lea rax, [0x18005a5c0]
mov qword [rdi + 0x20], rax
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x18005b1c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18005ae24
cmp dword [rsp + 0x38], 0
jne 0x18005adcc
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x38], eax
jne 0x18005ade4
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x18005ae0c
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800a3c90
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3