Function at 0x18005e5c0
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x18005e937
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1800e1080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, r8
mov esi, edx
mov rdi, rcx
lea r14, [rcx + 0x10]
mov qword [rbp - 0x19], r14
mov byte [rbp - 0x11], 0
mov rcx, r14
call fcn.180086610
test eax, eax
jne 0x18005e938
mov byte [rbp - 0x11], 1
cmp byte [rdi + 8], al
jne 0x18005e916
call fcn.18007e3f0
mov r11, rax
mov qword [rdi + 0x68], rax
test rax, rax
je 0x18005e916
cmp esi, 0xdac2
jne 0x18005e690
mov rax, qword [rax]
mov r10, qword [rax + 8]
mov cl, 1
mov byte [rbp - 9], cl
movdqa xmm0, xmmword [0x1800d0480]
movdqu xmmword [rbp - 8], xmm0
mov dword [rbp + 8], 0x37717c
xor edx, edx
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 8]
add rcx, rax
lea eax, [rdx + 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0x13
jb 0x18005e660
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x3e8
mov edx, 0xdac2
jmp 0x18005e8d8
cmp esi, 0xdacd
jne 0x18005e744
mov rax, qword [rax]
mov r10, qword [rax + 8]
mov cl, 1
mov byte [rbp + 0xf], cl
movdqa xmm0, xmmword [0x1800d0360]
movdqu xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x20], 0x5754184d
mov dword [rbp + 0x24], 0x57531454
mov word [rbp + 0x28], 0x3d
xor edx, edx
mov r8d, edx
nop
movsxd rax, r8d
lea rcx, [rbp + 0x10]
add rcx, rax
lea eax, [r8 + 0x25]
xor byte [rcx], al
inc r8d
cmp r8d, 0x19
jb 0x18005e6d0
mov byte [rbp + 0x29], dl
mov byte [rbp + 0xf], dl
mov cl, 1
mov byte [rbp - 9], cl
movdqa xmm0, xmmword [0x1800d0480]
movdqu xmmword [rbp - 8], xmm0
mov dword [rbp + 8], 0x37717c
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 8]
add rcx, rax
lea eax, [rdx + 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0x13
jb 0x18005e710
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x3e8
lea r9, [rbp + 0x10]
mov edx, 0xdacd
jmp 0x18005e8db
cmp esi, 0x1c7
jne 0x18005e824
test rbx, rbx
je 0x18005e772
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x18005e760
test rax, rax
jne 0x18005e8f6
mov rax, qword [r11]
mov r10, qword [rax + 8]
mov cl, 1
mov byte [rbp + 0xf], cl
movdqa xmm0, xmmword [0x1800d0330]
movdqu xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x20], 0x4c455345
mov dword [rbp + 0x24], 0x51545917
mov word [rbp + 0x28], 0x3d
xor edx, edx
mov r8d, edx
nop dword [rax]
nop dword [rax + rax]
movsxd rax, r8d
lea rcx, [rbp + 0x10]
add rcx, rax
lea eax, [r8 + 0x25]
xor byte [rcx], al
inc r8d
cmp r8d, 0x19
jb 0x18005e7b0
mov byte [rbp + 0x29], dl
mov byte [rbp + 0xf], dl
mov cl, 1
mov byte [rbp - 9], cl
movdqa xmm0, xmmword [0x1800d0480]
movdqu xmmword [rbp - 8], xmm0
mov dword [rbp + 8], 0x37717c
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 8]
add rcx, rax
lea eax, [rdx + 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0x13
jb 0x18005e7f0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x1388
lea r9, [rbp + 0x10]
mov edx, 0x1c7
jmp 0x18005e8db
test rbx, rbx
je 0x18005e88d
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x18005e830
test rax, rax
je 0x18005e88d
mov rax, qword [r11]
mov r10, qword [rax + 8]
mov cl, 1
mov byte [rbp - 9], cl
movdqa xmm0, xmmword [0x1800d0480]
movdqu xmmword [rbp - 8], xmm0
mov dword [rbp + 8], 0x37717c
xor edx, edx
movsxd rax, edx
lea rcx, [rbp - 8]
add rcx, rax
lea eax, [rdx + 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0x13
jb 0x18005e860
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x1388
mov r9, rbx
mov edx, esi
jmp 0x18005e8db
mov rax, qword [r11]
mov r10, qword [rax + 8]
mov cl, 1
mov byte [rbp - 9], cl
movdqa xmm0, xmmword [0x1800d0480]
movdqu xmmword [rbp - 8], xmm0
mov dword [rbp + 8], 0x37717c
xor edx, edx
nop
movsxd rax, edx
lea rcx, [rbp - 8]
add rcx, rax
lea eax, [rdx + 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0x13
jb 0x18005e8b0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x1388
mov edx, esi
xor r9d, r9d
mov byte [rsp + 0x20], 0
mov byte [rbp + 0xb], 0
mov byte [rbp - 9], 0
lea r8, [rbp - 8]
mov rcx, r11
call r10
mov qword [rdi + 0x70], rax
cmp qword [rdi + 0x70], 0
jne 0x18005e912
mov rcx, qword [rdi + 0x68]
mov rax, qword [rcx]
call qword [rax + recvfrom]
mov rcx, qword [rdi + 0x68]
call sym.ACE_DFS64.dll_Ordinal_10006
jmp 0x18005e916
mov byte [rdi + 8], 1
mov rcx, r14
call fcn.180086634
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180088650
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.1800868b0
int3