joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001f30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140001f60
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 0x140001fd8
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140001f77
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001f79
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001fd2
test ecx, ecx
jle 0x140001fb2
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 0x140001fd2
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001fd2
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
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140001ff4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002014
xor eax, eax
jmp 0x1400020fd
cmp qword [rcx + 0x68], 0
je 0x140002026
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 0x1400020fd
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000203d
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000203f
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002071
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400020f7
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400020a8
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
mov ebx, 0xfff
jmp 0x1400020d2
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]
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x1400020f7
cmp rdi, rbx
ja 0x1400020af
test rdi, rdi
je 0x1400020f7
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400024d8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401d00c0]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x140002511
xor eax, eax
jmp 0x140002631
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x14000254b
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x14000254b
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x140002631
cmp qword [rbx + 0x80], 0
je 0x14000262f
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140002586
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 0x1400025a7
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x14000262c
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
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 0x1400025f5
sub eax, 1
je 0x1400025f5
cmp eax, 2
jne 0x14000262f
movsx ecx, byte [rbp - 0x30]
jmp 0x140002593
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x140002620
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x14000262f
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140124910
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000282c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401d00c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000289b
cmp byte [rcx + 0x71], 0
je 0x14000289b
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400028f0
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 0x1400028b5
sub eax, 1
je 0x1400028b9
cmp eax, 2
jne 0x1400028f0
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140124910
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400028e7
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 0x1400028f0
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000289d
xor al, al
jmp 0x14000289d
Function at 0x1400044f0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
sub rsp, 0x150
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1401d00c0]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edi, esi
movabs r14, 0x3ad784855b427549
movabs r15, 0xc642c99cf05de98e
movabs rax, 0x3ba26d7a92313e31
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0xd6d830ecafdc6581
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x589eddf8841977
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0x9af16cbf3df9c2eb
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x3bc96d0992503e45
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0xd6b43080afb565ea
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x789e9bf8ab1957
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0x9ad16cf23db0c2c4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0xa0]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqa xmm0, xmmword [rbp + 0x40]
vxorps xmm0, xmm0, xmmword [rbp + 0xc0]
vmovdqa xmmword [rbp + 0x40], xmm0
lea rax, [rbp + 0x20]
or rcx, 0xffffffffffffffff
vzeroupper
inc rcx
cmp word [rax + rcx*2], si
jne 0x140004672
mov rdx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, rcx
jb 0x140004740
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400046a2
mov rax, qword [rbx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x20]
lea rcx, [rbp + 0x60]
call fcn.1400119fc
nop
lea r8, str.___NUL_2_1
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.140010834
nop
lea rcx, [rbp + 0x60]
call fcn.140010188
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rcx, qword [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
lea rcx, [rbp + 0x80]
call fcn.140010188
inc edi
cmp edi, 5
jl 0x140004551
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140124910
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001a74
int3
Function at 0x140004748
Capabilities:
Execute command

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1401d00c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 0xb
jb 0x1400047d6
cmp qword [rcx + 0x18], 7
jbe 0x14000477c
mov rcx, qword [rcx]
lea rax, str.___NUL_2_1
mov qword [rsp + 0x30], recv
mov r9, rcx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
call fcn.1400119fc
cmp qword [rsp + 0x60], 7
lea rcx, [rsp + 0x48]
cmova rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
lea rcx, [rsp + 0x48]
call fcn.140010188
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140124910
add rsp, 0x78
ret
call fcn.140001a74
int3
Function at 0x14000ee54
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r15
push rbp
mov rbp, rsp
sub rsp, 0x40
cmp qword [rcx + 0x18], 7
mov rbx, rcx
jbe 0x14000ee78
mov rcx, qword [rcx]
mov rax, qword [rbx + 0x10]
lea rdi, [rcx + rax*2]
jbe 0x14000ee85
mov rbx, qword [rbx]
and qword [rbp - 0x10], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
cmp rbx, rdi
jne 0x14000eea8
mov eax, reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov qword [rbp - 8], rax
jmp 0x14000ef6d
sub rdi, rbx
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
sar rdi, 1
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14000efd3
mov r15d, reloc.WS2_32.dll_ntohs
cmp rdi, r15
jbe 0x14000ef27
mov r15, rdi
or r15, 0xf
cmp r15, rax
jbe 0x14000eeef
mov r15, rax
movabs rcx, 0x8000000000000000
jmp 0x14000ef11
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp r15, rax
cmovb r15, rax
lea rcx, [r15 + 1]
test rcx, rcx
jne 0x14000ef08
xor eax, eax
jmp 0x14000ef1d
cmp rcx, 0x1000
jb 0x14000ef18
call fcn.140002df0
jmp 0x14000ef1d
call fcn.140124930
mov qword [rbp - 0x20], rax
mov qword [rbp - 8], r15
jmp 0x14000ef2b
mov rax, qword [rbp - 0x20]
cmp r15, 0xf
lea rdx, [rbp - 0x20]
mov r8, rdi
cmova rdx, rax
mov rcx, rdx
test rdi, rdi
je 0x14000ef53
mov al, byte [rbx]
lea rbx, [rbx + 2]
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x14000ef42
and qword [rbp + 0x10], 0
lea rcx, [rbp + 0x10]
mov qword [rbp - 0x10], rdi
mov byte [rdx + rdi], 0
call fcn.140012684
mov rax, qword [rbp - 8]
cmp rax, 0xf
lea rcx, [rbp - 0x20]
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14000efbe
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000efb9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000efb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140124bac
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
call fcn.140001a74
int3
Function at 0x14000f42c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14000f490
lea r8, [r9 + 8]
mov r11d, 0x7fffffff
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r11d
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 0x14000f450
mov ecx, dword [r9]
jmp 0x14000f56d
cmp ecx, 0x4e0
jb 0x14000f56d
lea r10, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [r10]
mov r11d, 0x7fffffff
mov eax, edi
mov r8, r10
add r10, 4
mov edi, dword [r10]
mov edx, edi
xor edx, eax
and edx, r11d
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 rsi, 1
jne 0x14000f4b1
lea r10, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [r10]
mov eax, edi
mov r8, r10
mov edx, eax
add r10, 4
mov edi, dword [r10]
xor edx, edi
and edx, r11d
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 rsi, 1
jne 0x14000f4fb
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r11d
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 rsi, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
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
ret

Function at 0x14000f5b4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
or dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
mov r10d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9], edx
lea r9, [r9 + 4]
cmp r8, r10
jb 0x14000f5ce
mov dword [rcx], r10d
mov rax, rcx
ret
Function at 0x14002d03c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14002d096
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rbx, [0x140155c80]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x14002d080
cmp rdx, 2
jb 0x14002d080
cmp byte [r10], r11b
jne 0x14002d080
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x14002d05e
jmp 0x14002d0d7
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14002d0d7
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rbx, [0x140155c80]
cmp dl, r11b
jne 0x14002d0bb
cmp byte [r10], r11b
jne 0x14002d0bb
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x14002d0a9
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x14002d20c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x14002d22c
and qword [r8], 0
lea rdx, [0x1401b9840]
call fcn.14002d0e8
mov rbx, rax
test rax, rax
je 0x14002d31d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14002d314
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002d314
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14002d314
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002d314
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x14002d314
mov rax, qword [0x1401d1478]
test rax, rax
je 0x14002d2b1
inc dword [rax + 0xf0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14002d314
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x14002d301
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401d1478]
test rax, rax
je 0x14002d2f6
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002d31d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14002d30f
mov qword [rsi], rbp
mov rax, rdi
jmp 0x14002d31f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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 0x14002f990
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1401d00c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x140155c80]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x14002f9cf
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x14002fa09
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.140040474
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140124910
add rsp, 0x30
pop rbx
ret

Function at 0x14002fa20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1401d00c0]
xor rax, rsp
mov qword [rsp + 0x10], rax
movss xmm2, dword [rcx + 0x110]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x114]
mov r10d, reloc.WS2_32.dll_recv
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xf8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x140155c80]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14002fa9d
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140124910
add rsp, 0x28
ret
Function at 0x14003f0fc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14003f195
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x14003f14d
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140041498
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.14002d90c
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cb0]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1401d1471]
movsxd r8, eax
mov rax, qword [rdi + 0x5cc0]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14003f19d
mov rcx, rbx
call fcn.14002d90c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14003f830
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1401d1478]
mov rbx, rcx
and dword [rax + 0x5c0c], 0
test rcx, rcx
je 0x14003f899
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14003f8a4
lea rdx, [0x1401b9844]
mov rcx, rbx
mov rdi, rax
call fcn.14002d0e8
mov rbx, rax
test rax, rax
je 0x14003f899
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14005b128
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x14005b150
mov rax, qword [0x1401d2d90]
and rax, r15
add rax, rax
mov rcx, qword [0x1401d2d78]
mov rbx, qword [rcx + rax*8 + 8]
mov r14, qword [0x1401d2d68]
cmp rbx, r14
jne 0x14005b19c
mov rbx, r14
mov rbp, r14
jmp 0x14005b1da
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x14005b1ae
cmp rbx, rdx
je 0x14005b1d4
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14005b1a5
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [0x1401d2d70], rax
jne 0x14005b1fb
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [0x1401d2d68]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, Ordinal_27
call fcn.140124930
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rax, qword [r12]
mov qword [rdi + 0x10], rax
mov r8, qword [0x1401d2d70]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14005b241
cvtsi2ss xmm0, rcx
jmp 0x14005b256
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1401d2d98]
xorps xmm1, xmm1
test rcx, rcx
js 0x14005b26c
cvtsi2ss xmm1, rcx
jmp 0x14005b281
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1401d2d60]
jbe 0x14005b2e9
call fcn.14005b374
mov rcx, qword [0x1401d2d90]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x1401d2d78]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x1401d2d68]
cmp rax, rbx
je 0x14005b2d5
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x14005b2cd
mov rbx, rax
cmp rax, r8
je 0x14005b32c
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14005b2c1
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r8, qword [0x1401d2d70]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x1401d2d70], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x1401d2d90]
and rax, r15
add rax, rax
mov rcx, qword [0x1401d2d78]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x1401d2d68]
jne 0x14005b333
mov qword [rcx + rax*8], rdi
jmp 0x14005b345
mov qword [rsp + 0x20], rax
jmp 0x14005b2da
cmp r8, rbp
jne 0x14005b33e
mov qword [rcx + rax*8], rdi
jmp 0x14005b34a
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14005b34a
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x14005b1ba