Function at 0x140017f70
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x48
lea rax, [0x140166ea0]
mov qword [rsp + 0x38], rax
call fcn.14008e3b0
lea rsi, [rsp + 0x38]
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.14008e660
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call fcn.14008e420
mov rcx, qword [0x140192bc4]
call fcn.14008e870
call fcn.14008e480
lea rbx, [rsp + 0x28]
mov edx, eax
mov rcx, rbx
call fcn.14008e790
call fcn.14008e420
mov rcx, qword [0x140192bc4]
call fcn.14008e870
call fcn.14008e480
lea rcx, [rsp + 0x30]
mov edx, eax
call fcn.14008e790
call fcn.14008e420
mov rcx, qword [0x1401921a0]
call fcn.14008e870
call fcn.14008e480
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.14008e790
mov rcx, qword [rsp + 0x38]
call fcn.14008b910
mov rcx, qword [rsp + 0x38]
test rax, rax
jle 0x140018050
add rax, 0x7ff5
mov edx, 0x7ff5
nop dword [rax]
xor byte [rcx + rdx - 0x7ff5], dl
add rdx, 1
cmp rax, rdx
jne 0x140018040
call fcn.14008e420
mov rcx, qword [0x1401925b0]
call fcn.14008e870
mov rcx, qword [rsp + 0x38]
call fcn.14008e870
call fcn.14008e480
mov edx, eax
mov rcx, rsi
call fcn.14008e790
mov r8d, 2
mov rdx, qword [rsp + 0x38]
mov rcx, 0xffffffffffffffff
call fcn.14007f850
movsxd rsi, eax
mov rcx, rsi
call fcn.14007f860
test rax, rax
jne 0x140018220
call fcn.14008e420
call fcn.14008e420
call fcn.14008e480
mov r8d, eax
lea rdx, [0x1401588ea]
mov rcx, qword [rsp + 0x28]
call fcn.14008b940
call fcn.14008e480
mov edx, eax
mov rcx, rbx
call fcn.14008e790
call fcn.14008e420
call fcn.14008e420
call fcn.14008e480
mov r8d, eax
lea rdx, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0x28]
call fcn.14008b940
call fcn.14008e480
mov edx, eax
mov rcx, rbx
call fcn.14008e790
call fcn.14008e420
call fcn.14008e420
call fcn.14008e480
mov r8d, eax
lea rdx, [0x140167d62]
mov rcx, qword [rsp + 0x28]
call fcn.14008b940
call fcn.14008e480
mov edx, eax
mov rcx, rbx
call fcn.14008e790
call fcn.14008e420
call fcn.14008e420
call fcn.14008e480
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.14008b4a0
call fcn.14008e480
mov edx, eax
mov rcx, rbx
call fcn.14008e790
call fcn.14008e420
call fcn.14008e420
call fcn.14008e480
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.14008b4a0
call fcn.14008e480
mov edx, eax
lea rcx, [0x140192bc4]
call fcn.14008e790
call fcn.14008e420
call fcn.14008e420
call fcn.14008e480
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.14008b4a0
call fcn.14008e480
mov edx, eax
lea rcx, [0x1401921a0]
call fcn.14008e790
call fcn.14008e420
call fcn.14008e420
call fcn.14008e480
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.140017ea0
call fcn.14008e480
mov edx, eax
lea rcx, [0x140192250]
call fcn.14008e790
mov rcx, qword [rsp + 0x20]
call fcn.14008e6d0
mov rcx, qword [rsp + 0x28]
call fcn.14008e6d0
mov rcx, qword [rsp + 0x30]
call fcn.14008e6d0
mov rcx, qword [rsp + 0x38]
call fcn.14008e6d0
nop
add rsp, 0x48
pop rbx
pop rsi
ret
call fcn.14008e420
call fcn.14008e420
call fcn.14008e480
mov r8d, eax
mov edx, 2
mov rcx, rsi
call fcn.14007fc80
call fcn.14008e480
mov edx, eax
mov rcx, rbx
call fcn.14008e790
mov rcx, rsi
call fcn.14007fa10
mov rcx, qword [rsp + 0x28]
call fcn.14008b910
mov rdx, qword [rsp + 0x28]
test rax, rax
jle 0x1400180a5
lea rcx, [rax + 0x4001]
mov eax, 0x4001
nop word [rax + rax]
xor byte [rdx + rax - 0x4001], al
add rax, 1
cmp rax, rcx
jne 0x140018280
jmp 0x1400180a5