Function at 0x42aa40
Capabilities:
Get thread local storage value
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f90d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x463040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
push dword [0x46b9c8]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42aaab
mov ecx, dword [eax + 4]
jmp 0x42aaad
xor ecx, ecx
push ecx
push dword [ebp - 0x1c]
mov edx, 0xdc
call fcn.0041a400
mov edi, eax
mov dword [ebp - 0x38], 0
add esp, 8
mov dword [ebp - 0x3c], edi
mov dword [ebp - 4], 0
xor edx, edx
mov al, byte [esi + 4]
mov ecx, dword [esi + 0xc]
mov byte [ebp - 0x29], al
xor eax, eax
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x42aaf1
mov edx, dword [esi + 8]
mov eax, ecx
mov dword [ebp - 0x30], eax
lock inc dword [ecx + 8]
mov cl, byte [ebp - 0x29]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x42b7b0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], cl
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
test eax, eax
je 0x42ab4a
mov dword [edi + 0x24], edx
mov dword [edi + 0x28], eax
lock inc dword [eax + 8]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x30], ecx
lea ecx, [edi + 0x4c]
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x34], xmm0
movq xmm0, qword [eax + 0x10]
add eax, 0x18
push eax
movq qword [edi + 0x44], xmm0
call fcn.00419060
mov edx, dword [ebp - 0x34]
lea ecx, [edi + 0x7c]
movups xmm0, xmmword [edx + 0x34]
movups xmmword [edi + 0x68], xmm0
mov eax, dword [edx + 0x44]
mov dword [edi + 0x78], eax
lea eax, [edx + 0x48]
push eax
call fcn.00419060
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x44]
sub esp, 8
mov eax, dword [ecx + 0x68]
mov dword [edi + 0x9c], eax
mov eax, dword [ecx + 0x6c]
lea ecx, [edi + 0xa4]
mov dword [edi + 0xa0], eax
call fcn.00423920
mov eax, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x60]
lea edx, [eax + 0x34]
call fcn.0042bd50
add esp, 4
lea ecx, [ebp - 0x60]
cmp dword [edi + 0xb4], 0
setne al
push dword [ebp - 0x44]
push ecx
push eax
lea ecx, [edi + 0xc0]
call fcn.0042c200
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 0
je 0x42ac02
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x60]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x42ac18
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x42ac18
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], edx
test byte [ecx + 4], 0x10
je 0x42ac54
test edx, edx
jne 0x42ac54
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
add eax, 0x18
lock inc dword [eax]
mov ecx, dword [ecx + 4]
push edx
push edx
push dword [ebp - 0x3c]
call fcn.0040e400
jmp 0x42ace8
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 4]
add eax, 0x18
lock inc dword [eax]
mov ecx, dword [ecx]
push 0
cmp ecx, 0xffffffff
jne 0x42ac7b
mov ecx, dword [edi + 4]
push 0x2719
push dword [ebp - 0x3c]
call fcn.0040e400
jmp 0x42ace8
mov eax, dword [ebx + 0x10]
mov esi, dword [ebp - 0x3c]
push esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov dword [ebp - 0x30], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x42acb6
mov eax, 0x2746
jmp 0x42acc3
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
cmp dword [ebp - 0x30], 0
je 0x42acdf
cmp eax, 0x3e5
je 0x42acdf
push dword [ebp - 0x18]
mov ecx, dword [edi + 4]
push eax
push esi
call fcn.0040e400
jmp 0x42ace8
mov ecx, dword [edi + 4]
push esi
call fcn.0040e390
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call fcn.0042b680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043435c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14