Function at 0x457e60
Capabilities:
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469f06
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 0x5c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18c], ecx
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0x40], 1
je 0x457eed
push str.Socket::sendTo:_non_UDP_socket_can_not_sendTo
lea ecx, [ebp - 0xc8]
call fcn.0040cda0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0xc8]
push ecx
push 0xe
lea ecx, [ebp - 0xac]
call fcn.00419170
push 0x4822c4
lea edx, [ebp - 0xac]
push edx
call fcn.00439440
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.0040dc00
push 0x20
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00431a40
add esp, 0xc
mov dword [ebp - 0x50], 2
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x190], edx
cmp dword [ebp - 0x190], 0
je 0x457f27
cmp dword [ebp - 0x190], 1
je 0x457f30
jmp 0x457f39
mov dword [ebp - 0x54], 2
jmp 0x457f89
mov dword [ebp - 0x54], 0x17
jmp 0x457f89
push str.Socket::sendTo:_bad_ip_version.
lea ecx, [ebp - 0x108]
call fcn.0040cda0
mov dword [ebp - 4], 1
push 0
lea eax, [ebp - 0x108]
push eax
push 1
lea ecx, [ebp - 0xec]
call fcn.00419170
push 0x4822c4
lea ecx, [ebp - 0xec]
push ecx
call fcn.00439440
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.0040dc00
mov edx, dword [ebp + 0x14]
push edx
push 0x47bda0
push 0xa
lea eax, [ebp - 0x68]
push eax
call fcn.0043734e
add esp, 0x10
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0040c5a0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x34], eax
push 0x457c40
lea ecx, [ebp - 0x30]
call fcn.0041c940
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0041ca50
cmp dword [ebp - 0x34], 0
je 0x458055
push str.Socket::sendTo:_error_setting_addrInfo:
lea ecx, [ebp - 0x84]
call fcn.0040cda0
mov byte [ebp - 4], 3
push str.Socket::sendTo:_error_setting_addr_info
lea ecx, [ebp - 0x148]
call fcn.0040cda0
mov byte [ebp - 4], 4
call fcn.00457b20
push eax
lea edx, [ebp - 0x148]
push edx
push 3
lea ecx, [ebp - 0x12c]
call fcn.00419170
push 0x4822c4
lea eax, [ebp - 0x12c]
push eax
call fcn.00439440
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x148]
call fcn.0040dc00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.0040dc00
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp + 0xc]
jae 0x458104
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
push edx
push 0
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xffffffff
jne 0x4580f3
push str.Socket::sendTo:_could_not_send_the_data
lea ecx, [ebp - 0x188]
call fcn.0040cda0
mov byte [ebp - 4], 5
call fcn.00457b20
push eax
lea ecx, [ebp - 0x188]
push ecx
push 8
lea ecx, [ebp - 0x16c]
call fcn.00419170
push 0x4822c4
lea edx, [ebp - 0x16c]
push edx
call fcn.00439440
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.0040dc00
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x38], eax
jmp 0x45805c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041c970
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.004314f7
mov esp, ebp
pop ebp
ret 0x10