joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003b270
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 + 0x1f], r8b
je 0x18003b2a3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1e
jb 0x18003b290
mov byte [rdx + 0x1f], r8b
lea rcx, [rdx + 0x1e]
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 0x18003b2cc
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003b2e0
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 + 0x1f], r8b
je 0x18003b313
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0x1e
jb 0x18003b300
mov byte [rdx + 0x1f], r8b
lea rcx, [rdx + 0x1e]
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 0x18003b33c
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003b640
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x18003b677
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x18003b698
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18003b69a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18003b6f3
test ecx, ecx
jle 0x18003b6d3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18003b6f3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18003b6f3
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 + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18003b720
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 0x18003b742
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18003b758
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 0x18003b774
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18003b776
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x18003b7b0
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]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18003b857
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x18003b7eb
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x18003b831
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]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x18003b870
cmp rbx, rax
ja 0x18003b800
mov r8, rdi
test rdi, rdi
je 0x18003b857
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]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x18003b85a
Function at 0x18003bc50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1801561e0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18003bc7d
xor eax, eax
jmp 0x18003bdd2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x18003bca8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x18003bca8
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 0x18003bdd2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18003bdc5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18003bceb
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 0x18003bd16
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 0x18003bdca
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 0x18003bd85
sub eax, 1
je 0x18003bd85
cmp eax, 2
jne 0x18003bdc5
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 0x18003bdca
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18003bdb3
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 0x18003bdc5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x18003bdca
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180112970
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
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 + 0x26], r8b
je 0x18003bfe3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x25
jb 0x18003bfd0
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 0x18003c00c
mov r8d, Ordinal_41
mov rcx, rbx
call fcn.180040b10
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 + 0x22], r8b
je 0x18003c053
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x21
jb 0x18003c040
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 0x18003c07c
mov r8d, reloc.WLDAP32.dll_Ordinal_33
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003c090
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 0x18003c0c3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1f
jb 0x18003c0b0
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 0x18003c0ec
mov r8d, Ordinal_33
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003c100
Capabilities:
Encode data using xor

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

Function at 0x18003c130
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 0x18003c163
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x19
jb 0x18003c150
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 0x18003c18c
mov r8d, Ordinal_30
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003c1a0
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 0x18003c1d3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x2a
jb 0x18003c1c0
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 0x18003c1fc
mov r8d, Ordinal_46
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003c380
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x21], 0
je 0x18003c3a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x70]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x20
jb 0x18003c390
mov byte [rcx + 0x21], 0
ret
Function at 0x18003c3b0
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 0x18003c3e3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x20
jb 0x18003c3d0
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 0x18003c40c
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d560
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 0x18003d593
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 4
jb 0x18003d580
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 0x18003d5bc
mov r8d, 4
mov rcx, rbx
call fcn.180040b10
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 + 0x17], r8b
je 0x18003d793
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x16
jb 0x18003d780
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 0x18003d7bc
mov r8d, reloc.WLDAP32.dll_Ordinal_22
mov rcx, rbx
call fcn.180040b10
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 + 0x13], r8b
je 0x18003d803
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x12
jb 0x18003d7f0
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 0x18003d82c
mov r8d, reloc.WS2_32.dll_select
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d840
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
je 0x18003d863
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x70]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x13
jb 0x18003d850
mov byte [rcx + 0x14], 0
ret
Function at 0x18003d870
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 0x18003d8a3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x13
jb 0x18003d890
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 0x18003d8cc
mov r8d, reloc.WS2_32.dll_send
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d8e0
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 0x18003d913
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xe
jb 0x18003d900
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 0x18003d93c
mov r8d, recv
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d950
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 0x18003d983
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xa
jb 0x18003d970
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 0x18003d9ac
mov r8d, 0xa
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003d9e0
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 0x18003da13
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xf
jb 0x18003da00
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 0x18003da3c
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003da50
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 0x18003da83
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xc
jb 0x18003da70
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 0x18003daac
mov r8d, recv
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003dac0
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 0x18003daf3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xd
jb 0x18003dae0
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 0x18003db1c
mov r8d, reloc.WS2_32.dll_listen
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003db30
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 0x18003db63
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x11
jb 0x18003db50
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 0x18003db8c
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003dbc0
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 0x18003dbf3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xb
jb 0x18003dbe0
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 0x18003dc1c
mov r8d, recv
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003dc30
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 0x18003dc63
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x10
jb 0x18003dc50
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 0x18003dc8c
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003de60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1e], 0
je 0x18003de83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x70]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1d
jb 0x18003de70
mov byte [rcx + 0x1e], 0
ret
Function at 0x18003de90
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 0x18003dec3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1d
jb 0x18003deb0
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 0x18003deec
mov r8d, Ordinal_33
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003df00
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 0x18003df33
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 3
jb 0x18003df20
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 0x18003df5c
mov r8d, 3
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003df70
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 0x18003dfa3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1b
jb 0x18003df90
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 0x18003dfcc
mov r8d, reloc.WLDAP32.dll_Ordinal_27
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003dfe0
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 0x18003e013
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x1a
jb 0x18003e000
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 0x18003e03c
mov r8d, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003e050
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 0x18003e083
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 2
jb 0x18003e070
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 0x18003e0ac
mov r8d, 2
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret