Function at 0x1800058b0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x400
mov rax, qword [0x18002e020]
xor rax, rsp
mov qword [rsp + 0x3f0], rax
xor esi, esi
mov rdi, rcx
xor edx, edx
mov dword [rcx + 4], esi
lea rcx, [rsp + 0x252]
mov r8d, 0x196
mov word [rsp + 0x250], si
call sub.MSVCR110.dll_memset
lea rdx, [rsp + 0x250]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, esi
test eax, eax
sete cl
mov dword [rdi], ecx
test ecx, ecx
je 0x180005b14
movdqa xmm0, xmmword [0x180024810]
lea rcx, [rsp + 0x150]
xor edx, edx
mov r8d, 0xf4
mov qword [rsp + Ordinal_1050], rbx
movdqa xmmword [rsp + 0x140], xmm0
call sub.MSVCR110.dll_memset
lea rcx, [rsp + 0x48]
xor edx, edx
movdqa xmm0, xmmword [0x1800247e0]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, 0xec
mov dword [rsp + 0x40], 0x7a303537
mov dword [rsp + 0x44], 0x54243c24
call sub.MSVCR110.dll_memset
lea rdx, [rsp + 0x140]
lea rcx, [rdi + 0xc]
mov rax, rdx
lea r9, [rsp + 0x140]
lea ebx, [rsi + 2]
or rax, rcx
and eax, 0xf
jne 0x1800059f8
mov eax, ebx
nop word [rax + rax]
movaps xmm0, xmmword [rdx]
movaps xmm1, xmmword [rdx + 0x10]
lea rcx, [rcx + 0x80]
lea rdx, [rdx + 0x80]
movaps xmmword [rcx - 0x80], xmm0
movaps xmm0, xmmword [rdx - 0x60]
movaps xmmword [rcx - 0x70], xmm1
movaps xmm1, xmmword [rdx - 0x50]
movaps xmmword [rcx - 0x60], xmm0
movaps xmm0, xmmword [rdx - 0x40]
movaps xmmword [rcx - 0x50], xmm1
movaps xmm1, xmmword [rdx - 0x30]
movaps xmmword [rcx - 0x40], xmm0
movaps xmm0, xmmword [rdx - 0x20]
movaps xmmword [rcx - 0x30], xmm1
movaps xmm1, xmmword [rdx - 0x10]
movaps xmmword [rcx - 0x20], xmm0
movaps xmmword [rcx - 0x10], xmm1
dec rax
jne 0x1800059a0
mov eax, dword [rdx]
mov dword [rcx], eax
jmp 0x180005a06
mov r8d, Ordinal_265
mov rdx, r9
call sub.MSVCR110.dll_memcpy
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x110]
lea r9, [rsp + 0x30]
mov rax, rdx
or rax, rcx
and eax, 0xf
jne 0x180005a7a
movaps xmm0, xmmword [rdx]
movaps xmm1, xmmword [rdx + 0x10]
lea rcx, [rcx + 0x80]
lea rdx, [rdx + 0x80]
movaps xmmword [rcx - 0x80], xmm0
movaps xmm0, xmmword [rdx - 0x60]
movaps xmmword [rcx - 0x70], xmm1
movaps xmm1, xmmword [rdx - 0x50]
movaps xmmword [rcx - 0x60], xmm0
movaps xmm0, xmmword [rdx - 0x40]
movaps xmmword [rcx - 0x50], xmm1
movaps xmm1, xmmword [rdx - 0x30]
movaps xmmword [rcx - 0x40], xmm0
movaps xmm0, xmmword [rdx - 0x20]
movaps xmmword [rcx - 0x30], xmm1
movaps xmm1, xmmword [rdx - 0x10]
movaps xmmword [rcx - 0x20], xmm0
movaps xmmword [rcx - 0x10], xmm1
dec rbx
jne 0x180005a22
mov eax, dword [rdx]
mov dword [rcx], eax
jmp 0x180005a88
mov r8d, Ordinal_265
mov rdx, r9
call sub.MSVCR110.dll_memcpy
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
mov dword [rdi + 8], esi
mov qword [rdi + 0x238], rsi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
mov qword [rdi + 0x218], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r8, [0x180005c00]
mov r9, rdi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov qword [rdi + 0x220], rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x180005cf0]
mov r9, rdi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov qword [rdi + 0x230], rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x418]
mov qword [rdi + 0x228], rax
mov rax, rdi
mov rcx, qword [rsp + 0x3f0]
xor rcx, rsp
call fcn.180014920
mov rsi, qword [rsp + 0x420]
add rsp, 0x400
pop rdi
ret