Function at 0x411c0c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x411c14
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x41219b
push dword fs:[eax]
mov dword fs:[eax], esp
dec edx
je 0x411c47
sub edx, 0xf
je 0x412159
sub edx, 0x10
je 0x412117
jmp 0x412168
lea eax, [ebp - 8]
push eax
push 0x4004667f
push ebx
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x412168
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004042cc
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.wsock32.dll_recv
lea eax, [ebp - 0x28]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004041fc
mov eax, dword [ebp - 0x28]
mov edx, 0x4121b0
call fcn.004040e8
jne 0x411cbe
lea eax, [ebp - 0x2c]
mov ecx, dword [0x41a350]
mov edx, 0x4121c0
call fcn.00403fe8
mov edx, dword [ebp - 0x2c]
mov eax, 0x4121f8
call fcn.00411254
lea eax, [ebp - 0x30]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004041fc
mov eax, dword [ebp - 0x30]
mov edx, 0x412204
call fcn.004040e8
jne 0x411d03
lea eax, [ebp - 0x34]
mov ecx, dword [0x41a350]
mov edx, 0x412214
call fcn.00403fe8
mov edx, dword [ebp - 0x34]
mov eax, 0x412224
call fcn.00411254
lea eax, [ebp - 0x38]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004041fc
mov eax, dword [ebp - 0x38]
mov edx, 0x412230
call fcn.004040e8
jne 0x411d79
push 0x747
mov eax, dword [0x41a358]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, 3
mov edx, 0x412240
mov eax, dword [ebp - 4]
call fcn.004099a0
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov edx, 0x41224c
call fcn.004099a0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [0x41a354]
mov eax, dword [0x41a350]
call fcn.00411a80
mov dword [0x41a33c], 1
lea eax, [ebp - 0x44]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004041fc
mov eax, dword [ebp - 0x44]
mov edx, 0x412258
call fcn.004040e8
jne 0x411dbe
lea eax, [ebp - 0x48]
mov ecx, dword [0x41a350]
mov edx, 0x4121c0
call fcn.00403fe8
mov edx, dword [ebp - 0x48]
mov eax, 0x4121f8
call fcn.00411254
lea eax, [ebp - 0x4c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004041fc
mov eax, dword [ebp - 0x4c]
mov edx, 0x412268
call fcn.004040e8
jne 0x411e03
lea eax, [ebp - 0x50]
mov ecx, dword [0x41a350]
mov edx, 0x412214
call fcn.00403fe8
mov edx, dword [ebp - 0x50]
mov eax, 0x412224
call fcn.00411254
lea eax, [ebp - 0x54]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004041fc
mov eax, dword [ebp - 0x54]
mov edx, 0x412278
call fcn.004040e8
jne 0x411e71
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x56ce
mov edx, 0xd
mov eax, dword [ebp - 4]
call fcn.004041fc
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x14]
call fcn.0041156c
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x14]
call fcn.00403eb0
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
mov edx, 0x412288
call fcn.00403fe8
mov edx, dword [ebp - 0x5c]
mov eax, 0x412224
call fcn.00411254
lea eax, [ebp - 0x60]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004041fc
mov eax, dword [ebp - 0x60]
mov edx, 0x412298
call fcn.004040e8
jne 0x411ea5
mov edx, 0x4122a8
mov eax, 0x4122b4
call fcn.00411254
mov eax, 0x41a360
mov edx, dword [ebp - 4]
call fcn.00403fa4
lea eax, [ebp - 0x64]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004041fc
mov eax, dword [ebp - 0x64]
mov edx, 0x4122c0
call fcn.004040e8
jne 0x411f0f
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x4122cc
mov edx, 0x4122c0
mov eax, dword [ebp - 4]
call fcn.00409028
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 4]
call fcn.00403eb0
push 0
push 0
push 0x4197f4
mov ecx, 0x410eb4
xor edx, edx
xor eax, eax
call fcn.00403dd4
lea eax, [ebp - 0x6c]
push eax
mov ecx, 1
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.004041fc
mov eax, dword [ebp - 0x6c]
mov edx, 0x4122d8
call fcn.004040e8
jne 0x411f73
mov edx, 0x4122e4
mov eax, 0x4122f4
call fcn.00411254
push dword [0x41a350]
push 0x412240
lea eax, [ebp - 0x74]
call fcn.00408c84
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.0040405c
mov edx, dword [ebp - 0x70]
mov eax, 0x412300
call fcn.00411254
lea eax, [ebp - 0x78]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004041fc
mov eax, dword [ebp - 0x78]
mov edx, 0x41230c
call fcn.004040e8
jne 0x41201f
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x412240
mov edx, 0x412318
mov eax, dword [ebp - 4]
call fcn.00409028
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 4]
call fcn.00403eb0
lea eax, [ebp - 0x80]
push eax
mov ecx, 2
mov edx, 0x412240
mov eax, dword [ebp - 4]
call fcn.004099a0
lea eax, [ebp - 0x80]
mov edx, 0x412324
call fcn.00403fa4
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x24]
call fcn.00410d5c
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x24]
call fcn.00410dd0
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 0x412340
call fcn.00403fe8
mov edx, dword [ebp - 0x84]
mov eax, dword [0x4199a4]
call fcn.00409194
lea eax, [ebp - 0x8c]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004041fc
mov eax, dword [ebp - 0x8c]
mov edx, 0x412368
call fcn.004040e8
jne 0x412168
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x90]
push eax
mov ecx, 2
mov edx, 0x412240
mov eax, dword [ebp - 4]
call fcn.004099a0
mov eax, dword [ebp - 0x90]
xor ecx, ecx
mov edx, 0x41224c
call fcn.004099a0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x94]
push eax
mov ecx, 2
mov edx, 0x412240
mov eax, dword [ebp - 4]
call fcn.004099a0
mov eax, dword [ebp - 0x94]
mov ecx, 1
mov edx, 0x41224c
call fcn.004099a0
lea eax, [ebp - 0x98]
push eax
mov ecx, 1
mov edx, 0x412240
mov eax, dword [ebp - 4]
call fcn.004099a0
mov edx, dword [ebp - 0x98]
mov eax, 0x41a344
call fcn.00403e6c
lea eax, [ebp - 0x9c]
push eax
mov ecx, 4
mov edx, 0x412240
mov eax, dword [ebp - 4]
call fcn.004099a0
mov edx, dword [ebp - 0x9c]
mov eax, 0x41a348
call fcn.00403e6c
mov byte [0x41a34c], 0
mov edx, 0x747
mov eax, dword [ebp - 0xc]
call fcn.00411b68
jmp 0x412168
xor eax, eax
mov dword [0x41a374], eax
cmp dword [0x41a340], 5
jle 0x412168
cmp dword [0x41a314], 0xffffffff
jne 0x412168
xor eax, eax
mov dword [0x41a340], eax
push 0x747
mov eax, dword [0x419a50]
push eax
mov ecx, 0x412374
mov edx, dword [0x41a310]
mov eax, dword [0x41a30c]
call fcn.00411a80
jmp 0x412168
mov edx, 0x412394
mov eax, 0x4123a8
call fcn.00411254
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4121a2
lea eax, [ebp - 0x9c]
mov edx, 0x1e
call fcn.00403e3c
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403e3c
lea eax, [ebp - 4]
call fcn.00403e18
ret