Function at 0x421b4a
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x7c
mov eax, dword [0x472c00]
add eax, 0x3c
mov dword [ecx + 0xc], eax
movzx eax, word [ecx + 0x5a]
xchg al, ah
push eax
movzx eax, byte [ebx + 0x5f]
add ecx, 0x18
mov dword [ebp - 0x74], ecx
push eax
movzx eax, byte [ebx + 0x5e]
push eax
movzx eax, byte [ebx + 0x5d]
push eax
movzx eax, byte [ebx + 0x5c]
push eax
push ecx
push str.DNS:_try_to_load_domain__s_from___u._u._u._u:_u
push dword [0x45c29c]
call fcn.0040418c
add esp, 0x1c
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
test eax, eax
mov dword [ebp - 0x70], eax
pop edi
jns 0x421bc7
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
sub esp, 0xc
push eax
call fcn.0040376b
mov esi, eax
call ebx
push esi
push eax
push str.DNS:_Cant_get_socket__d__s
jmp 0x421c3d
lea eax, [ebx + 0x58]
push ecx
push 0x10
push eax
push dword [ebp - 0x70]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
pop esi
jns 0x421c0b
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
sub esp, 0xc
push eax
call fcn.0040376b
mov esi, eax
call ebx
push esi
push eax
push str.DNS:_Cant_connect__d__s
push dword [0x45c29c]
call fcn.0040418c
add esp, 0x14
jmp 0x421db3
sub esp, 0xc
push 0x10100
call fcn.00428e70
add esp, 0x10
test eax, eax
mov esi, eax
jne 0x421c50
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
sub esp, 0xc
push eax
call fcn.0040376b
mov esi, eax
call ebx
push esi
push eax
push str.No_enought_memory__d__s
push dword [0x45c29c]
call fcn.0040418c
add esp, 0x20
jmp 0x421f08
lea eax, [eax + 2]
push edx
push 0x10
push 0x472a00
push eax
mov dword [ebp - 0x6c], eax
call fcn.00428f18
pop ecx
lea eax, [esi + 0xf]
pop edi
push dword [ebp - 0x74]
push eax
lea edi, [esi + 0xe]
call fcn.00428f54
pop eax
pop edx
push dword [ebp - 0x6c]
push edi
call fcn.0041d2f1
mov dword [eax], 0x100fc00
add eax, 4
sub eax, dword [ebp - 0x6c]
mov byte [esi + 1], al
add eax, 2
push 0
push eax
push esi
push dword [ebp - 0x70]
call dword [sym.imp.WS2_32.dll_send]
add esp, 0x10
test eax, eax
jg 0x421cc9
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
sub esp, 0xc
push eax
call fcn.0040376b
mov edi, eax
call ebx
mov dword [esp], edi
push eax
push dword [ebp - 0x74]
push str.DNS:_Error_load_zone_for__s__cant_send_request___d__s
jmp 0x421d24
lea eax, [esi + 0x10000]
mov edx, esi
xor ecx, ecx
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
sub esp, 0xc
push dword [0x42a650]
push 0
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
sub eax, edx
push eax
push edx
push dword [ebp - 0x70]
call fcn.0040e22e
add esp, 0x20
test eax, eax
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
jg 0x421d34
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
sub esp, 0xc
push eax
call fcn.0040376b
mov edi, eax
call ebx
mov dword [esp], edi
push eax
push dword [ebp - 0x74]
push str.DNS:_Error_load_zone_for__s__cant_recv_reply___d__s
push dword [0x45c29c]
call fcn.0040418c
add esp, 0x20
jmp 0x421d9c
add edx, eax
cmp dword [ebp - 0x78], edx
jbe 0x421d46
add ecx, eax
movzx eax, word [esi]
xchg al, ah
cmp eax, ecx
jg 0x421cd6
mov byte [edx], 0
cmp byte [esi + 9], 2
jbe 0x421d81
push eax
push dword [ebp - 0x6c]
push edi
lea edi, [ebp - 0x5c]
push edi
call fcn.0041d7e2
mov edx, eax
lea eax, [eax + 4]
add esp, 0xc
push dword [ebp - 0x6c]
mov dword [ebp - 0x80], edx
push eax
push edi
mov dword [ebp - 0x7c], eax
call fcn.0041d7e2
add esp, 0x10
cmp byte [eax + 1], 6
mov edx, dword [ebp - 0x80]
je 0x421dc4
movzx eax, byte [esi + 9]
push eax
push dword [ebp - 0x74]
push str.DNS:_Error_load_zone_for__s__bad_reply_ancount:_u_
push dword [0x45c29c]
call fcn.0040418c
add esp, 0x10
sub esp, 0xc
push esi
call fcn.00428e54
pop eax
pop edx
push 2
push dword [ebp - 0x70]
call dword [sym.imp.WS2_32.dll_shutdown]
push ecx
push dword [ebp - 0x70]
call dword [sym.imp.WS2_32.dll_closesocket]
add esp, 0xc
jmp 0x421f08
add edx, 0xe
push eax
push dword [ebp - 0x6c]
push edx
push edi
call fcn.0041d7e2
add esp, 0xc
push dword [ebp - 0x6c]
push eax
push edi
call fcn.0041d7e2
mov edx, dword [eax]
mov dword [ebx + 0x10], edx
pop edx
push dword [eax + 4]
call fcn.004293d0
mov edx, 0x3c
cmp eax, 0x3c
cmovb eax, edx
mov edx, dword [0x472c00]
pop ecx
pop edi
add edx, eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0xc], edx
push eax
push dword [ebx + 0x10]
movzx eax, byte [esi + 9]
push eax
push dword [ebp - 0x74]
push str.DNS:_Load_primary_DNS_server_for__s_Ok.___u_records._Serial:_u._Refresh_set_to__u_r_n
push dword [0x45c29c]
call fcn.0040418c
movzx edx, byte [esi + 9]
add esp, 0x14
add edx, 3
imul edx, edx, 0x18
add edx, 0x38
push edx
mov dword [ebp - 0x74], edx
call fcn.00428e70
mov edx, dword [ebp - 0x74]
add esp, 0xc
mov edi, eax
push edx
push 0
push eax
call fcn.00428f38
movzx eax, byte [esi + 9]
mov ecx, edi
inc eax
mov dword [edi + 8], eax
push 0
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x6c]
call fcn.0041d894
mov edx, dword [ebx + 4]
add esp, 0x10
mov dword [edi + 4], 0
mov eax, dword [0x472c10]
test edx, edx
jne 0x421e8f
mov edx, dword [eax + 4]
test edx, edx
je 0x421ee5
mov eax, edx
jmp 0x421e7e
cmp edx, ecx
je 0x421e98
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x421e89
jmp 0x421ee5
mov edx, dword [edx + 4]
sub esp, 0xc
mov dword [ebp - 0x6c], eax
mov dword [edi + 4], edx
mov dword [eax + 4], edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebx + 4]
add esp, 0xc
mov eax, dword [ebp - 0x6c]
mov edx, dword [edx + 0x1c]
test edx, edx
je 0x421ece
sub esp, 0xc
push edx
call fcn.00428e54
mov eax, dword [ebp - 0x6c]
add esp, 0x10
sub esp, 0xc
push dword [ebx + 4]
mov dword [ebp - 0x6c], eax
call fcn.00428e54
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 4], edi
add esp, 0x10
mov dword [eax + 4], edi
cmp byte [ebx + 0x68], 0
je 0x421d9c
sub esp, 0xc
add ebx, 0x68
mov ecx, edi
push ebx
call fcn.0042176c
add esp, 0xc
jmp 0x421d9c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret