joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18008b0e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x18008b102
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18008b118
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 qword [rsp + 0x28], rbx
mov rbx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x18008b162
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
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, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x18008b1d1
mov rcx, rbp
call fcn.180072230
cmp rbx, 0xfff
jbe 0x18008b1b1
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x18008b1ea
cmp rbx, rax
ja 0x18008b180
test rdi, rdi
je 0x18008b1d1
mov r9, qword [rbp + 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 rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x28]
mov rax, rsi
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rsi, rbx
jmp 0x18008b1d4
Function at 0x18008b1f0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x18008b218
add rsp, 0x20
pop r14
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
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 rbp, rax
test rbx, rbx
jle 0x18008b28c
test rax, rax
jle 0x18008b26c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
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, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x18008b28c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18008b28c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret

Function at 0x18008b2b0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18008b2df
xor eax, eax
mov qword [0x1802b3ec0], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x18008b2f0]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x18009cd10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xa0
mov ebx, dword [reloc.WS2_32.dll_accept]
movaps xmmword [rax - 0x18], xmm6
movdqa xmm6, xmmword [0x1801433f0]
movaps xmmword [rax - 0x28], xmm7
movdqa xmm7, xmmword [0x1801433e0]
movaps xmmword [rax - 0x38], xmm8
movdqa xmm8, xmmword [0x18013cb90]
movaps xmmword [rax - 0x48], xmm9
movdqa xmm9, xmmword [0x180184b70]
movaps xmmword [rax - 0x58], xmm10
movdqa xmm10, xmmword [0x180143490]
movaps xmmword [rax - 0x68], xmm11
movdqa xmm11, xmmword [str.6666666666666666]
movaps xmmword [rax - 0x78], xmm12
movdqa xmm12, xmmword [str.8888]
movzx eax, word [0x180182aac]
xor ecx, ecx
movsd xmm0, qword [str.UXVQUHH]
mov edx, dword [str.H_rn_._D]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x180182aae]
mov byte [rsp + 0x2e], al
mov dword [rsp + 0x28], edx
movsd qword [rsp + 0x20], xmm0
cmp ebx, 2
jl 0x18009cef0
movdqa xmm1, xmm8
movdqa xmm0, xmm8
punpckldq xmm1, xmm8
mov ecx, ntohl
pmuldq xmm1, xmm9
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm8
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm8
pmulld xmm0, xmm12
psubd xmm1, xmm0
movd xmm0, dword [str.UXVQUHH]
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm11
xorps xmm1, xmm0
movdqa xmm0, xmm7
movd dword [rsp + 0x20], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm7
pmulld xmm0, xmm12
psubd xmm1, xmm0
movd xmm0, dword [rsp + 0x24]
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm11
xorps xmm1, xmm0
movdqa xmm0, xmm6
movd dword [rsp + 0x24], xmm1
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm6
pmulld xmm0, xmm12
psubd xmm1, xmm0
movd xmm0, edx
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm11
xorps xmm1, xmm0
movd dword [rsp + 0x28], xmm1
mov eax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0xf
jl 0x18009cf00
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x1802b44fe], 0
mov rdx, rax
je 0x18009cf6a
movzx ecx, byte [reloc.WS2_32.dll_accept]
mov byte [rax + 0x6ee29], cl
mov ecx, 0xa
mov byte [0x1802b4b4c], 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18009cd7f
cmp byte [0x1802b4b4c], 0
je 0x18009cf87
movzx eax, byte [rax + 0x6ee28]
mov byte [rdx + 0x6ee29], al
mov byte [0x1802b4b4c], 0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18009cd7f
Function at 0x18009df40
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 0x18009dfa1
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 0x18009df60
mov ecx, dword [r9]
jmp 0x18009e08b
cmp ecx, 0x4e0
jb 0x18009e08b
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 0x18009dfc0
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 0x18009e010
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 0x18009f5b0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [0x1801ae8f0]
mov rsi, rcx
mov edi, r8d
mov r8d, edx
mov rcx, qword [rax + rdx]
test rcx, rcx
je 0x18009f5db
mov rax, qword [0x1801ae900]
mov r8d, dword [rax + rcx]
mov rax, qword [0x1802b43b0]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], r14
mov rax, qword [rax + rdx]
mov qword [rsp + 0x30], r15
test rax, rax
je 0x18009f72e
mov rax, qword [rax + 0x68]
lea rdx, [rsp + 0x68]
movsxd r15, r8d
lea rcx, [0x1802b4628]
mov qword [rsp + 0x68], r15
mov r14, qword [rax + 0x178]
call fcn.180097980
mov r9, rax
movzx r8d, dil
movabs r10, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov ecx, edi
imul r8, r10
shr ecx, 8
mov eax, edi
shr eax, 0x10
movzx edx, cl
xor r8, rdx
movzx ecx, al
mov rdx, qword [r9 + 8]
mov rax, rdi
imul r8, r10
shr rax, 0x18
xor r8, rcx
mov rcx, qword [r9 + 0x18]
imul r8, r10
xor r8, rax
mov rax, qword [r9 + 0x30]
imul r8, r10
and rax, r8
add rax, rax
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, rdx
je 0x18009f6b0
mov rax, qword [rcx + rax*8]
cmp edi, dword [rbx + 0x10]
je 0x18009f6b2
nop word [rax + rax]
cmp rbx, rax
je 0x18009f6b0
mov rbx, qword [rbx + 8]
cmp edi, dword [rbx + 0x10]
jne 0x18009f6a0
jmp 0x18009f6b2
xor ebx, ebx
test rbx, rbx
mov qword [rsp + 0x78], r15
lea rcx, [0x1802b4628]
cmove rbx, rdx
lea rdx, [rsp + 0x78]
call fcn.180097980
cmp rbx, qword [rax + 8]
jne 0x18009f7ad
mov r8, qword [r14]
cmp word [r8 + 0x1a], 0
je 0x18009f75f
movzx eax, word [r8 + 0x18]
test ax, ax
je 0x18009f72e
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov rax, qword [r8 + 0x10]
shl edx, 3
mov rdx, qword [rdx + rax]
mov eax, 1
test rdx, rdx
je 0x18009f72e
movabs rcx, 0xcccccccccccccc
cmp rdx, rcx
jge 0x18009f72e
cmp eax, 3
jg 0x18009f72e
cmp edi, dword [rdx]
je 0x18009f75a
mov rdx, qword [rdx + 8]
inc eax
test rdx, rdx
jne 0x18009f715
mov qword [rsi], 0
mov dword [rsi + 8], 0
mov r15, qword [rsp + 0x30]
mov rax, rsi
mov r14, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
add rsp, 0x48
pop rdi
pop rsi
ret
mov ebx, dword [rdx + 4]
jmp 0x18009f767
cmp rdi, qword [r8 + 0x5e]
jae 0x18009f72e
mov ebx, edi
test ebx, ebx
je 0x18009f72e
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x78], r15
lea rcx, [0x1802b4628]
call fcn.180097980
lea r8, [rsp + 0x68]
mov dword [rsp + 0x68], edi
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.18008f830
mov r8d, ebx
mov rdx, r14
mov rcx, qword [rax]
mov dword [rcx + 0x14], ebx
mov rcx, rsi
call fcn.18009f480
jmp 0x18009f73c
mov r8d, dword [rbx + 0x14]
mov rdx, r14
mov rcx, rsi
call fcn.18009f480
jmp 0x18009f73c
Function at 0x1800a6640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rbx, rcx
lea rax, vtable.std::_Func_impl_no_alloc_class__public:_void___cdecl_fx::SDK::Stop_class_fx::ResourceManager____ptr64____ptr64::_2::_lambda_1___bool___.0
mov rcx, qword [rcx + 8]
mov rdi, rdx
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rax, [rsp + 0x28]
add rcx, 0xc0
xor r8d, r8d
mov qword [rsp + 0x60], rax
call fcn.18009e500
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
jmp fcn.1800a5c40

Function at 0x1800a6e50
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800a6ffd
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18005c5b0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800a6fc6
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800a6f40
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800a6fb5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800a6f7d
mov r10, qword [rdx]
cmp r10, rax
je 0x1800a6f77
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 0x1800a6fb5
cmp r9, rdx
je 0x1800a6f91
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800a6fd7
cmp r9, rdx
jne 0x1800a6f82
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1800a6ef0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800a6fb5
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1800bd4e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13f0
call fcn.18012eb20
sub rsp, rax
mov rax, qword [0x1802b1080]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov r8d, 0x3e
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x30]
call fcn.18003d5d0
nop
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov ecx, 1
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x1800bd570
mov dword [rsp + 0x50], 0x270
mov r15d, dword [rsp + 0x40]
dec r15d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x24], 1
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x30]
test r14, r14
je 0x1800bd6a0
mov eax, 0x80000000
xor r15d, eax
movzx ebx, byte [rsp + 0x20]
nop dword [rax]
lea rcx, [rsp + 0x50]
cmp r15d, 0x7fffffff
jne 0x1800bd5f7
call fcn.18009df40
mov ecx, eax
jmp 0x1800bd638
lea esi, [r15 - 0x7fffffff]
call fcn.18009df40
mov ebp, esi
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jae 0x1800bd634
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp ecx, edx
jae 0x1800bd634
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.18009df40
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jb 0x1800bd620
shr rcx, 0x20
mov r8d, 0x80000000
lea eax, [rcx + r8]
xor eax, r8d
lea rcx, [rsp + 0x30]
cmp r13, 0xf
cmova rcx, r12
cdqe
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1800bd685
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1800bd67a
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800bd696
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.18004d700
sub r14, 1
jne 0x1800bd5e0
cmp r13, 0xf
jbe 0x1800bd6db
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1800bd6d3
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bd6d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.18012e518
mov rax, rdi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.18012eac0
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
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 0x1800d59f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x1800d5a18
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2a]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x135
jb 0x1800d5a00
mov byte [rcx + 0x136], 0
mov rax, rcx
ret

Function at 0x1800d5a20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
mov r8, rcx
je 0x1800d5aab
mov r9, 0xfffffffffffffffe
lea rax, [rcx + 2]
sub r9, rcx
nop dword [rax + rax]
lea edx, [r9 + rax]
lea ecx, [rdx - 0x2a]
xor byte [rax - 2], cl
lea rax, [rax + 0xe]
lea ecx, [rdx - 0x29]
xor byte [rax - 0xf], cl
lea ecx, [rdx - 0x28]
xor byte [rax - 0xe], cl
lea ecx, [rdx - 0x27]
xor byte [rax - 0xd], cl
lea ecx, [rdx - 0x26]
xor byte [rax - 0xc], cl
lea ecx, [rdx - 0x25]
xor byte [rax - 0xb], cl
lea ecx, [rdx - 0x24]
xor byte [rax - 0xa], cl
lea ecx, [rdx - 0x23]
xor byte [rax - 9], cl
lea ecx, [rdx - 0x22]
xor byte [rax - 8], cl
lea ecx, [rdx - 0x21]
xor byte [rax - 7], cl
lea ecx, [rdx - 0x20]
xor byte [rax - 6], cl
lea ecx, [rdx - 0x1f]
xor byte [rax - 5], cl
lea ecx, [rdx - 0x1e]
xor byte [rax - 4], cl
sub dl, 0x1d
xor byte [rax - 3], dl
lea rcx, [rax + r9]
cmp rcx, 0x46
jb 0x1800d5a40
mov byte [r8 + 0x47], 0
mov rax, r8
ret
Function at 0x1800f4bd0
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, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x1800f4c2e
mov dl, 1
call fcn.1800e5620
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.1800e5620
mov eax, ebx
jmp 0x1800f4c72
cmp ebx, 2
ja 0x1800f4c70
mov r9, qword [rdi + 0x668]
lea rdx, [0x180188248]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1800f4c90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x1802b1080]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x1800f4cd3
cmp qword [rcx + 0x678], 0
je 0x1800f4db0
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.1800e3720
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800f4d01
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1800f4d48
cmp byte [rdi + 0x1597], 0
jne 0x1800f4d48
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1800f4d30
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x1800f4da8
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1800f4e03
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x1800f4dc9
mov dl, 1
mov rcx, rdi
call fcn.1800e5620
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.1800e5620
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18012eac0
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x180188248]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1800f4da8
call fcn.18012ef44
int3
Function at 0x1800f4e10
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1800f4f76
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x1802b1080]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x1800f4f5e
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1800e3720
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x1800f4ed1
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1800f4e90
cmp byte [rax + rcx - 1], 0xa
jne 0x1800f4eb8
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x1800f4ecc
lea r8, [0x180137f78]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.1800e3620
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800f4ed6
cmp qword [rdi + 0x718], 0
je 0x1800f4f1e
mov dl, 1
mov rcx, rdi
call fcn.1800e5620
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.1800e5620
jmp 0x1800f4f56
mov r9, qword [rdi + 0x668]
lea rcx, [0x180188248]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.18012eac0
add rsp, 0x860
pop rdi
ret

Function at 0x1800f5010
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1800f5052
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, gethostname
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret