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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418bab
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x421018]
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 0x414212
jmp 0x414224
jmp 0x414236
push 0x10000000
pop dword [0x5b94ec]
jmp 0x41424f
cmp dword [0x5b94ec], 0x10000000
je 0x4142c1
xor eax, eax
mov dword [0x41a3d0], eax
mov dword [0x41a3d4], eax
mov dword [0x41a3d8], eax
mov dword [str.Rwu__], eax
mov dword [0x41a3e0], eax
mov dword [0x41a3e4], eax
mov dword [0x41a3e8], eax
mov dword [0x41a3ec], eax
mov dword [0x41a3f0], eax
mov dword [0x41a3f4], eax
mov dword [str.p_H:], eax
mov dword [0x41a3fc], eax
mov dword [0x41a400], eax
mov dword [0x41a404], eax
mov dword [0x41a408], eax
mov dword [0x41a40c], eax
mov dword [0x41a410], eax
mov dword [str.r_], eax
mov dword [0x41a418], eax
mov dword [0x41a41c], eax
lea eax, [ebp - 0x244]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4142dc
call fcn.00414570
push 0x50
push 0x48
push 0x421930
mov ecx, ebx
call fcn.004149c0
push eax
mov ecx, ebx
call fcn.00413f70
test al, al
jne 0x41430e
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx + 4], 0xffffffff
call fcn.00414570
mov edx, dword [ebp + 8]
push edx
mov ecx, ebx
call fcn.00414090
test al, al
jne 0x414333
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx + 4], 0xffffffff
call fcn.00414570
test byte [0x5b94e8], 1
jne 0x414360
mov ecx, dword [ebx + 4]
or dword [0x5b94e8], 1
push 0
push 0x200
push 0x5b92e8
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [0x5b92e0], eax
jmp 0x414365
mov eax, dword [0x5b92e0]
cmp eax, 0xb4
jle 0x4144d0
cmp eax, 0x200
jae 0x4144d0
lea edx, [ebp - 0x24c]
push edx
push 0x41dcb4
push 0x5b92e8
mov dword [ebp - 0x254], 0
call dword [sym.imp.MSVCR100.dll_strtok_s]
add esp, 0xc
test eax, eax
je 0x414441
mov esi, 0xfffffffe
inc dword [ebp - 0x254]
inc esi
mov dword [ebp - 0x250], esi
cmp esi, 4
ja case.default.0x4143be
jmp dword [esi*4 + 0x414550]
mov ecx, 8
mov edi, 0x42482c
jmp 0x41440f
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov byte [ebx + 0x3f], al
jmp case.default.0x4143be
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov byte [ebx + 0x40], al
jmp case.default.0x4143be
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.0x4143be
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 0x41dcb4
push 0
call dword [sym.imp.MSVCR100.dll_strtok_s]
add esp, 0xc
test eax, eax
jne 0x4143ac
cmp dword [ebp - 0x254], 6
je 0x414457
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx + 4], 0xffffffff
call fcn.00414570
lea edi, [ebx + 8]
mov dword [ebp - 0x250], edi
call fcn.00417780
sub esp, 0x1c
mov edi, esp
mov dword [ebp - 0x254], esp
call fcn.00401dd0
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.00414b10
lea esi, [ebp - 0xb0]
mov byte [ebp - 0x245], al
call fcn.00401e00
cmp byte [ebp - 0x245], 0
jne 0x4142f8
cmp byte [ebx + 0x40], 1
je 0x4144c5
mov edx, dword [ebx + 4]
push edx
jmp 0x4142fc
mov ecx, ebx
call fcn.00413e20
test al, al
jne 0x4144d9
mov eax, dword [ebx + 4]
push eax
jmp 0x4142fc
push 0
mov ecx, ebx
call fcn.004145e0
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 0x414518
jmp 0x41452f
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.00417d4a
mov esp, ebp
pop ebp
ret 4