Function at 0x18007fda0
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [rsp + 0x180]
add rax, 0x138
mov qword [rsp + 0x38], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
mov rcx, rax
call fcn.180090af0
mov rax, qword [rsp + 0x180]
add rax, 0xd8
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x180]
add rcx, 0x118
mov qword [rsp + 0x48], rcx
mov rdx, qword [rsp + 0x180]
add rdx, 0xf8
mov qword [rsp + 0x50], rdx
mov r8, qword [rsp + 0x180]
add r8, 0xb8
mov qword [rsp + 0x58], r8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x48]
mov r9, rcx
mov rcx, qword [rsp + 0x50]
mov r8, rcx
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
mov ecx, eax
call fcn.1800af850
lea rax, [rsp + 0x108]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x180]
add rax, 0xb8
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.180082800
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call fcn.1800ae500
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x180]
add rax, 0xb8
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.180082570
lea rcx, [rsp + 0xa8]
call fcn.180082530
lea rax, [rsp + 0x128]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x180]
add rax, 0xf8
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.180082800
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xc8]
call fcn.1800ae500
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x180]
add rax, 0xf8
mov rdx, qword [rsp + 0x88]
mov rcx, rax
call fcn.180082570
lea rcx, [rsp + 0xc8]
call fcn.180082530
lea rax, [rsp + 0x148]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x180]
add rax, 0x118
mov rdx, rax
mov rcx, qword [rsp + 0x90]
call fcn.180082800
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xe8]
call fcn.1800ae500
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x180]
add rax, 0x118
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.180082570
lea rcx, [rsp + 0xe8]
call fcn.180082530
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, qword [rsp + 0x180]
mov dword [rcx + 0x80], eax
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x40], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x38], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x20], 0
mov rcx, qword [rsp + 0x180]
call fcn.18007e790
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
je 0x180080057
cmp dword [rsp + 0x30], 2
je 0x180080095
cmp dword [rsp + 0x30], 3
je 0x18008013d
jmp 0x1800801e0
mov rax, qword [rsp + 0x180]
add rax, 0x88
mov dword [rsp + 0x20], 0xfffffffe
mov r9, qword [rsp + 0x180]
lea r8, [0x18007ed00]
mov rcx, qword [rsp + 0x180]
mov rdx, qword [rcx + 0x30]
mov rcx, rax
call fcn.180077bb0
jmp 0x1800801e0
mov rcx, qword [rsp + 0x180]
call fcn.18007d900
test eax, eax
je 0x180080138
mov rax, qword [rsp + 0x180]
add rax, 0x20
mov rcx, qword [rsp + 0x180]
add rcx, 0x88
mov dword [rsp + 0x28], 0xfffffffe
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18007b470]
mov rax, qword [rsp + 0x180]
mov rdx, qword [rax + 0x20]
call fcn.180077c80
mov rax, qword [rsp + 0x180]
add rax, 0x18
mov rcx, qword [rsp + 0x180]
add rcx, 0x88
mov dword [rsp + 0x28], 0xfffffffe
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18007b340]
mov rax, qword [rsp + 0x180]
mov rdx, qword [rax + 0x18]
call fcn.180077c80
jmp 0x1800801e0
mov rcx, qword [rsp + 0x180]
call fcn.18007e0a0
test eax, eax
je 0x1800801e0
mov rax, qword [rsp + 0x180]
add rax, 0x20
mov rcx, qword [rsp + 0x180]
add rcx, 0x88
mov dword [rsp + 0x28], 0xfffffffe
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18007b470]
mov rax, qword [rsp + 0x180]
mov rdx, qword [rax + 0x20]
call fcn.180077c80
mov rax, qword [rsp + 0x180]
add rax, 0x18
mov rcx, qword [rsp + 0x180]
add rcx, 0x88
mov dword [rsp + 0x28], 0xfffffffe
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18007b340]
mov rax, qword [rsp + 0x180]
mov rdx, qword [rax + 0x18]
call fcn.180077c80
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x48], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x50], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x58], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 0x180]
mov qword [rax + 0x68], 0
lea rcx, str.ws2_32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180080390
mov rax, qword [rsp + 0x180]
add rax, 0x48
mov rcx, qword [rsp + 0x180]
add rcx, 0x88
mov dword [rsp + 0x28], 0xfffffffe
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18007ac70]
mov rdx, qword [sym.imp.WS2_32.dll_WSASend]
call fcn.180077c80
mov rax, qword [rsp + 0x180]
add rax, 0x50
mov rcx, qword [rsp + 0x180]
add rcx, 0x88
mov dword [rsp + 0x28], 0xfffffffe
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18007ae40]
mov rdx, qword [sym.imp.WS2_32.dll_WSARecv]
call fcn.180077c80
mov rax, qword [rsp + 0x180]
add rax, 0x58
mov rcx, qword [rsp + 0x180]
add rcx, 0x88
mov dword [rsp + 0x28], 0xfffffffe
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18007afd0]
mov rdx, qword [sym.imp.WS2_32.dll_send]
call fcn.180077c80
mov rax, qword [rsp + 0x180]
add rax, 0x60
mov rcx, qword [rsp + 0x180]
add rcx, 0x88
mov dword [rsp + 0x28], 0xfffffffe
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18007b100]
mov rdx, qword [sym.imp.WS2_32.dll_recv]
call fcn.180077c80
mov rax, qword [rsp + 0x180]
add rax, 0x68
mov rcx, qword [rsp + 0x180]
add rcx, 0x88
mov dword [rsp + 0x28], 0xfffffffe
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18007b230]
mov rdx, qword [sym.imp.WS2_32.dll_closesocket]
call fcn.180077c80
mov rdx, qword [rsp + 0x188]
lea rcx, [0x18059f538]
call fcn.180080d10
mov eax, 1
add rsp, 0x178
ret