Function at 0x18007fdb0
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.180090b00
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.1800af4c0
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.180082810
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call fcn.1800ae090
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x180]
add rax, 0xb8
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.180082580
lea rcx, [rsp + 0xa8]
call fcn.180082540
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.180082810
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xc8]
call fcn.1800ae090
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x180]
add rax, 0xf8
mov rdx, qword [rsp + 0x88]
mov rcx, rax
call fcn.180082580
lea rcx, [rsp + 0xc8]
call fcn.180082540
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.180082810
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xe8]
call fcn.1800ae090
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x180]
add rax, 0x118
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.180082580
lea rcx, [rsp + 0xe8]
call fcn.180082540
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.18007e7a0
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
je 0x180080067
cmp dword [rsp + 0x30], 2
je 0x1800800a5
cmp dword [rsp + 0x30], 3
je 0x18008014d
jmp 0x1800801f0
mov rax, qword [rsp + 0x180]
add rax, 0x88
mov dword [rsp + 0x20], 0xfffffffe
mov r9, qword [rsp + 0x180]
lea r8, [0x18007ed10]
mov rcx, qword [rsp + 0x180]
mov rdx, qword [rcx + 0x30]
mov rcx, rax
call fcn.180077b90
jmp 0x1800801f0
mov rcx, qword [rsp + 0x180]
call fcn.18007d910
test eax, eax
je 0x180080148
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, [0x18007b480]
mov rax, qword [rsp + 0x180]
mov rdx, qword [rax + 0x20]
call fcn.180077c60
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, [0x18007b350]
mov rax, qword [rsp + 0x180]
mov rdx, qword [rax + 0x18]
call fcn.180077c60
jmp 0x1800801f0
mov rcx, qword [rsp + 0x180]
call fcn.18007e0b0
test eax, eax
je 0x1800801f0
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, [0x18007b480]
mov rax, qword [rsp + 0x180]
mov rdx, qword [rax + 0x20]
call fcn.180077c60
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, [0x18007b350]
mov rax, qword [rsp + 0x180]
mov rdx, qword [rax + 0x18]
call fcn.180077c60
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 0x1800803a0
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, [0x18007ac80]
mov rdx, qword [sym.imp.WS2_32.dll_WSASend]
call fcn.180077c60
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, [0x18007ae50]
mov rdx, qword [sym.imp.WS2_32.dll_WSARecv]
call fcn.180077c60
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, [0x18007afe0]
mov rdx, qword [sym.imp.WS2_32.dll_send]
call fcn.180077c60
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, [0x18007b110]
mov rdx, qword [sym.imp.WS2_32.dll_recv]
call fcn.180077c60
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, [0x18007b240]
mov rdx, qword [sym.imp.WS2_32.dll_closesocket]
call fcn.180077c60
mov rdx, qword [rsp + 0x188]
lea rcx, [0x18051c198]
call fcn.180080d20
mov eax, 1
add rsp, 0x178
ret