Function at 0x140071780
Capabilities:
Encode data using xor
Set socket configuration

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x1c], r9d
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], rcx
mov eax, dword [rbp + 0x90]
mov dword [rbp + 0x3c], eax
mov eax, dword [0x1401069a8]
xor eax, dword [0x1401069ac]
xor eax, 0x25f83728
imul eax, eax, 0xb3ddf8fe
sub eax, 0xcbf8af72
cmp eax, 0x847147cb
je 0x140071efa
mov edx, dword [rbp + 0x3c]
mov r10d, dword [rbp + 0x1c]
mov rsi, qword [rbp + 0x20]
mov rdi, qword [rbp + 0x28]
mov r14, qword [rbp + 0x30]
mov eax, dword [0x1401069b0]
mov ecx, dword [0x1401069b4]
imul eax, ecx
and eax, 0x48d1b32a
xor eax, 0x7ef309d0
add eax, 0xdc47aab6
mov dword [rbp + 0x14], eax
mov eax, 0x10
mov qword [rbp - 0x10], rax
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x10]
mov rcx, rsp
mov qword [rbp - 0x30], rcx
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x10]
mov rbx, rsp
mov qword [rbp + 8], rbx
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x10]
mov rcx, rsp
mov qword [rbp], rcx
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x10]
mov r11, rsp
mov qword [rbp - 0x28], r11
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x10]
mov r9, rsp
mov qword [rbp - 0x20], r9
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x10]
mov rcx, rsp
mov qword [rbp - 0x18], rcx
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x10]
mov r8, rsp
mov qword [rbp - 8], r8
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp]
mov r8, rsp
mov qword [rbx], r14
mov qword [rax], rdi
mov qword [r11], rsi
mov dword [r9], r10d
mov dword [rcx], edx
mov dword [r8], 1
mov rcx, qword [rax]
mov edx, 0x8004667e
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rbp + 8]
add rsp, 0x20
mov eax, dword [rbp + 0x14]
cmp qword [rcx], 0
setne cl
mov byte [rbp + 0x1b], cl
cmp eax, 0xbc30b3e4
ja 0x140071efa
mov al, byte [rbp + 0x1b]
test al, 1
jne 0x1400718fd
jmp 0x1400719a7
mov eax, dword [0x1401069b8]
xor eax, dword [0x1401069bc]
imul eax, eax, 0x41e1781
imul eax, eax, 0x6e286750
xor eax, 0xece70478
cmp eax, 0x7b50cb49
jb 0x140071fbc
mov r9, qword [rbp - 0x20]
mov r8, qword [rbp - 0x28]
mov rcx, qword [rbp + 8]
mov eax, dword [0x1401069c0]
add eax, dword [0x1401069c4]
xor eax, 0x6af91329
sub eax, 0x67358810
mov r10d, 0xb7e835f1
xor edx, edx
div r10d
mov rdx, qword [rbp]
mov dword [rbp - 0x38], eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rdx]
mov r8, qword [r8]
mov r9d, dword [r9]
sub rsp, 0x20
call rax
add rsp, 0x20
mov ecx, eax
mov eax, dword [rbp - 0x38]
cmp ecx, 0
setne cl
mov byte [rbp - 0x31], cl
cmp eax, 0xb5f4c1c
jae 0x140071925
mov al, byte [rbp - 0x31]
test al, 1
jne 0x140071a44
jmp 0x140071b56
mov eax, dword [0x1401069c8]
imul eax, dword [0x1401069cc]
or eax, 0xa5f282c5
sub eax, 0xe5990f82
imul eax, eax, 0x94063462
cmp eax, 0x61c89ff0
jb 0x140071ff6
mov r9, qword [rbp - 0x20]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp]
mov eax, dword [0x1401069d0]
or eax, dword [0x1401069d4]
add eax, 0xdba03362
imul eax, eax, 0xeda23326
add eax, 0x679457cf
mov dword [rbp - 0x40], eax
mov rax, qword [0x140105ee8]
mov rcx, qword [0x140105eb8]
mov rdx, qword [rdx]
mov r8, qword [r8]
mov r9d, dword [r9]
sub rsp, 0x20
call rax
add rsp, 0x20
mov ecx, eax
mov eax, dword [rbp - 0x40]
cmp ecx, 0
setne cl
mov byte [rbp - 0x39], cl
cmp eax, 0x47066b00
jb 0x140071ff6
mov al, byte [rbp - 0x39]
test al, 1
jne 0x140071a44
jmp 0x140071b56
mov eax, dword [0x1401069d8]
imul eax, dword [0x1401069dc]
mov ecx, 0xdc2e56b2
xor edx, edx
div ecx
and eax, 0xa9fc9bcf
add eax, 0x15736f
cmp eax, 0x541e473a
ja 0x140072028
mov eax, dword [0x1401069e0]
add eax, dword [0x1401069e4]
mov ecx, 0xce82e87a
xor edx, edx
div ecx
mov ecx, 0xf800d62c
xor edx, edx
div ecx
or eax, 0xa09c7cd8
mov dword [rbp - 0x48], eax
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add rsp, 0x20
mov ecx, eax
mov eax, dword [rbp - 0x48]
cmp ecx, 0x2733
setne cl
mov byte [rbp - 0x41], cl
cmp eax, 0x54af3edf
jb 0x140071a6f
mov al, byte [rbp - 0x41]
test al, 1
jne 0x140071acf
jmp 0x140071af7
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add rsp, 0x20
cmp eax, 0x2733
je 0x140071af7
mov rax, qword [rbp - 0x30]
mov dword [rax], 0xd
jmp 0x140071e92
mov eax, dword [0x1401069e8]
or eax, dword [0x1401069ec]
mov ecx, 0x2203594f
xor edx, edx
div ecx
or eax, 0x3e680c5b
and eax, 0x34c7d1c0
cmp eax, 0x5e7d3cbb
jae 0x14007203b
mov eax, dword [0x1401069f0]
xor edx, edx
div dword [0x1401069f4]
sub eax, 0xa93969f3
mov ecx, 0x17b6bc47
xor edx, edx
div ecx
mov ecx, 0xc2206f20
xor edx, edx
div ecx
cmp eax, 0xd2772d8
ja 0x14007203b
jmp 0x140071b56
mov eax, dword [0x1401069f8]
add eax, dword [0x1401069fc]
or eax, 0x80dfbbce
add eax, 0x42438379
sub eax, 0xd65cfdc2
cmp eax, 0x360a6eba
je 0x140072040
mov eax, dword [0x140106a00]
xor edx, edx
div dword [0x140106a04]
and eax, 0x139712ba
sub eax, 0x655a207b
add eax, 0x7c2ec49d
mov dword [rbp - 0x50], eax
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add rsp, 0x20
mov ecx, eax
mov eax, dword [rbp - 0x50]
cmp ecx, 0
setne cl
mov byte [rbp - 0x49], cl
cmp eax, 0x67925a5f
je 0x140072040
mov al, byte [rbp - 0x49]
test al, 1
jne 0x140071be2
jmp 0x140071bd3
mov rax, qword [rbp - 0x30]
mov dword [rax], 0
jmp 0x140071e92
mov rcx, qword [rbp - 8]
xor edx, edx
mov r8d, 0x10
sub rsp, 0x20
call sub.msvcrt.dll_memset
mov rdx, qword [rbp]
mov rcx, qword [rbp - 8]
mov rax, qword [rbp + 8]
add rsp, 0x20
mov rdx, qword [rdx]
mov qword [rcx], rdx
mov word [rcx + 8], 0x310
cmp qword [rax], 0
je 0x140071c5a
mov rdx, qword [rbp - 8]
mov r8, qword [rbp - 0x18]
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x58]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x10]
imul r9d, dword [r8], 0x3e8
mov r8d, 1
sub rsp, 0x20
call rax
add rsp, 0x20
mov dword [rbp - 0x54], eax
jmp 0x140071cf2
mov eax, dword [0x140106a08]
imul eax, dword [0x140106a0c]
or eax, 0x49131875
and eax, 0xefcff593
imul eax, eax, 0x18c72cff
cmp eax, 0x6ccba37e
jb 0x140072053
mov r8, qword [rbp - 0x18]
mov eax, dword [0x140106a10]
xor edx, edx
div dword [0x140106a14]
imul eax, eax, 0x36dcaa1c
add eax, 0x36e48625
mov ecx, 0x85d1efa8
xor edx, edx
div ecx
mov rdx, qword [rbp - 8]
mov dword [rbp - 0x5c], eax
mov rax, qword [0x140105f10]
mov rcx, qword [0x140105eb8]
imul r9d, dword [r8], 0x3e8
mov r8d, 1
sub rsp, 0x20
call rax
add rsp, 0x20
mov ecx, eax
mov eax, dword [rbp - 0x5c]
mov dword [rbp - 0x58], ecx
cmp eax, 0x3382feaa
ja 0x140072053
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x54], eax
jmp 0x140071cf2
mov eax, dword [rbp - 0x54]
mov dword [rbp - 0x60], eax
mov eax, dword [0x140106a18]
imul eax, dword [0x140106a1c]
sub eax, 0x6235f436
add eax, 0xa62fd071
mov ecx, 0x259f196c
xor edx, edx
div ecx
cmp eax, 0xd71bec22
je 0x140072088
mov ecx, dword [rbp - 0x60]
mov eax, dword [0x140106a20]
add eax, dword [0x140106a24]
and eax, 0x7d010eff
add eax, 0x6650f91e
xor eax, 0xbe5681ec
cmp ecx, 0
setle cl
mov byte [rbp - 0x61], cl
cmp eax, 0xdbb3ffb2
je 0x140071d23
mov al, byte [rbp - 0x61]
test al, 1
jne 0x140071dd9
jmp 0x140071d65
mov eax, dword [0x140106a28]
xor edx, edx
div dword [0x140106a2c]
and eax, 0x61ce3f23
and eax, 0xb831f3bc
sub eax, 0x7fd23412
cmp eax, 0x136f1c28
jb 0x14007208d
mov rcx, qword [rbp - 8]
mov eax, dword [0x140106a30]
imul eax, dword [0x140106a34]
add eax, 0xb54fd368
imul eax, eax, 0x8c27e625
sub eax, 0x335158fa
movsx ecx, word [rcx + 0xa]
and ecx, 0x10
cmp ecx, 0
setne cl
mov byte [rbp - 0x62], cl
cmp eax, 0x5c20e7e
jb 0x140071d8d
mov al, byte [rbp - 0x62]
test al, 1
jne 0x140071e36
jmp 0x140071dd9
mov eax, dword [0x140106a38]
xor eax, dword [0x140106a3c]
add eax, 0x90d6863f
xor eax, 0x1d6a92eb
xor eax, 0xb5280137
cmp eax, 0xfc5807d7
je 0x140072092
mov rcx, qword [rbp - 0x30]
mov eax, dword [0x140106a40]
xor edx, edx
div dword [0x140106a44]
and eax, 0xf7bd9d85
and eax, 0x33ee6358
sub eax, 0x1c5acdd1
mov dword [rcx], 0xd
cmp eax, 0xd75c00ef
jbe 0x140072092
jmp 0x140071e92
mov eax, dword [0x140106a48]
xor eax, dword [0x140106a4c]
sub eax, 0x3e929f8a
add eax, 0x158e1925
imul eax, eax, 0xc73d1a
cmp eax, 0x8c7f8875
je 0x1400720a1
mov rcx, qword [rbp - 0x30]
mov eax, dword [0x140106a50]
xor eax, dword [0x140106a54]
sub eax, 0xed791c6e
and eax, 0x4a100f1
and eax, 0x735e0f4a
mov dword [rcx], 0
cmp eax, 0x5f30238c
ja 0x1400720a1
jmp 0x140071e92
mov eax, dword [0x140106a58]
imul eax, dword [0x140106a5c]
or eax, 0xfb7961c5
xor eax, 0x273cc89b
mov ecx, 0x49923b4b
xor edx, edx
div ecx
cmp eax, 0x4c7f299a
jae 0x1400720b0
mov rcx, qword [rbp - 0x30]
mov eax, dword [0x140106a60]
sub eax, dword [0x140106a64]
or eax, 0x18aaa081
and eax, 0x54acd7d9
add eax, 0xda4a4de3
mov ecx, dword [rcx]
mov dword [rbp - 0x68], ecx
cmp eax, 0xec983983
je 0x1400720b0
mov eax, dword [rbp - 0x68]
lea rsp, [rbp + 0x40]
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov edx, dword [rbp + 0x3c]
mov r10d, dword [rbp + 0x1c]
mov rsi, qword [rbp + 0x20]
mov rdi, qword [rbp + 0x28]
mov r14, qword [rbp + 0x30]
mov eax, 0x10
mov qword [rbp - 0x78], rax
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x78]
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x78]
mov rbx, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x78]
mov rcx, rsp
mov qword [rbp - 0x70], rcx
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x78]
mov r11, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x78]
mov r9, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x78]
mov rcx, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x78]
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x70]
mov r8, rsp
mov qword [rbx], r14
mov qword [rax], rdi
mov qword [r11], rsi
mov dword [r9], r10d
mov dword [rcx], edx
mov dword [r8], 1
mov rcx, qword [rax]
mov edx, 0x8004667e
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x20
jmp 0x1400717d5
mov r9, qword [rbp - 0x20]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp]
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rdx]
mov r8, qword [r8]
mov r9d, dword [r9]
sub rsp, 0x20
call rax
add rsp, 0x20
jmp 0x140071925
mov r9, qword [rbp - 0x20]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp]
mov rax, qword [0x140105ee8]
mov rcx, qword [0x140105eb8]
mov rdx, qword [rdx]
mov r8, qword [r8]
mov r9d, dword [r9]
sub rsp, 0x20
call rax
add rsp, 0x20
jmp 0x1400719cf
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add rsp, 0x20
jmp 0x140071a6f
jmp 0x140071b21
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add rsp, 0x20
jmp 0x140071b7c
mov rdx, qword [rbp - 8]
mov r8, qword [rbp - 0x18]
mov rax, qword [0x140105f10]
mov rcx, qword [0x140105eb8]
mov r8d, dword [r8]
imul r9d, r8d, 0x3e8
mov r8d, 1
sub rsp, 0x20
call rax
add rsp, 0x20
jmp 0x140071c82
jmp 0x140071d23
jmp 0x140071d8d
mov rax, qword [rbp - 0x30]
mov dword [rax], 0xd
jmp 0x140071dff
mov rax, qword [rbp - 0x30]
mov dword [rax], 0
jmp 0x140071e5d
jmp 0x140071ebd