Function at 0x4081b0
Capabilities:
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ca2b
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x413018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
jmp 0x4081f2
jmp 0x408204
jmp 0x408216
push 0x10000000
pop dword [0x4e4534]
jmp 0x40822f
cmp dword [0x4e4534], 0x10000000
je 0x4082a1
xor eax, eax
mov dword [0x40e37c], eax
mov dword [0x40e380], eax
mov dword [0x40e384], eax
mov dword [str.Rwu__], eax
mov dword [0x40e38c], eax
mov dword [0x40e390], eax
mov dword [0x40e394], eax
mov dword [0x40e398], eax
mov dword [0x40e39c], eax
mov dword [0x40e3a0], eax
mov dword [str.p_H:], eax
mov dword [0x40e3a8], eax
mov dword [0x40e3ac], eax
mov dword [0x40e3b0], eax
mov dword [0x40e3b4], eax
mov dword [0x40e3b8], eax
mov dword [0x40e3bc], eax
mov dword [str.r_], eax
mov dword [0x40e3c4], eax
mov dword [0x40e3c8], eax
lea eax, [ebp - 0x244]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4082be
mov eax, ebx
call fcn.00408550
push 0x50
push 0x48
push 0x413bf0
mov ecx, ebx
call fcn.004089a0
push eax
mov ecx, ebx
call fcn.00407f50
test al, al
jne 0x4082f2
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebx
mov dword [ebx + 4], 0xffffffff
call fcn.00408550
mov edx, dword [ebp + 8]
push edx
mov ecx, ebx
call fcn.00408070
test al, al
jne 0x408319
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebx
mov dword [ebx + 4], 0xffffffff
call fcn.00408550
test byte [0x4e4530], 1
jne 0x408346
mov ecx, dword [ebx + 4]
or dword [0x4e4530], 1
push 0
push 0x200
push 0x4e4330
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [0x4e4328], eax
jmp 0x40834b
mov eax, dword [0x4e4328]
cmp eax, 0xb4
jle 0x4084b8
cmp eax, 0x200
jae 0x4084b8
lea edx, [ebp - 0x24c]
push edx
push 0x40fc54
push 0x4e4330
mov dword [ebp - 0x254], 0
call dword [sym.imp.MSVCR100.dll_strtok_s]
add esp, 0xc
test eax, eax
je 0x408427
mov esi, 0xfffffffe
inc dword [ebp - 0x254]
inc esi
mov dword [ebp - 0x250], esi
cmp esi, 4
ja case.default.0x4083a4
jmp dword [esi*4 + 0x408538]
mov ecx, 8
mov edi, 0x4e1774
jmp 0x4083f5
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov byte [ebx + 0x3f], al
jmp case.default.0x4083a4
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov byte [ebx + 0x40], al
jmp case.default.0x4083a4
mov ecx, dword [eax]
mov dword [ebx + 0x35], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x39], edx
mov ax, word [eax + 8]
mov word [ebx + 0x3d], ax
jmp case.default.0x4083a4
mov ecx, 0x20
lea edi, [ebp - 0x94]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
push ecx
push 0x40fc54
push 0
call dword [sym.imp.MSVCR100.dll_strtok_s]
add esp, 0xc
test eax, eax
jne 0x408392
cmp dword [ebp - 0x254], 6
je 0x40843f
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebx
mov dword [ebx + 4], 0xffffffff
call fcn.00408550
lea edi, [ebx + 8]
mov dword [ebp - 0x250], edi
call fcn.0040bae0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x254], esp
call fcn.00401dc0
lea eax, [ebp - 0xb0]
push eax
call fcn.004017f0
add esp, 0x20
mov edi, eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call fcn.00408af0
lea esi, [ebp - 0xb0]
mov byte [ebp - 0x245], al
call fcn.00402630
cmp byte [ebp - 0x245], 0
jne 0x4082da
cmp byte [ebx + 0x40], 1
je 0x4084ad
mov edx, dword [ebx + 4]
push edx
jmp 0x4082de
mov ecx, ebx
call fcn.00407e00
test al, al
jne 0x4084c1
mov eax, dword [ebx + 4]
push eax
jmp 0x4082de
push 0
mov ecx, ebx
call fcn.004085c0
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x250]
push 0x2d
push 0
push edx
mov dword [ebx + 4], 0xffffffff
call sub.MSVCR100.dll_memset
add esp, 0xc
jmp 0x408500
jmp 0x408517
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040bb18
mov esp, ebp
pop ebp
ret 4