joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003e0c0
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 0x18003e0f3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 5
jb 0x18003e0e0
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 0x18003e11c
mov r8d, 5
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003e130
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 0x18003e163
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x15
jb 0x18003e150
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 0x18003e18c
mov r8d, reloc.WS2_32.dll_setsockopt
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18003e1a0
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 0x18003e1d3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0x14
jb 0x18003e1c0
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 0x18003e1fc
mov r8d, reloc.WS2_32.dll_sendto
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

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

Function at 0x18003e8b0
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 0x18003e8e3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x70]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 6
jb 0x18003e8d0
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 0x18003e90c
mov r8d, 6
mov rcx, rbx
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18003fc90
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1801561e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18003fd63
cmp byte [rcx + 0x71], 0
je 0x18003fd63
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x18003fd5f
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 0x18003fd24
sub eax, 1
je 0x18003fd28
cmp eax, 2
jne 0x18003fd5f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180112970
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18003fd56
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 0x18003fd5f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18003fd0c
xor al, al
jmp 0x18003fd0c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180112970
add rsp, 0x60
pop rbx
ret

Function at 0x180046310
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0x11], dl
je 0x180046354
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 0x10
jb 0x180046340
mov byte [r8 + 0x11], dl
add r8, 0x10
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x180046380
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180046390
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0xc], dl
je 0x1800463d4
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xb
jb 0x1800463c0
mov byte [r8 + 0xc], dl
add r8, 0xb
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x180046400
mov r8d, recv
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180046410
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 7], dl
je 0x180046454
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 6
jb 0x180046440
mov byte [r8 + 7], dl
add r8, 6
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x180046480
mov r8d, 6
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800464c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 8], dl
je 0x180046504
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 7
jb 0x1800464f0
mov byte [r8 + 8], dl
add r8, 7
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x180046530
mov r8d, 7
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180046540
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 4], dl
je 0x180046584
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 3
jb 0x180046570
mov byte [r8 + 4], dl
add r8, 3
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x1800465b0
mov r8d, 3
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800465c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0xe], dl
je 0x180046604
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xd
jb 0x1800465f0
mov byte [r8 + 0xe], dl
add r8, 0xd
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x180046630
mov r8d, reloc.WS2_32.dll_listen
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180046640
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0xd], dl
je 0x180046684
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xc
jb 0x180046670
mov byte [r8 + 0xd], dl
add r8, 0xc
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x1800466b0
mov r8d, recv
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800466c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r11, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r10, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r11
cmp byte [r8 + 0x10], dl
je 0x180046704
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xf
jb 0x1800466f0
mov byte [r8 + 0x10], dl
lea r9, [r8 + 0xf]
mov qword [r11], rdx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r11], dl
cmp r10, r9
je 0x180046730
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, r10
mov rcx, r11
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180046740
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0x12], dl
je 0x180046784
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 0x11
jb 0x180046770
mov byte [r8 + 0x12], dl
add r8, 0x11
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x1800467b0
mov r8d, reloc.WS2_32.dll_recvfrom
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800467f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0xb], dl
je 0x180046834
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xa
jb 0x180046820
mov byte [r8 + 0xb], dl
add r8, 0xa
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x180046860
mov r8d, 0xa
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180046870
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0xf], dl
je 0x1800468b4
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xe
jb 0x1800468a0
mov byte [r8 + 0xf], dl
add r8, 0xe
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x1800468e0
mov r8d, recv
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800468f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0x14], dl
je 0x180046934
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 0x13
jb 0x180046920
mov byte [r8 + 0x14], dl
add r8, 0x13
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x180046960
mov r8d, reloc.WS2_32.dll_send
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180046970
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0x13], dl
je 0x1800469b4
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 0x12
jb 0x1800469a0
mov byte [r8 + 0x13], dl
add r8, 0x12
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x1800469e0
mov r8d, reloc.WS2_32.dll_select
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800469f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 0x17], dl
je 0x180046a34
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 0x16
jb 0x180046a20
mov byte [r8 + 0x17], dl
add r8, 0x16
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x180046a60
mov r8d, reloc.WLDAP32.dll_Ordinal_22
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180046a70
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rdx]
lea r10, [rcx + 8]
xor edx, edx
mov dword [rcx], eax
mov r9, r8
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov qword [rsp + 0x20], r10
cmp byte [r8 + 6], dl
je 0x180046ab4
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax - 0x70]
xor byte [rax + r8], cl
inc rax
cmp rax, 5
jb 0x180046aa0
mov byte [r8 + 6], dl
add r8, 5
mov qword [r10], rdx
mov qword [r10 + 0x10], rdx
mov qword [r10 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r10], dl
cmp r9, r8
je 0x180046ae0
mov r8d, 5
mov rdx, r9
mov rcx, r10
call fcn.180040b10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180046af0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rbx, rcx
cmp byte [rdx + 0xb], r8b
je 0x180046b24
mov eax, r8d
lea ecx, [rax - 0x70]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xa
jb 0x180046b11
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 0x180046b4d
mov r8d, 0xa
mov rcx, rbx
call fcn.180040b10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180046ba0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rbx, rcx
cmp byte [rdx + 0x10], r8b
je 0x180046bd4
mov eax, r8d
lea ecx, [rax - 0x70]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xf
jb 0x180046bc1
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 0x180046bfd
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call fcn.180040b10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180046c10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rbx, rcx
cmp byte [rdx + 0xe], r8b
je 0x180046c44
mov eax, r8d
lea ecx, [rax - 0x70]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xd
jb 0x180046c31
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 0x180046c6d
mov r8d, reloc.WS2_32.dll_listen
mov rcx, rbx
call fcn.180040b10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180046c80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rbx, rcx
cmp byte [rdx + 0xc], r8b
je 0x180046cb4
mov eax, r8d
lea ecx, [rax - 0x70]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xb
jb 0x180046ca1
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 0x180046cdd
mov r8d, recv
mov rcx, rbx
call fcn.180040b10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180046d70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rbx, rcx
cmp byte [rdx + 7], r8b
je 0x180046da4
mov eax, r8d
lea ecx, [rax - 0x70]
xor byte [rax + rdx], cl
inc rax
cmp rax, 6
jb 0x180046d91
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 0x180046dcd
mov r8d, 6
mov rcx, rbx
call fcn.180040b10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180046de0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rbx, rcx
cmp byte [rdx + 4], r8b
je 0x180046e14
mov eax, r8d
lea ecx, [rax - 0x70]
xor byte [rax + rdx], cl
inc rax
cmp rax, 3
jb 0x180046e01
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 0x180046e3d
mov r8d, 3
mov rcx, rbx
call fcn.180040b10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180046e50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rbx, rcx
cmp byte [rdx + 8], r8b
je 0x180046e84
mov eax, r8d
lea ecx, [rax - 0x70]
xor byte [rax + rdx], cl
inc rax
cmp rax, 7
jb 0x180046e71
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 0x180046ead
mov r8d, 7
mov rcx, rbx
call fcn.180040b10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180046ec0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rbx, rcx
cmp byte [rdx + 0xf], r8b
je 0x180046ef4
mov eax, r8d
lea ecx, [rax - 0x70]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xe
jb 0x180046ee1
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 0x180046f1d
mov r8d, recv
mov rcx, rbx
call fcn.180040b10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180046f30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rbx, rcx
cmp byte [rdx + 0x11], r8b
je 0x180046f64
mov eax, r8d
lea ecx, [rax - 0x70]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x10
jb 0x180046f51
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 0x180046f8d
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.180040b10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180046fa0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rbx, rcx
cmp byte [rdx + 0x17], r8b
je 0x180046fd4
mov eax, r8d
lea ecx, [rax - 0x70]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x16
jb 0x180046fc1
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 0x180046ffd
mov r8d, reloc.WLDAP32.dll_Ordinal_22
mov rcx, rbx
call fcn.180040b10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180047010
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rbx, rcx
cmp byte [rdx + 0x15], r8b
je 0x180047044
mov eax, r8d
lea ecx, [rax - 0x70]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x14
jb 0x180047031
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 0x18004706d
mov r8d, reloc.WS2_32.dll_sendto
mov rcx, rbx
call fcn.180040b10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret