Function at 0x42f910
Capabilities:
Create tcp socket
Create udp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cb10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1178
call fcn.0043ae00
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push 2
push 2
mov byte [eax], bl
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
push 0x89
mov dword [ebp - 0x4c], esi
mov word [ebp - 0x7c], 2
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
push 0x10
push ecx
push ebx
lea edx, [ebp - 0x44]
mov word [ebp - 0x7a], ax
push 0x32
mov al, 0x41
push edx
push esi
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x44], bl
mov byte [ebp - 0x43], bl
mov byte [ebp - 0x42], bl
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], 1
mov byte [ebp - 0x3e], bl
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], bl
mov byte [ebp - 0x3b], bl
mov byte [ebp - 0x3a], bl
mov byte [ebp - 0x39], bl
mov byte [ebp - 0x38], 0x20
mov byte [ebp - 0x37], 0x43
mov byte [ebp - 0x36], 0x4b
mov byte [ebp - 0x35], al
mov byte [ebp - 0x34], al
mov byte [ebp - 0x33], al
mov byte [ebp - 0x32], al
mov byte [ebp - 0x31], al
mov byte [ebp - 0x30], al
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x2e], al
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x2b], al
mov byte [ebp - 0x2a], al
mov byte [ebp - 0x29], al
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], al
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], al
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], al
mov byte [ebp - 0x18], al
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], 0x21
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 1
call dword [sym.imp.WS2_32.dll_sendto]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x48]
push 1
push eax
push ebx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x48], ebx
call sub.iphlpapi.dll_GetIpNetTable
cmp eax, ebx
mov dword [ebp - 4], ebx
jne 0x42fa53
lea ecx, [ebp - 0x60]
push 0x467aa8
push ecx
mov dword [ebp - 0x60], 0xffffffff
call fcn.0043c293
cmp eax, 0x7a
jne 0x42fb35
mov edx, dword [ebp - 0x48]
push edx
call fcn.0043c9eb
add esp, 4
mov esi, eax
lea eax, [ebp - 0x48]
mov dword [ebp + 8], esi
push 1
push eax
push esi
call sub.iphlpapi.dll_GetIpNetTable
cmp eax, ebx
je 0x42fa92
lea ecx, [ebp - 0x58]
push 0x467aa8
push ecx
mov dword [ebp - 0x58], 0xffffffff
call fcn.0043c293
cmp esi, ebx
jne 0x42faab
lea edx, [ebp - 0x5c]
push 0x467aa8
push edx
mov dword [ebp - 0x5c], 0xffffffff
call fcn.0043c293
cmp ebx, dword [esi]
jae 0x42fb20
lea eax, [ebx + ebx*2 + 3]
mov eax, dword [esi + eax*8]
cmp eax, 4
je 0x42fac5
cmp eax, 3
je 0x42fac5
cmp eax, 1
jne 0x42fb1d
lea ecx, [ebx + ebx*2]
lea eax, [esi + ecx*8]
mov ecx, dword [esi + ecx*8 + 0x14]
cmp ecx, edi
jne 0x42fb1d
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0x11]
mov cl, byte [eax + 0x10]
push edx
push ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xf]
mov cl, byte [eax + 0xe]
push edx
push ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xd]
mov cl, byte [eax + 0xc]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push str._02x_02x_02x_02x_02x_02x
push edx
call fcn.0043afc4
add esp, 0x20
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 1
push 0x467aa8
push eax
call fcn.0043c293
inc ebx
jmp 0x42faab
lea ecx, [ebp - 0x50]
push 0x467aa8
push ecx
mov dword [ebp - 0x50], 0xffffffff
call fcn.0043c293
lea edx, [ebp - 0x54]
push 0x467aa8
push edx
mov dword [ebp - 0x54], 0xffffffff
call fcn.0043c293
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
je 0x42fb5c
push eax
call fcn.0043ca77
add esp, 4
cmp dword [ebp - 0x80], ebx
jle 0x42fb71
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0x42fc9b
ret
mov eax, 0x42fb77
ret