joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100aae90
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rax, r8
mov rdi, rcx
mov word [rsp + 0x64], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movabs rcx, 0x700000000
mov qword [rsp + 0x54], rcx
mov qword [rsp + 0x5c], 0
mov byte [rsp + 0x60], 1
lea r8, [rsp + 0x40]
mov rcx, rdx
mov rdx, rax
call fcn.10099830
mov rsi, rdx
test rax, rax
je 0x100aaf3c
mov eax, esi
and eax, 3
cmp eax, 1
jne 0x100aaf30
mov rbx, rsi
dec rbx
mov rcx, qword [rsi - 1]
mov rax, qword [rsi + 7]
call qword [rax]
mov rax, qword [rsi + 7]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x100aaf1d
mov r8, qword [rax + 0x10]
mov rcx, qword [rbx]
call fcn.100028e0
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.100028e0
mov qword [rdi], 0
jmp 0x100ab0ff
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.100999f0
cmp dword [rsp + 0x48], 2
jne 0x100aafb8
mov rbx, qword [rsp + 0x40]
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x100aaf99
lea r14, [rbx - 1]
mov rcx, qword [rbx - 1]
mov rax, qword [rbx + 7]
call qword [rax]
mov rax, qword [rbx + 7]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x100aaf86
mov r8, qword [rax + 0x10]
mov rcx, qword [r14]
call fcn.100028e0
mov edx, 0x18
mov r8d, 8
mov rcx, r14
call fcn.100028e0
mov qword [rdi], 0
mov rcx, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sub.kernel32.dll_CloseHandle
mov r12, qword [rsp + 0x40]
test rsi, rsi
je 0x100ab00d
mov qword [rsp + 0x40], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, rax
mov rdx, rsi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x100ab066
mov rbx, qword [rsp + 0x40]
xor eax, eax
test rax, rax
jne 0x100ab016
jmp 0x100ab07f
xor eax, eax
xor ebx, ebx
test rax, rax
je 0x100ab07f
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x100ab05a
lea r14, [rbx - 1]
mov rcx, qword [rbx - 1]
mov rax, qword [rbx + 7]
call qword [rax]
mov rax, qword [rbx + 7]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x100ab047
mov r8, qword [rax + 0x10]
mov rcx, qword [r14]
call fcn.100028e0
mov edx, 0x18
mov r8d, 8
mov rcx, r14
call fcn.100028e0
mov qword [rdi], 0
jmp 0x100ab0f7
call sub.kernel32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov eax, 1
test rax, rax
jne 0x100ab016
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingA
test rax, rax
je 0x100ab0e8
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call sub.kernel32.dll_CloseHandle
test r15, r15
je 0x100ab0e8
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov qword [rdi], 1
jmp 0x100ab0f7
mov qword [rdi], 0
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
mov rcx, rsi
call sub.kernel32.dll_CloseHandle
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x100f22b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x100f232a
mov r11, rdx
mov rdx, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rbx, r11
movzx edi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x100f2320
cmp r10, rax
jb 0x100f23bd
cmp r10, rdx
ja 0x100f23d1
add rax, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x100f2322
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x100f2300
jmp 0x100f2392
ja 0x100f232a
mov rax, r10
cmp r11, r8
jne 0x100f22d0
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x100f2396
mov rsi, qword [rsp + 0x78]
add rdx, rsi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea rbx, [rsi + 1]
movzx edi, byte [rsi]
test dil, dil
js 0x100f2370
mov rsi, rbx
sub ecx, edi
jns 0x100f2389
jmp 0x100f2398
cmp rbx, rdx
je 0x100f23a3
movzx ebp, byte [rsi + 1]
add rsi, 2
and edi, 0x7f
shl edi, 8
or edi, ebp
sub ecx, edi
js 0x100f2398
xor al, 1
cmp rsi, rdx
jne 0x100f2350
jmp 0x100f2398
xor eax, eax
jmp 0x100f2398
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x101362a9]
lea r8, [0x101382d8]
mov edx, 0x2b
call fcn.100e76b0
ud2
lea r8, [0x101382c0]
mov rcx, rax
mov rdx, r10
call fcn.100ee460
ud2
lea r8, [0x101382c0]
mov rcx, r10
call fcn.100ee380
ud2
Function at 0x1010e080
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x1016d884]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x1010e1a0
mov rax, qword [0x1016d888]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x1010e0cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x1010e186
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x1010e0b0
mov rcx, rsi
call fcn.1010ecc0
test rax, rax
mov r12, rax
je 0x1010e1d8
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x1016d888]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.1010ee10
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x1016d888]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1010e1bb
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1010e17f
sub eax, 0x40
and eax, 0xffffffbf
je 0x1010e17f
add rbx, qword [0x1016d888]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1010e1a7
add dword [0x1016d884], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
xor ebx, ebx
jmp 0x1010e0d7
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1010e010
mov rax, qword [0x1016d888]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1010e010
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.1010e010
nop
nop dword [rax + rax]

Function at 0x1010e930
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1016db60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1016db40]
test rbx, rbx
je 0x1010e984
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 0x1010e97b
test rsi, rsi
je 0x1010e97b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1010e960
lea rcx, [0x1016db60]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1010ecc0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x10149c50]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x1010ece0
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.1010eba0
test eax, eax
je 0x1010ecd8
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x1010ed3d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1010ed34
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1010ecd8
add rdx, 0x28
cmp rdx, r9
jne 0x1010ed20
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x180005260
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 0x180005288
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 0x1800052ae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800052b0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180005309
test ecx, ecx
jle 0x1800052e9
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 0x180005309
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180005309
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 0x180005330
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 0x180005352
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180005368
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 0x180005384
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180005386
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800053c2
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 0x18000545e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800053fd
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 0x18000543e
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 0x18000545e
cmp rbx, rax
ja 0x180005410
test rbx, rbx
je 0x18000545e
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 0x1800058c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800b1040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800058ed
xor eax, eax
jmp 0x180005a59
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180005927
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180005927
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 0x180005a59
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180005a4c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000596a
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 0x180005995
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 0x180005a51
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 0x180005a04
sub eax, 1
je 0x180005a04
cmp eax, 2
jne 0x180005a4c
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 0x180005a51
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180005a32
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 0x180005a4c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180005a51
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180076b00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180008340
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800b1040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180008413
cmp byte [rcx + 0x71], 0
je 0x180008413
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000840f
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 0x1800083d4
sub eax, 1
je 0x1800083d8
cmp eax, 2
jne 0x18000840f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180076b00
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180008406
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 0x18000840f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800083bc
xor al, al
jmp 0x1800083bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180076b00
add rsp, 0x60
pop rbx
ret

Function at 0x180011200
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1800b1040]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov r8, qword [rdx + 0x40]
mov rdx, qword [r8]
lea rcx, [rsp + 0x20]
call fcn.18001dd10
mov r8, qword [rsp + 0x20]
mov r9, r8
mov r10, qword [rsp + 0x28]
cmp r8, r10
je 0x18001129d
movabs rdi, 0xcbf29ce484222325
mov esi, 0x9e3779b9
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, word [r9]
movzx ecx, al
xor rcx, rdi
imul rcx, r11
shr rax, 8
xor rcx, rax
imul rcx, r11
mov rax, rbx
shl rax, 6
mov rdx, rbx
shr rdx, 2
add rcx, rax
lea rax, [rdx + rsi]
add rcx, rax
xor rbx, rcx
add r9, 2
cmp r9, r10
jne 0x180011260
test r8, r8
je 0x1800112e2
mov rax, qword [rsp + 0x30]
sub rax, r8
sar rax, 1
lea rdx, [rax + rax]
mov rax, r8
cmp rdx, 0x1000
jb 0x1800112d9
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800112d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.180076b20
nop
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180076b00
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x180017ba0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rdx
mov rdi, rcx
mov r8d, dword [0x1800b2f74]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x1800b3960], r8d
jle 0x180017c6d
lea rcx, [0x1800b3960]
call fcn.180076fb8
cmp dword [0x1800b3960], 0xffffffff
jne 0x180017c6d
xor ebx, ebx
mov qword [0x1800b3970], rbx
xorps xmm0, xmm0
movdqa xmmword [0x1800b3990], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x1800b39a0], xmm1
mov qword [0x1800b3978], rbx
mov qword [0x1800b3980], rbx
movups xmmword [0x1800b3988], xmm0
movups xmmword [0x1800b3998], xmm0
movups xmmword [0x1800b39a8], xmm0
mov qword [0x1800b39b8], rbx
lea edx, [rbx + 2]
lea rsi, [0x1800b3970]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x18007aae0]
call fcn.180076ef8
lea rcx, [0x1800b3960]
call fcn.180076f4c
jmp 0x180017c76
xor ebx, ebx
lea rsi, [0x1800b3970]
mov qword [rsp + 0x70], rsi
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x180017c94
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1800b39bc], 0x7fffffff
jne 0x180017cb6
mov dword [0x1800b39bc], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rdx, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180017cc7
mov rcx, qword [rdi]
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x180017cf3
movabs r8, 0x100000001b3
movzx eax, byte [rcx + rbx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x180017ce0
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.1800188f0
cmp qword [rax + 8], 0
je 0x180017d1e
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.1800182d0
mov rcx, qword [rax]
cmp qword [rcx + 0x30], 0
jne 0x180017d4f
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180017d2b
mov rdx, qword [rdi]
mov rcx, qword [0x1800b3958]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.1800182d0
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.1800182d0
mov rcx, qword [rax]
cmp qword [rcx + 0x30], 0
je 0x180017d97
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.1800182d0
mov rax, qword [rax]
mov rdx, qword [rax + 0x30]
mov rcx, r14
call rdx
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rax, rbx
jmp 0x180017da0
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x180018df0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
jne 0x180018e29
xor eax, eax
lea r8, [0x180022a60]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x180019e20
Capabilities:
Parse pe header

Disassembly:
cmp ecx, 0x200
jg 0x180019e52
je 0x180019e4c
test ecx, ecx
je 0x180019e46
sub ecx, 1
je 0x180019e40
cmp ecx, 1
jne case.default.0x180019e75
lea eax, [rcx + 3]
ret
mov eax, 2
ret
mov eax, 1
ret
mov eax, 9
ret
add ecx, 0xfffffdff
cmp ecx, 0x66
ja case.default.0x180019e75
movsxd rax, ecx
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x1a0e4]
add rcx, rdx
jmp rcx
mov eax, 0x25
ret
mov eax, 0x27
ret
mov eax, 0x26
ret
mov eax, 0x28
ret
mov eax, 0x21
ret
mov eax, 0x22
ret
mov eax, 0x24
ret
mov eax, 0x23
ret
mov eax, 0x2d
ret
mov eax, 0x2e
ret
mov eax, 8
ret
mov eax, 0x20
ret
mov eax, 0xd
ret
mov eax, 0x1b
ret
mov eax, 0xde
ret
mov eax, 0xbc
ret
mov eax, 0xbd
ret
mov eax, 0xbe
ret
mov eax, 0xbf
ret
mov eax, 0xba
ret
mov eax, 0xbb
ret
mov eax, 0xdb
ret
mov eax, 0xdc
ret
mov eax, 0xdd
ret
mov eax, 0xc0
ret
mov eax, 0x14
ret
mov eax, 0x91
ret
mov eax, 0x90
ret
mov eax, 0x2c
ret
mov eax, 0x13
ret
mov eax, 0x60
ret
mov eax, 0x61
ret
mov eax, 0x62
ret
mov eax, 0x63
ret
mov eax, 0x64
ret
mov eax, 0x65
ret
mov eax, 0x66
ret
mov eax, 0x67
ret
mov eax, 0x68
ret
mov eax, 0x69
ret
mov eax, 0x6e
ret
mov eax, 0x6f
ret
mov eax, 0x6a
ret
mov eax, 0x6d
ret
mov eax, 0x6b
ret
mov eax, 0x10d
ret
mov eax, 0xa0
ret
mov eax, 0xa2
ret
mov eax, 0xa4
ret
mov eax, 0x5b
ret
mov eax, 0xa1
ret
mov eax, 0xa3
ret
mov eax, 0xa5
ret
mov eax, 0x5c
ret
mov eax, 0x5d
ret
mov eax, 0x30
ret
mov eax, 0x31
ret
mov eax, 0x32
ret
mov eax, 0x33
ret
mov eax, 0x34
ret
mov eax, 0x35
ret
mov eax, 0x36
ret
mov eax, 0x37
ret
mov eax, 0x38
ret
mov eax, 0x39
ret
mov eax, 0x41
ret
mov eax, 0x42
ret
mov eax, 0x43
ret
mov eax, 0x44
ret
mov eax, 0x45
ret
mov eax, 0x46
ret
mov eax, 0x47
ret
mov eax, 0x48
ret
mov eax, 0x49
ret
mov eax, 0x4a
ret
mov eax, 0x4b
ret
mov eax, 0x4c
ret
mov eax, 0x4d
ret
mov eax, 0x4e
ret
mov eax, 0x4f
ret
mov eax, 0x50
ret
mov eax, 0x51
ret
mov eax, 0x52
ret
mov eax, 0x53
ret
mov eax, 0x54
ret
mov eax, 0x55
ret
mov eax, 0x56
ret
mov eax, 0x57
ret
mov eax, 0x58
ret
mov eax, 0x59
ret
mov eax, 0x5a
ret
mov eax, 0x70
ret
mov eax, 0x71
ret
mov eax, 0x72
ret
mov eax, 0x73
ret
mov eax, 0x74
ret
mov eax, 0x75
ret
mov eax, 0x76
ret
mov eax, 0x77
ret
mov eax, 0x78
ret
mov eax, 0x79
ret
mov eax, 0x7a
ret
mov eax, 0x7b
ret
xor eax, eax
ret
Function at 0x18001a630
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 8
mov rax, qword [rdx + 0x48]
cmp qword [rcx + 0x48], rax
je 0x18001a645
xor al, al
add rsp, 8
ret
mov rcx, qword [rcx + 0x40]
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp], rdi
mov rax, qword [rcx]
cmp rax, rcx
je 0x18001a6f1
mov r10, qword [rdx + 0x68]
movabs rsi, 0xcbf29ce484222325
mov r11, qword [rdx + 0x50]
movabs rdi, 0x100000001b3
mov rbx, qword [rdx + 0x40]
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
mov r9, r10
movzx r8d, byte [rax + 0x10]
xor r8, rsi
imul r8, rdi
xor r8, rdx
imul r8, rdi
and r9, r8
add r9, r9
mov rdx, qword [r11 + r9*8 + 8]
cmp rdx, rbx
je 0x18001a6e2
movzx r8d, word [rax + 0x10]
mov r9, qword [r11 + r9*8]
cmp r8w, word [rdx + 0x10]
je 0x18001a6e4
nop word [rax + rax]
cmp rdx, r9
je 0x18001a6e2
mov rdx, qword [rdx + 8]
cmp r8w, word [rdx + 0x10]
jne 0x18001a6d0
jmp 0x18001a6e4
xor edx, edx
test rdx, rdx
je 0x18001a706
mov rax, qword [rax]
cmp rax, rcx
jne 0x18001a690
mov rsi, qword [rsp + 0x18]
mov al, 1
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp]
add rsp, 8
ret
mov rsi, qword [rsp + 0x18]
xor al, al
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp]
add rsp, 8
ret