Function at 0x44c460
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x44c469
mov eax, dword [ebp - 4]
add esp, 0xffffffd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x402c], edx
mov dword [ebp - 0x4024], edx
mov dword [ebp - 0x4028], edx
mov dword [ebp - 0x401c], edx
mov dword [ebp - 0x4020], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c7c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov edx, dword [0x508468]
mov dl, byte [edx]
xor ecx, ecx
mov eax, 0x44c7d8
call fcn.004305d0
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x360]
push eax
call sub.wsock32.dll_htons
mov edx, dword [ebp - 4]
mov word [edx + 0x412], ax
mov eax, dword [ebp - 4]
mov word [eax + 0x410], 2
lea eax, [ebp - 0x4020]
mov edx, dword [ebp - 4]
add edx, 0x350
mov ecx, 0x10
call sub.rtl60.bpl__System__LStrFromArray_qqrr17System_AnsiStringpci
mov eax, dword [ebp - 0x4020]
lea edx, [ebp - 0x401c]
call sub.rtl60.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov eax, dword [ebp - 0x401c]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x40c], ebx
test ebx, ebx
jne 0x44c591
lea eax, [ebp - 0x4028]
mov edx, dword [ebp - 4]
add edx, 0x350
mov ecx, 0x10
call sub.rtl60.bpl__System__LStrFromArray_qqrr17System_AnsiStringpci
mov eax, dword [ebp - 0x4028]
lea edx, [ebp - 0x4024]
call sub.rtl60.bpl__Sysutils_Trim_qqrx17System_AnsiString
mov eax, dword [ebp - 0x4024]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
call sub.wsock32.dll_inet_addr
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x428], ebx
cmp ebx, 0xffffffff
je 0x44c5aa
mov eax, dword [ebp - 4]
mov dword [eax + 0x414], ebx
jmp 0x44c5aa
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x424], eax
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x414], eax
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x420], ebx
inc ebx
jne 0x44c5fd
lea eax, [ebp - 0xc]
push eax
mov edx, dword [0x508468]
mov dl, byte [edx]
xor ecx, ecx
mov eax, 0x44c7e8
call fcn.004305d0
push 0
mov eax, dword [ebp - 8]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
mov eax, dword [ebp - 0xc]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
mov edx, eax
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
pop ecx
call sub.vcl60.bpl__Forms_TApplication_MessageBox_qqrpxct1i
push 0x10
mov eax, dword [ebp - 4]
add eax, 0x410
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x420]
push eax
call sub.wsock32.dll_connect
inc eax
jne 0x44c678
lea eax, [ebp - 0xc]
push eax
mov edx, dword [0x508468]
mov dl, byte [edx]
xor ecx, ecx
mov eax, 0x44c800
call fcn.004305d0
push 0
mov eax, dword [ebp - 8]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
mov eax, dword [ebp - 0xc]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
mov edx, eax
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
pop ecx
call sub.vcl60.bpl__Forms_TApplication_MessageBox_qqrpxct1i
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x420]
push eax
call sub.wsock32.dll_closesocket
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
jmp 0x44c797
lea ecx, [ebp - 0x402c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3fc]
mov eax, dword [0x433204]
call fcn.00434d60
mov edx, dword [ebp - 0x402c]
mov eax, dword [ebp - 4]
add eax, 0x3fc
call sub.rtl60.bpl__System__LStrAsg_qqrpvpxv
mov eax, dword [0x44c840]
mov dword [ebp - 0x17], eax
mov ax, word [0x44c844]
mov word [ebp - 0x13], ax
mov al, byte [0x44c846]
mov byte [ebp - 0x11], al
mov word [ebp - 0x10], 0x744
lea eax, [ebp - 0x4017]
xor ecx, ecx
mov edx, 0x4000
call sub.rtl60.bpl__System__FillChar_qqrpvic
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3fc]
call sub.rtl60.bpl__System__LStrLen_qqrx17System_AnsiString
mov word [ebp - 0xe], ax
lea edx, [ebp - 0x17]
lea eax, [ebp - 0x4017]
mov ecx, 0xb
call fcn.00401b54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3fc]
call sub.rtl60.bpl__System__LStrLen_qqrx17System_AnsiString
push eax
mov eax, dword [ebp - 4]
add eax, 0x3fc
call sub.rtl60.bpl__System__UniqueStringA_qqrr17System_AnsiString
mov edx, eax
lea eax, [ebp - 0x400c]
pop ecx
call fcn.00401b54
xor eax, eax
push ebp
push 0x44c76a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3fc]
call sub.rtl60.bpl__System__LStrLen_qqrx17System_AnsiString
add eax, 0xb
push eax
lea eax, [ebp - 0x4017]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x420]
push eax
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44c774
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x420]
test ebx, ebx
jl 0x44c797
push 0x21
push 0x40e
mov eax, dword [ebp - 4]
call sub.vcl60.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
push ebx
call sub.wsock32.dll_WSAAsyncSelect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c7c9
lea eax, [ebp - 0x402c]
mov edx, 5
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xc]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
ret