Function at 0x14005f9c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, reloc.WSOCK32.dll_getservbyport
call fcn.1400035e0
sub rsp, rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov esi, r8d
mov rbp, rdx
mov qword [rsp + 0x58], rdi
lea r8d, [rax + 0x10]
lea rdx, [0x1401caa30]
xor ebx, ebx
mov qword [rsp + 0x30], r12
mov rdi, rcx
mov r12d, ebx
call fcn.140056430
lea rcx, [rdi + 0x48]
lea rdx, [0x1401caa80]
mov r8d, Ordinal_1026
call fcn.140056430
lea rcx, [rdi + 0x448]
lea rdx, [0x1401cae80]
mov r8d, Ordinal_1026
call fcn.140056430
lea rcx, [rdi + 0x848]
lea rdx, [0x1401cb280]
mov r8d, Ordinal_1026
call fcn.140056430
lea rcx, [rdi + 0xc48]
lea rdx, [0x1401cb680]
mov r8d, Ordinal_1026
call fcn.140056430
mov r11, rbx
nop
nop
movsxd rax, r12d
inc r11
movzx ecx, byte [rax + rbp]
lea eax, [r12 + 1]
cdq
shl ecx, 8
idiv esi
movsxd rax, edx
movzx r8d, byte [rax + rbp]
lea eax, [rdx + 1]
cdq
or r8d, ecx
shl r8d, 8
idiv esi
movsxd rax, edx
movzx r9d, byte [rax + rbp]
lea eax, [rdx + 1]
cdq
or r9d, r8d
shl r9d, 8
idiv esi
movsxd rax, edx
movzx ecx, byte [rax + rbp]
lea eax, [rdx + 1]
cdq
or ecx, r9d
xor dword [rdi + r11*4 - 4], ecx
idiv esi
cmp r11, 0x12
mov r12d, edx
jl 0x14005f4d0
mov dword [rsp + 0x20], ebx
mov edx, ebx
mov dword [rsp + 0x24], ebx
mov rsi, rbx
nop
nop
movzx eax, word [0x1401cba80]
and ax, 0xff00
cmp ax, 0x2300
je 0x14005f58d
rol ebx, 0x10
mov ecx, ebx
mov eax, ebx
shl ebx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, ebx
rol edx, 0x10
mov dword [rsp + 0x20], ecx
mov ecx, edx
mov eax, edx
shr ecx, 8
shl eax, 8
shl edx, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
mov dword [rsp + 0x24], ecx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14005e900
movzx r11d, word [0x1401cba80]
and r11w, 0xff00
cmp r11w, 0x2300
je 0x14005f5f8
mov edx, dword [rsp + 0x20]
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
mov ebx, ecx
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0x24]
rol ecx, 0x10
mov edx, ecx
mov eax, ecx
shl ecx, 8
shr edx, 8
shl eax, 8
xor edx, eax
and edx, 0xff00ff
xor edx, ecx
mov dword [rsp + 0x24], edx
jmp 0x14005f600
mov edx, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
mov dword [rdi + rsi*4], ebx
mov dword [rdi + rsi*4 + 4], edx
add rsi, 2
cmp rsi, 0x12
jl 0x14005f540
mov r12d, 0x80
lea rsi, [rdi + 0x4c]
mov rbp, r12
nop
nop
nop
nop
movzx eax, word [0x1401cba80]
and ax, 0xff00
cmp ax, 0x2300
je 0x14005f67d
rol ebx, 0x10
mov ecx, ebx
mov eax, ebx
shl ebx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, ebx
rol edx, 0x10
mov dword [rsp + 0x20], ecx
mov ecx, edx
mov eax, edx
shr ecx, 8
shl eax, 8
shl edx, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
mov dword [rsp + 0x24], ecx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14005e900
movzx r11d, word [0x1401cba80]
and r11w, 0xff00
cmp r11w, 0x2300
je 0x14005f6e8
mov edx, dword [rsp + 0x20]
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
mov ebx, ecx
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0x24]
rol ecx, 0x10
mov edx, ecx
mov eax, ecx
shl ecx, 8
shr edx, 8
shl eax, 8
xor edx, eax
and edx, 0xff00ff
xor edx, ecx
mov dword [rsp + 0x24], edx
jmp 0x14005f6f0
mov edx, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
mov dword [rsi - 4], ebx
mov dword [rsi], edx
add rsi, 8
dec rbp
jne 0x14005f630
lea rsi, [rdi + 0x44c]
mov rbp, r12
nop
movzx eax, word [0x1401cba80]
and ax, 0xff00
cmp ax, 0x2300
je 0x14005f75d
rol ebx, 0x10
mov ecx, ebx
mov eax, ebx
shl ebx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, ebx
rol edx, 0x10
mov dword [rsp + 0x20], ecx
mov ecx, edx
mov eax, edx
shr ecx, 8
shl eax, 8
shl edx, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
mov dword [rsp + 0x24], ecx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14005e900
movzx r11d, word [0x1401cba80]
and r11w, 0xff00
cmp r11w, 0x2300
je 0x14005f7c8
mov edx, dword [rsp + 0x20]
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
mov ebx, ecx
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0x24]
rol ecx, 0x10
mov edx, ecx
mov eax, ecx
shl ecx, 8
shr edx, 8
shl eax, 8
xor edx, eax
and edx, 0xff00ff
xor edx, ecx
mov dword [rsp + 0x24], edx
jmp 0x14005f7d0
mov edx, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
mov dword [rsi - 4], ebx
mov dword [rsi], edx
add rsi, 8
dec rbp
jne 0x14005f710
lea rsi, [rdi + 0x84c]
mov rbp, r12
nop
movzx eax, word [0x1401cba80]
and ax, 0xff00
cmp ax, 0x2300
je 0x14005f83d
rol ebx, 0x10
mov ecx, ebx
mov eax, ebx
shl ebx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, ebx
rol edx, 0x10
mov dword [rsp + 0x20], ecx
mov ecx, edx
mov eax, edx
shr ecx, 8
shl eax, 8
shl edx, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
mov dword [rsp + 0x24], ecx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14005e900
movzx r11d, word [0x1401cba80]
and r11w, 0xff00
cmp r11w, 0x2300
je 0x14005f8a8
mov edx, dword [rsp + 0x20]
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
mov ebx, ecx
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0x24]
rol ecx, 0x10
mov edx, ecx
mov eax, ecx
shl ecx, 8
shr edx, 8
shl eax, 8
xor edx, eax
and edx, 0xff00ff
xor edx, ecx
mov dword [rsp + 0x24], edx
jmp 0x14005f8b0
mov edx, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
mov dword [rsi - 4], ebx
mov dword [rsi], edx
add rsi, 8
dec rbp
jne 0x14005f7f0
mov rbp, qword [rsp + 0x48]
lea rsi, [rdi + 0xc4c]
nop
movzx eax, word [0x1401cba80]
and ax, 0xff00
cmp ax, 0x2300
je 0x14005f91d
rol ebx, 0x10
mov ecx, ebx
mov eax, ebx
shl ebx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, ebx
rol edx, 0x10
mov dword [rsp + 0x20], ecx
mov ecx, edx
mov eax, edx
shr ecx, 8
shl eax, 8
shl edx, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
mov dword [rsp + 0x24], ecx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14005e900
movzx r11d, word [0x1401cba80]
and r11w, 0xff00
cmp r11w, 0x2300
je 0x14005f988
mov edx, dword [rsp + 0x20]
rol edx, 0x10
mov ecx, edx
mov eax, edx
shl edx, 8
shr ecx, 8
shl eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, edx
mov ebx, ecx
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0x24]
rol ecx, 0x10
mov edx, ecx
mov eax, ecx
shl ecx, 8
shr edx, 8
shl eax, 8
xor edx, eax
and edx, 0xff00ff
xor edx, ecx
mov dword [rsp + 0x24], edx
jmp 0x14005f990
mov edx, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
mov dword [rsi - 4], ebx
mov dword [rsi], edx
add rsi, 8
dec r12
jne 0x14005f8d0
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
mov eax, 0x48
call fcn.1400035e0
sub rsp, rax
mov eax, dword [rsp + 0x70]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rbp, rcx
mov dword [rcx + 0x1058], eax
mov rsi, rdx
add rcx, 0x1048
mov rdx, r9
mov qword [rsp + 0x28], rdi
mov rbx, r9
mov edi, r8d
call fcn.140062620
lea rcx, [rbp + 0x1050]
mov rdx, rbx
call fcn.140062620
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
jmp 0x14005f420