Function at 0x140013360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3b8]
sub rsp, 0x490
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rbp + 0x380], rax
movzx r13d, r8b
mov byte [rsp + 0x40], r8b
movzx ebx, dl
mov r12, rcx
mov byte [rbp + 0x270], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x271]
call fcn.140071640
mov qword [rbp - 0x78], 0xffffffff80000002
test r13b, r13b
je 0x1400133ef
mov qword [rbp - 0x78], 0xffffffff80000003
mov edx, 0x104
lea rcx, [rbp + 0x270]
call fcn.1400145d0
mov dword [rbp + 0xd], 0x6e6f6973
mov dword [rbp - 7], 0x69575c74
mov dword [rbp + 6], 0x746e6572
mov word [rbp + 0x1a], WSAGetLastError
mov dword [rbp - 0xb], 0x666f736f
mov dword [rbp - 3], 0x776f646e
mov word [rbp - 0x17], 0x464f
mov word [rbp + 0x15], 0x736e
mov dword [rbp + 1], 0x75435c73
mov dword [rbp - 0x10], 0x63694d5c
mov word [rbp + 0x12], 0x6e55
mov dword [rbp - 0x14], 0x45524157
mov word [rbp + 0x17], 0x6174
mov byte [rbp - 0x18], 0x53
mov byte [rbp + 5], WSAStartup
mov byte [rbp - 0x15], 0x54
mov byte [rbp + 0x19], WSAGetLastError
mov word [rbp + 0xa], 0x6556
mov byte [rbp - 0xc], WSAStartup
mov byte [rbp + 0xc], WSAStartup
mov byte [rbp + 0x14], 0x69
mov byte [rbp + 0x11], 0x5c
mov byte [rbp + 0x160], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x161]
call fcn.140071640
mov byte [rbp + 0x50], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x51]
call fcn.140071640
mov dword [rsp + 0x48], 0x104
mov eax, 0x20219
mov r14d, 0x20019
test bl, bl
cmove r14d, eax
mov dword [rsp + 0x74], r14d
call fcn.140016610
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400134d8
mov ecx, 0x80004005
call fcn.14000f440
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
lea rcx, [rbp - 0x18]
lea rax, [rbp - 0x18]
or rsi, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x14001352d
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.14000f2d0
test rax, rax
je 0x140013614
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001a150
mov rbx, qword [rsp + 0x60]
jmp 0x140013614
lea rax, [rbp - 0x18]
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], 0
jne 0x140013534
test edi, edi
jne 0x14001359c
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140013614
cmp dword [rdx + 0x10], 0
jge 0x140013578
cmp dword [rbx - 0xc], 0
jge 0x140013569
mov ecx, 0x80070057
call fcn.14000f440
int3
mov dword [rbx - 0x10], 0
mov byte [rbx], 0
jmp 0x140013614
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013588
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
jmp 0x140013614
mov r15d, dword [rbx - 0x10]
lea r14, [rbp - 0x18]
sub r14, rbx
test edi, edi
jns 0x1400135b6
mov ecx, 0x80070057
call fcn.14000f440
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400135d8
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.14001ba70
mov rbx, qword [rsp + 0x60]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp r14, r15
movsxd r15, edi
mov r9, r15
ja 0x1400135f5
lea r8, [r14 + rbx]
call fcn.140072b90
jmp 0x1400135fe
lea r8, [rbp - 0x18]
call fcn.1400707c4
cmp edi, dword [rbx - 0xc]
jg 0x140013de0
mov dword [rbx - 0x10], edi
mov byte [r15 + rbx], 0
mov r14d, dword [rsp + 0x74]
test r13b, r13b
je 0x140013644
mov dword [rbp - 0x20], 0x255c7325
mov word [rbp - 0x1c], reloc.WS2_32.dll_WSAStartup
lea r9, [rbp - 0x18]
lea r8, [rbp + 0x270]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.140013110
mov rbx, qword [rsp + 0x60]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
mov rdx, rbx
mov r15, qword [rbp - 0x78]
mov rcx, r15
call fcn.140036cb0
test eax, eax
je 0x140013681
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001367a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor al, al
jmp 0x140013deb
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea r8, [rbp + 0x160]
xor edx, edx
mov rcx, qword [rbp - 0x80]
call fcn.1400369e0
mov r13d, 1
test eax, eax
jne 0x140013dbe
nop word [rax + rax]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x50]
call fcn.140071640
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x50]
call fcn.140036070
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x50]
call fcn.140036070
call fcn.140016610
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x140013db3
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
lea rcx, [rbp + 0x50]
lea rax, [rbp + 0x50]
test rax, 0xffffffffffff0000
jne 0x140013764
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.14000f2d0
test rax, rax
je 0x140013846
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14001a150
mov rbx, qword [rsp + 0x58]
jmp 0x140013846
lea rax, [rbp + 0x50]
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140013770
test edi, edi
jne 0x1400137d1
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140013846
cmp dword [rdx + 0x10], 0
jge 0x1400137ad
cmp dword [rbx - 0xc], 0
jl 0x140013d5d
mov dword [rbx - 0x10], 0
mov byte [rbx], 0
jmp 0x140013846
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400137bd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
jmp 0x140013846
mov r15d, dword [rbx - 0x10]
lea r14, [rbp + 0x50]
sub r14, rbx
test edi, edi
js 0x140013da8
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140013806
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.14001ba70
mov rbx, qword [rsp + 0x58]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp r14, r15
movsxd r15, edi
mov r9, r15
ja 0x140013823
lea r8, [r14 + rbx]
call fcn.140072b90
jmp 0x14001382c
lea r8, [rbp + 0x50]
call fcn.1400707c4
cmp edi, dword [rbx - 0xc]
jg 0x140013d9d
mov dword [rbx - 0x10], edi
mov byte [r15 + rbx], 0
mov r14d, dword [rsp + 0x74]
mov r15, qword [rbp - 0x78]
cmp byte [rsp + 0x40], 0
je 0x140013878
mov dword [rbp - 0x28], 0x255c7325
mov word [rbp - 0x24], reloc.WS2_32.dll_WSAStartup
lea r9, [rbp + 0x50]
lea r8, [rbp + 0x270]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x58]
call fcn.140013110
mov rbx, qword [rsp + 0x58]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.140036cb0
test eax, eax
je 0x1400138fe
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea r8, [rbp + 0x160]
mov edx, r13d
mov rcx, qword [rbp - 0x80]
call fcn.1400369e0
mov edi, eax
inc r13d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013d54
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
jmp 0x140013d54
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x44], 4
mov dword [rbp + 0x40], 0x74737953
mov word [rbp + 0x4e], reloc.WS2_32.dll_WSACleanup
mov word [rbp + 0x48], 0x706d
mov word [rbp + 0x4b], 0x656e
mov dword [rbp + 0x44], 0x6f436d65
mov byte [rbp + 0x4d], WSAGetLastError
mov byte [rbp + 0x4a], reloc.WS2_32.dll_WSAGetLastError
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x78]
call fcn.140036e70
cmp dword [rsp + 0x70], 0
jne 0x140013ce9
lea rdx, [0x140123920]
lea rcx, [rsp + 0x50]
call fcn.14000da00
nop
lea rdx, [0x140123920]
lea rcx, [rsp + 0x68]
call fcn.14000da00
nop
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x44], 0x800
mov word [rbp + 0x2a], 0x65
mov word [rbp + 0x23], 0x6c70
mov word [rbp + 0x20], 0x6944
mov dword [rbp + 0x25], 0x614e7961
mov byte [rbp + 0x22], reloc.WS2_32.dll_WSAStartup
mov byte [rbp + 0x29], WSAGetLastError
mov rax, qword [rsp + 0x50]
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, 0x800
or ecx, edx
jge 0x1400139f6
mov edx, 0x800
lea rcx, [rsp + 0x50]
call fcn.14001ba70
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, [rbp + 0x20]
mov rcx, qword [rsp + 0x78]
call fcn.140036e70
mov ebx, eax
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx - 0xc]
call fcn.140072b78
test eax, eax
js 0x140013d8b
mov rcx, qword [rsp + 0x50]
cmp eax, dword [rcx - 0xc]
jg 0x140013d8b
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rsp + 0x50]
mov byte [rcx + rax], 0
test ebx, ebx
jne 0x140013cb1
mov rax, qword [r12]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140013b41
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
sub rcx, 0x18
call fcn.140012a20
add rax, 0x18
mov qword [rbp - 0x70], rax
mov rcx, qword [rbx + 0x18]
sub rcx, 0x18
call fcn.140012a20
add rax, 0x18
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x70]
call fcn.140016d70
nop
mov rdx, qword [rax]
xor eax, eax
test rdx, rdx
setne al
test eax, eax
je 0x140013d68
mov rcx, qword [rsp + 0x50]
call fcn.140072ea4
test eax, eax
sete dil
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013ae4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
test dil, dil
jne 0x140013b28
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013b01
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013b19
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbx]
cmp rbx, qword [r12]
jne 0x140013a70
jmp 0x140013b41
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013b38
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbp - 0x70]
jmp 0x140013c9c
mov dword [rsp + 0x44], 0x800
mov dword [rbp + 0x32], 0x616c7073
mov dword [rbp + 0x36], 0x72655679
mov word [rbp + 0x3d], WSAStartup
mov word [rbp + 0x3a], 0x6973
mov word [rbp + 0x30], 0x6944
mov byte [rbp + 0x3c], reloc.WS2_32.dll_WSAGetLastError
mov rax, qword [rsp + 0x68]
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, 0x800
or ecx, edx
jge 0x140013b9b
mov edx, 0x800
lea rcx, [rsp + 0x68]
call fcn.14001ba70
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x78]
call fcn.140036e70
mov rcx, qword [rsp + 0x68]
movsxd rdx, dword [rcx - 0xc]
call fcn.140072b78
test eax, eax
js 0x140013d80
mov rcx, qword [rsp + 0x68]
cmp eax, dword [rcx - 0xc]
jg 0x140013d80
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rsp + 0x68]
mov byte [rcx + rax], 0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x38], rax
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
call fcn.140012a20
add rax, 0x18
mov qword [rbp - 0x60], rax
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140012a20
add rax, 0x18
mov qword [rbp - 0x58], rax
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x50]
call fcn.14000de20
nop
mov rbx, qword [r12]
lea r9, [rbp - 0x50]
mov r8, qword [rbx + 8]
mov rdx, rbx
mov rcx, r12
call fcn.14000cd40
mov rdx, qword [r12 + 8]
movabs rcx, 0x7fffffffffffffe
sub rcx, rdx
cmp rcx, 1
jb 0x140013d73
lea rcx, [rdx + 1]
mov qword [r12 + 8], rcx
mov qword [rbx + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013c98
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013cb1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013ccb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013ce4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
call fcn.1400367f0
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea r8, [rbp + 0x160]
mov edx, r13d
mov rcx, qword [rbp - 0x80]
call fcn.1400369e0
mov edi, eax
inc r13d
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140013d54
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test edi, edi
jne 0x140013d96
jmp 0x1400136d0
mov ecx, 0x80070057
call fcn.14000f440
nop
mov ecx, 0x80004005
call fcn.14000f440
nop
lea rcx, str.list_T__too_long
call fcn.1400437bc
nop
mov ecx, 0x80070057
call fcn.14000f440
int3
mov ecx, 0x80070057
call fcn.14000f440
nop
mov rbx, qword [rsp + 0x60]
jmp 0x140013dbe
mov ecx, 0x80070057
call fcn.14000f440
int3
mov ecx, 0x80070057
call fcn.14000f440
nop
mov ecx, 0x80004005
call fcn.14000f440
int3
mov rcx, qword [rbp - 0x80]
call fcn.1400367f0
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013ddc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov al, 1
jmp 0x140013deb
mov ecx, 0x80070057
call fcn.14000f440
nop
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14006ed70
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret