Function at 0x180016310
Capabilities:
Contain obfuscated stackstrings
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x11d8
call fcn.18006a660
sub rsp, rax
mov rax, qword [0x1800a3248]
xor rax, rsp
mov qword [rsp + 0x11c0], rax
mov dword [rsp + 0x50], 0x22b
mov byte [rsp + 0xc0], 0x43
mov byte [rsp + 0xc1], 0x4f
mov byte [rsp + 0xc2], 0x4e
mov byte [rsp + 0xc3], 0x4e
mov byte [rsp + 0xc4], 0x45
mov byte [rsp + 0xc5], 0x43
mov byte [rsp + 0xc6], 0x54
mov byte [rsp + 0xc7], 0x20
mov byte [rsp + 0xc8], 0x25
mov byte [rsp + 0xc9], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0xca], 0x3a
mov byte [rsp + 0xcb], 0x25
mov byte [rsp + 0xcc], 0x64
mov byte [rsp + 0xcd], 0x20
mov byte [rsp + 0xce], 0x48
mov byte [rsp + 0xcf], 0x54
mov byte [rsp + 0xd0], 0x54
mov byte [rsp + 0xd1], 0x50
mov byte [rsp + 0xd2], 0x2f
mov byte [rsp + 0xd3], 0x31
mov byte [rsp + 0xd4], 0x2e
mov byte [rsp + 0xd5], 0x31
mov byte [rsp + select6], 0xd
mov byte [rsp + 0xd7], 0xa
mov byte [rsp + 0xd8], 0x48
mov byte [rsp + 0xd9], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0xda], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0xdb], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0xdc], 0x3a
mov byte [rsp + 0xdd], 0x20
mov byte [rsp + 0xde], 0x25
mov byte [rsp + 0xdf], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0xe0], 0x3a
mov byte [rsp + 0xe1], 0x25
mov byte [rsp + 0xe2], 0x64
mov byte [rsp + 0xe3], select
mov byte [rsp + 0xe4], 0xa
mov byte [rsp + 0xe5], 0x50
mov byte [rsp + 0xe6], WSACleanup
mov byte [rsp + 0xe7], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0xe8], 0x78
mov byte [rsp + 0xe9], 0x79
mov byte [rsp + 0xea], 0x2d
mov byte [rsp + 0xeb], 0x43
mov byte [rsp + 0xec], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0xed], WSAGetLastError
mov byte [rsp + 0xee], WSAGetLastError
mov byte [rsp + 0xef], 0x65
mov byte [rsp + 0xf0], 0x63
mov byte [rsp + 0xf1], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0xf2], WSAGetLastError
mov byte [rsp + 0xf3], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0xf4], WSAGetLastError
mov byte [rsp + 0xf5], 0x3a
mov byte [rsp + 0xf6], 0x20
mov byte [rsp + 0xf7], WSAGetLastError
mov byte [rsp + 0xf8], 0x65
mov byte [rsp + 0xf9], 0x65
mov byte [rsp + 0xfa], WSACleanup
mov byte [rsp + 0xfb], 0x2d
mov byte [rsp + 0xfc], 0x61
mov byte [rsp + 0xfd], WSAGetLastError
mov byte [rsp + 0xfe], WSAGetLastError
mov byte [rsp + 0xff], 0x76
mov byte [rsp + 0x100], 0x65
mov byte [rsp + 0x101], select
mov byte [rsp + 0x102], 0xa
mov byte [rsp + 0x103], 0x43
mov byte [rsp + 0x104], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x105], WSAGetLastError
mov byte [rsp + 0x106], WSAGetLastError
mov byte [rsp + 0x107], 0x65
mov byte [rsp + 0x108], 0x63
mov byte [rsp + 0x109], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x10a], WSAGetLastError
mov byte [rsp + 0x10b], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x10c], WSAGetLastError
mov byte [rsp + 0x10d], 0x3a
mov byte [rsp + 0x10e], 0x20
mov byte [rsp + 0x10f], WSAGetLastError
mov byte [rsp + 0x110], 0x65
mov byte [rsp + 0x111], 0x65
mov byte [rsp + 0x112], WSACleanup
mov byte [rsp + 0x113], 0x2d
mov byte [rsp + 0x114], 0x61
mov byte [rsp + 0x115], WSAGetLastError
mov byte [rsp + 0x116], WSAGetLastError
mov byte [rsp + 0x117], 0x76
mov byte [rsp + 0x118], 0x65
mov byte [rsp + 0x119], select
mov byte [rsp + 0x11a], 0xa
mov byte [rsp + 0x11b], select
mov byte [rsp + 0x11c], 0xa
mov byte [rsp + 0x11d], 0
lea rax, [rsp + 0x11e]
mov rdi, rax
xor eax, eax
mov ecx, 0xa2
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x1208]
movzx eax, word [rax + 0x100]
mov rcx, qword [rsp + 0x1208]
mov rdx, qword [rsp + 0x1208]
movzx edx, word [rdx + 0x100]
mov rdi, qword [rsp + 0x1208]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edx
mov r9, rdi
lea r8, [rsp + 0xc0]
mov edx, 0x1000
lea rcx, [rsp + 0x1c0]
call fcn.1800046d0
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x1800166c2
mov rax, qword [rsp + 0x60]
xor r9d, r9d
mov r8d, eax
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x11f8]
call qword [sym.imp.WS2_32.dll_send]
lea rcx, [rsp + 0x1c0]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x68]
cmp byte [rcx + rdx], 0
jne 0x180016714
mov rcx, qword [rsp + 0x68]
cmp eax, ecx
jne 0x1800169c1
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x40], 0
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x11f8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jle 0x18001688b
cmp qword [rsp + 0x48], 0
jne 0x18001679d
mov eax, dword [rsp + 0x44]
inc eax
cdqe
mov rcx, rax
call fcn.18007389c
mov qword [rsp + 0x48], rax
jmp 0x1800167ee
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 1]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.1800738a4
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x1800167db
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x48], rax
jmp 0x1800167ee
mov rcx, qword [rsp + 0x48]
call fcn.180073894
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0x48], 0
je 0x180016883
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
lea rdx, [rsp + 0x1c0]
mov rdi, rcx
mov rsi, rdx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
lea rdx, str._r_n_r_n
mov rcx, qword [rsp + 0x48]
call fcn.180015d70
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x180016881
mov rax, qword [rsp + 0x90]
mov byte [rax + 2], 0
mov byte [rsp + 0x40], 1
jmp 0x180016896
jmp 0x18001688b
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x44], 0
jg 0x180016750
movzx eax, byte [rsp + 0x40]
cmp qword [rsp + 0x48], 0
je 0x1800169c1
mov byte [rsp + 0xa8], 0x48
mov byte [rsp + 0xa9], 0x54
mov byte [rsp + 0xaa], 0x54
mov byte [rsp + 0xab], 0x50
mov byte [rsp + 0xac], 0x2f
mov byte [rsp + 0xad], 0x31
mov byte [rsp + 0xae], 0x2e
mov byte [rsp + 0xaf], 0
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
mov r8d, 7
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
call fcn.180073c50
test eax, eax
jne 0x1800169b7
lea rdx, [0x180098e68]
mov rcx, qword [rsp + 0x48]
call fcn.180015d70
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1800169b7
mov edx, 0x20
mov rcx, qword [rsp + 0x48]
call fcn.180015d60
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x1800169b7
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x70], rax
jae 0x1800169b7
mov rax, qword [rsp + 0x70]
inc rax
mov edx, 0x20
mov rcx, rax
call fcn.180015d60
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1800169b7
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x80], rax
jae 0x1800169b7
mov rax, qword [rsp + 0x80]
mov byte [rax], 0
mov rax, qword [rsp + 0x70]
inc rax
mov rcx, rax
call fcn.180073280
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x48]
call fcn.180073894
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x11c0]
xor rcx, rsp
call fcn.18006a240
add rsp, 0x11d8
pop rdi
pop rsi
ret