Function at 0x41529c
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff990
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x670], edx
mov dword [ebp - 0x668], edx
mov dword [ebp - 0x66c], edx
mov dword [ebp - 0x664], edx
mov dword [ebp - 0x660], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x415564
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x23
mov eax, dword [0x49f7f0]
call fcn.00407718
mov edx, 0x8000
mov eax, 0x41557c
call fcn.0040bb50
mov ebx, eax
test ebx, ebx
je 0x415310
push 0x415588
push ebx
call sub.user32.dll_GetWindowLongA
mov esi, eax
xor eax, eax
test esi, esi
je 0x415318
mov al, 1
cmp al, 1
jne 0x415514
mov eax, dword [ebp - 4]
call fcn.00403c98
push 0x49f65c
push 0x101
call sub.wsock32.dll_WSAStartup
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41537a
push 0x41559c
push dword [ebp - 0x10]
push 0x4155ac
push dword [ebp - 0x10]
push 0x4155ac
push dword [ebp - 0x10]
push 0x4155b8
mov eax, dword [ebp - 4]
mov edx, 7
call fcn.00403fd8
jmp 0x41553e
xor edx, edx
push ebp
push 0x4154d0
push dword fs:[edx]
mov dword fs:[edx], esp
lea edi, [ebp - 0xc]
push 0
push 0
push edi
push 0x400
lea eax, [ebp - 0x65c]
push eax
push 0
push 0
push 0x4004747f
mov eax, dword [ebp - 8]
push eax
call esi
inc eax
je 0x4154c6
push ebx
call sub.user32.dll_GetLastActivePopup
mov eax, dword [ebp - 0xc]
mov ecx, 0x4c
cdq
idiv ecx
mov edi, eax
dec edi
test edi, edi
jl 0x4154c6
inc edi
lea ebx, [ebp - 0x658]
push edi
mov esi, ebx
lea edi, [ebp - 0x20]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
push dword [ebp - 0x1c]
call sub.wsock32.dll_inet_ntoa
mov esi, eax
lea eax, [ebp - 0x660]
mov edx, esi
call fcn.00403e50
mov eax, dword [ebp - 0x660]
mov edx, 0x4155c4
call fcn.00404028
je 0x4154bc
lea eax, [ebp - 0x664]
mov edx, esi
call fcn.00403e50
mov eax, dword [ebp - 0x664]
mov edx, 0x4155d8
call fcn.00404028
je 0x4154bc
mov eax, dword [ebp - 0x10]
mov edx, 0x4155e8
call fcn.00404028
je 0x41548d
mov eax, dword [ebp - 4]
push dword [eax]
push 0x4155f4
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x66c]
mov edx, esi
call fcn.00403e50
mov eax, dword [ebp - 0x66c]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4155e8
call fcn.004161e0
push dword [ebp - 0x668]
push 0x415600
mov eax, dword [ebp - 4]
mov edx, 4
call fcn.00403fd8
jmp 0x4154bc
mov eax, dword [ebp - 4]
push dword [eax]
push 0x4155f4
lea eax, [ebp - 0x670]
mov edx, esi
call fcn.00403e50
push dword [ebp - 0x670]
push 0x415600
mov eax, dword [ebp - 4]
mov edx, 4
call fcn.00403fd8
add ebx, 0x4c
dec edi
jne 0x4153d5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x415504
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
jmp 0x41553e
push 0x41559c
push dword [ebp - 0x10]
push 0x4155ac
push dword [ebp - 0x10]
push 0x4155ac
push dword [ebp - 0x10]
push 0x4155b8
mov eax, dword [ebp - 4]
mov edx, 7
call fcn.00403fd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41556b
lea eax, [ebp - 0x670]
mov edx, 5
call fcn.00403cbc
lea eax, [ebp - 0x10]
call fcn.00403c98
ret