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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1801551e0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18003ba8d
xor eax, eax
jmp 0x18003bbe2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x18003bab8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x18003bab8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x18003bbe2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18003bbd5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18003bafb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x18003bb26
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 0x18003bbda
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 0x18003bb95
sub eax, 1
je 0x18003bb95
cmp eax, 2
jne 0x18003bbd5
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 0x18003bbda
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18003bbc3
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 0x18003bbd5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x18003bbda
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1801127f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x18003bdc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x26], r8b
je 0x18003bdf3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x25
jb 0x18003bde0
mov byte [rdx + 0x26], r8b
lea rcx, [rdx + 0x25]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003be1c
mov r8d, Ordinal_41
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003be30
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x22], r8b
je 0x18003be63
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x21
jb 0x18003be50
mov byte [rdx + 0x22], r8b
lea rcx, [rdx + 0x21]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003be8c
mov r8d, reloc.WLDAP32.dll_Ordinal_33
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003bea0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x20], r8b
je 0x18003bed3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1f
jb 0x18003bec0
mov byte [rdx + 0x20], r8b
lea rcx, [rdx + 0x1f]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003befc
mov r8d, Ordinal_33
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003bf10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x18003bf33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x18003bf20
mov byte [rcx + 0x1a], 0
ret

Function at 0x18003bf40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x1a], r8b
je 0x18003bf73
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x19
jb 0x18003bf60
mov byte [rdx + 0x1a], r8b
lea rcx, [rdx + 0x19]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003bf9c
mov r8d, Ordinal_30
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003bfb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x2b], r8b
je 0x18003bfe3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x2a
jb 0x18003bfd0
mov byte [rdx + 0x2b], r8b
lea rcx, [rdx + 0x2a]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003c00c
mov r8d, Ordinal_46
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003c020
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x41], r8b
je 0x18003c053
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x40
jb 0x18003c040
mov byte [rdx + 0x41], r8b
lea rcx, [rdx + 0x40]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003c07c
mov r8d, 0x40
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003c200
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x21], 0
je 0x18003c223
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x20
jb 0x18003c210
mov byte [rcx + 0x21], 0
ret

Function at 0x18003c230
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x21], r8b
je 0x18003c263
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x20
jb 0x18003c250
mov byte [rdx + 0x21], r8b
lea rcx, [rdx + 0x20]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003c28c
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d3e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 5], r8b
je 0x18003d413
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 4
jb 0x18003d400
mov byte [rdx + 5], r8b
lea rcx, [rdx + 4]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003d43c
mov r8d, 4
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d5e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x17], r8b
je 0x18003d613
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x16
jb 0x18003d600
mov byte [rdx + 0x17], r8b
lea rcx, [rdx + 0x16]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003d63c
mov r8d, reloc.WLDAP32.dll_Ordinal_22
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003d650
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x13], r8b
je 0x18003d683
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x12
jb 0x18003d670
mov byte [rdx + 0x13], r8b
lea rcx, [rdx + 0x12]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003d6ac
mov r8d, reloc.WS2_32.dll_select
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d6c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
je 0x18003d6e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x13
jb 0x18003d6d0
mov byte [rcx + 0x14], 0
ret

Function at 0x18003d6f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x14], r8b
je 0x18003d723
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x13
jb 0x18003d710
mov byte [rdx + 0x14], r8b
lea rcx, [rdx + 0x13]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003d74c
mov r8d, reloc.WS2_32.dll_send
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d760
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0xf], r8b
je 0x18003d793
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xe
jb 0x18003d780
mov byte [rdx + 0xf], r8b
lea rcx, [rdx + 0xe]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003d7bc
mov r8d, recv
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d7d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0xb], r8b
je 0x18003d803
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xa
jb 0x18003d7f0
mov byte [rdx + 0xb], r8b
lea rcx, [rdx + 0xa]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003d82c
mov r8d, 0xa
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003d860
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x10], r8b
je 0x18003d893
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xf
jb 0x18003d880
mov byte [rdx + 0x10], r8b
lea rcx, [rdx + 0xf]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003d8bc
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d8d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0xd], r8b
je 0x18003d903
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xc
jb 0x18003d8f0
mov byte [rdx + 0xd], r8b
lea rcx, [rdx + 0xc]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003d92c
mov r8d, recv
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d940
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0xe], r8b
je 0x18003d973
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xd
jb 0x18003d960
mov byte [rdx + 0xe], r8b
lea rcx, [rdx + 0xd]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003d99c
mov r8d, reloc.WS2_32.dll_listen
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d9b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x12], r8b
je 0x18003d9e3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x11
jb 0x18003d9d0
mov byte [rdx + 0x12], r8b
lea rcx, [rdx + 0x11]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003da0c
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003da40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0xc], r8b
je 0x18003da73
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xb
jb 0x18003da60
mov byte [rdx + 0xc], r8b
lea rcx, [rdx + 0xb]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003da9c
mov r8d, recv
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003dab0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x11], r8b
je 0x18003dae3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x10
jb 0x18003dad0
mov byte [rdx + 0x11], r8b
lea rcx, [rdx + 0x10]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003db0c
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003dce0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1e], 0
je 0x18003dd03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1d
jb 0x18003dcf0
mov byte [rcx + 0x1e], 0
ret

Function at 0x18003dd10
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x1e], r8b
je 0x18003dd43
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1d
jb 0x18003dd30
mov byte [rdx + 0x1e], r8b
lea rcx, [rdx + 0x1d]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003dd6c
mov r8d, Ordinal_33
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003dd80
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 4], r8b
je 0x18003ddb3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 3
jb 0x18003dda0
mov byte [rdx + 4], r8b
lea rcx, [rdx + 3]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003dddc
mov r8d, 3
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003ddf0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x1c], r8b
je 0x18003de23
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1b
jb 0x18003de10
mov byte [rdx + 0x1c], r8b
lea rcx, [rdx + 0x1b]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003de4c
mov r8d, reloc.WLDAP32.dll_Ordinal_27
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003de60
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x1b], r8b
je 0x18003de93
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1a
jb 0x18003de80
mov byte [rdx + 0x1b], r8b
lea rcx, [rdx + 0x1a]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003debc
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003ded0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 3], r8b
je 0x18003df03
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 2
jb 0x18003def0
mov byte [rdx + 3], r8b
lea rcx, [rdx + 2]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003df2c
mov r8d, 2
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003df40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 6], r8b
je 0x18003df73
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 5
jb 0x18003df60
mov byte [rdx + 6], r8b
lea rcx, [rdx + 5]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003df9c
mov r8d, 5
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003dfb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x16], r8b
je 0x18003dfe3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x15
jb 0x18003dfd0
mov byte [rdx + 0x16], r8b
lea rcx, [rdx + 0x15]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003e00c
mov r8d, reloc.WS2_32.dll_setsockopt
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003e020
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x15], r8b
je 0x18003e053
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x14
jb 0x18003e040
mov byte [rdx + 0x15], r8b
lea rcx, [rdx + 0x14]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003e07c
mov r8d, reloc.WS2_32.dll_sendto
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003e6b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 8], r8b
je 0x18003e6e3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 7
jb 0x18003e6d0
mov byte [rdx + 8], r8b
lea rcx, [rdx + 7]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003e70c
mov r8d, 7
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003e730
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 7], r8b
je 0x18003e763
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 6
jb 0x18003e750
mov byte [rdx + 7], r8b
lea rcx, [rdx + 6]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x18003e78c
mov r8d, 6
mov rcx, rbx
call fcn.180040990
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003fb10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1801551e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18003fbe3
cmp byte [rcx + 0x71], 0
je 0x18003fbe3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x18003fbdf
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 0x18003fba4
sub eax, 1
je 0x18003fba8
cmp eax, 2
jne 0x18003fbdf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1801127f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18003fbd6
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 0x18003fbdf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18003fb8c
xor al, al
jmp 0x18003fb8c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1801127f0
add rsp, 0x60
pop rbx
ret