joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003fe90
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 0x18003ff63
cmp byte [rcx + 0x71], 0
je 0x18003ff63
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x18003ff5f
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 0x18003ff24
sub eax, 1
je 0x18003ff28
cmp eax, 2
jne 0x18003ff5f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180112b70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18003ff56
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 0x18003ff5f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18003ff0c
xor al, al
jmp 0x18003ff0c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180112b70
add rsp, 0x60
pop rbx
ret

Function at 0x180046510
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 0x180046554
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 0x10
jb 0x180046540
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 0x180046580
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r9
mov rcx, r10
call fcn.180040d10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180046590
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 0x1800465d4
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xb
jb 0x1800465c0
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 0x180046600
mov r8d, recv
mov rdx, r9
mov rcx, r10
call fcn.180040d10
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180046610
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 0x180046654
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 6
jb 0x180046640
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 0x180046680
mov r8d, 6
mov rdx, r9
mov rcx, r10
call fcn.180040d10
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 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 0x180046704
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 7
jb 0x1800466f0
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 0x180046730
mov r8d, 7
mov rdx, r9
mov rcx, r10
call fcn.180040d10
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 + 4], dl
je 0x180046784
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 3
jb 0x180046770
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 0x1800467b0
mov r8d, 3
mov rdx, r9
mov rcx, r10
call fcn.180040d10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800467c0
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 0x180046804
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xd
jb 0x1800467f0
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 0x180046830
mov r8d, reloc.WS2_32.dll_listen
mov rdx, r9
mov rcx, r10
call fcn.180040d10
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180046840
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 0x180046884
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xc
jb 0x180046870
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 0x1800468b0
mov r8d, recv
mov rdx, r9
mov rcx, r10
call fcn.180040d10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800468c0
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 0x180046904
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xf
jb 0x1800468f0
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 0x180046930
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, r10
mov rcx, r11
call fcn.180040d10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180046940
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 0x180046984
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 0x11
jb 0x180046970
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 0x1800469b0
mov r8d, reloc.WS2_32.dll_recvfrom
mov rdx, r9
mov rcx, r10
call fcn.180040d10
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 + 0xb], dl
je 0x180046a34
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xa
jb 0x180046a20
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 0x180046a60
mov r8d, 0xa
mov rdx, r9
mov rcx, r10
call fcn.180040d10
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 + 0xf], dl
je 0x180046ab4
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 0xe
jb 0x180046aa0
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 0x180046ae0
mov r8d, recv
mov rdx, r9
mov rcx, r10
call fcn.180040d10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180046af0
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 0x180046b34
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 0x13
jb 0x180046b20
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 0x180046b60
mov r8d, reloc.WS2_32.dll_send
mov rdx, r9
mov rcx, r10
call fcn.180040d10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180046b70
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 0x180046bb4
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 0x12
jb 0x180046ba0
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 0x180046be0
mov r8d, reloc.WS2_32.dll_select
mov rdx, r9
mov rcx, r10
call fcn.180040d10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180046bf0
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 0x180046c34
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 0x16
jb 0x180046c20
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 0x180046c60
mov r8d, reloc.WLDAP32.dll_Ordinal_22
mov rdx, r9
mov rcx, r10
call fcn.180040d10
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180046c70
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 0x180046cb4
mov eax, edx
nop dword [rax + rax]
lea ecx, [rax + 0x33]
xor byte [rax + r8], cl
inc rax
cmp rax, 5
jb 0x180046ca0
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 0x180046ce0
mov r8d, 5
mov rdx, r9
mov rcx, r10
call fcn.180040d10
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x180046cf0
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 0x180046d24
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xa
jb 0x180046d11
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 0x180046d4d
mov r8d, 0xa
mov rcx, rbx
call fcn.180040d10
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 0x180046da0
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 0x180046dd4
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xf
jb 0x180046dc1
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 0x180046dfd
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call fcn.180040d10
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 0x180046e10
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 0x180046e44
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xd
jb 0x180046e31
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 0x180046e6d
mov r8d, reloc.WS2_32.dll_listen
mov rcx, rbx
call fcn.180040d10
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 0x180046e80
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 0x180046eb4
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xb
jb 0x180046ea1
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 0x180046edd
mov r8d, recv
mov rcx, rbx
call fcn.180040d10
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 0x180046f70
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 0x180046fa4
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 6
jb 0x180046f91
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 0x180046fcd
mov r8d, 6
mov rcx, rbx
call fcn.180040d10
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 0x180046fe0
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 0x180047014
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 3
jb 0x180047001
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 0x18004703d
mov r8d, 3
mov rcx, rbx
call fcn.180040d10
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 0x180047050
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 0x180047084
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 7
jb 0x180047071
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 0x1800470ad
mov r8d, 7
mov rcx, rbx
call fcn.180040d10
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 0x1800470c0
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 0x1800470f4
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xe
jb 0x1800470e1
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 0x18004711d
mov r8d, recv
mov rcx, rbx
call fcn.180040d10
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 0x180047130
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 0x180047164
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x10
jb 0x180047151
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 0x18004718d
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.180040d10
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 0x1800471a0
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 0x1800471d4
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x16
jb 0x1800471c1
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 0x1800471fd
mov r8d, reloc.WLDAP32.dll_Ordinal_22
mov rcx, rbx
call fcn.180040d10
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 0x180047210
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 0x180047244
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x14
jb 0x180047231
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 0x18004726d
mov r8d, reloc.WS2_32.dll_sendto
mov rcx, rbx
call fcn.180040d10
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 0x180047280
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 + 0x13], r8b
je 0x1800472b4
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x12
jb 0x1800472a1
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 0x1800472dd
mov r8d, reloc.WS2_32.dll_select
mov rcx, rbx
call fcn.180040d10
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 0x1800472f0
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 + 0xd], r8b
je 0x180047324
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xc
jb 0x180047311
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 0x18004734d
mov r8d, recv
mov rcx, rbx
call fcn.180040d10
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 0x180047360
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 + 0x12], r8b
je 0x180047394
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x11
jb 0x180047381
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 0x1800473bd
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, rbx
call fcn.180040d10
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 0x1800473d0
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 + 3], r8b
je 0x180047404
mov eax, r8d
lea ecx, [rax + 0x33]
xor byte [rax + rdx], cl
inc rax
cmp rax, 2
jb 0x1800473f1
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 0x18004742d
mov r8d, 2
mov rcx, rbx
call fcn.180040d10
mov ecx, dword [rdi]
mov rax, rbx
mov dword [rbx + 0x20], ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret