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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469aa6
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 0x457dbd
push str.Socket::sendTo:_non_UDP_socket_can_not_sendTo
lea ecx, [ebp - 0xc8]
call fcn.0040d100
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0xc8]
push ecx
push 0xe
lea ecx, [ebp - 0xac]
call fcn.004195d0
push 0x4823fc
lea edx, [ebp - 0xac]
push edx
call fcn.00439310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.0040df60
push 0x20
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00431910
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 0x457df7
cmp dword [ebp - 0x190], 1
je 0x457e00
jmp 0x457e09
mov dword [ebp - 0x54], 2
jmp 0x457e59
mov dword [ebp - 0x54], 0x17
jmp 0x457e59
push str.Socket::sendTo:_bad_ip_version.
lea ecx, [ebp - 0x108]
call fcn.0040d100
mov dword [ebp - 4], 1
push 0
lea eax, [ebp - 0x108]
push eax
push 1
lea ecx, [ebp - 0xec]
call fcn.004195d0
push 0x4823fc
lea ecx, [ebp - 0xec]
push ecx
call fcn.00439310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.0040df60
mov edx, dword [ebp + 0x14]
push edx
push 0x47bed0
push 0xa
lea eax, [ebp - 0x68]
push eax
call fcn.0043721e
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.0040c940
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x34], eax
push 0x457b10
lea ecx, [ebp - 0x30]
call fcn.0041cef0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0041d000
cmp dword [ebp - 0x34], 0
je 0x457f25
push str.Socket::sendTo:_error_setting_addrInfo:
lea ecx, [ebp - 0x84]
call fcn.0040d100
mov byte [ebp - 4], 3
push str.Socket::sendTo:_error_setting_addr_info
lea ecx, [ebp - 0x148]
call fcn.0040d100
mov byte [ebp - 4], 4
call fcn.004579f0
push eax
lea edx, [ebp - 0x148]
push edx
push 3
lea ecx, [ebp - 0x12c]
call fcn.004195d0
push 0x4823fc
lea eax, [ebp - 0x12c]
push eax
call fcn.00439310
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x148]
call fcn.0040df60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.0040df60
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp + 0xc]
jae 0x457fd4
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 0x457fc3
push str.Socket::sendTo:_could_not_send_the_data
lea ecx, [ebp - 0x188]
call fcn.0040d100
mov byte [ebp - 4], 5
call fcn.004579f0
push eax
lea ecx, [ebp - 0x188]
push ecx
push 8
lea ecx, [ebp - 0x16c]
call fcn.004195d0
push 0x4823fc
lea edx, [ebp - 0x16c]
push edx
call fcn.00439310
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.0040df60
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x38], eax
jmp 0x457f2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041cf20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret 0x10