Function at 0x42a620
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dbe0
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x49b024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1b8]
xor edi, edi
push eax
mov esi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [esi + 0x498]
push 0x202
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1d0], 1
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, edi
je 0x42a69f
push 0x49704c
lea ecx, [ebp - 0x1c8]
push ecx
mov dword [ebp - 0x1c8], 1
call fcn.00435ff8
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42a6cd
push 0x49704c
lea edx, [ebp - 0x1d4]
push edx
mov dword [ebp - 0x1d4], 2
call fcn.00435ff8
push 4
lea eax, [ebp - 0x1d0]
push eax
push 4
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
movzx edx, word [esi + 0x47a]
xor eax, eax
mov ecx, 2
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x24], cx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
push 0x10
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x42a73d
push 0x49704c
lea ecx, [ebp - 0x1c0]
push ecx
mov dword [ebp - 0x1c0], 2
call fcn.00435ff8
mov eax, dword [esi + 0x97c]
mov ecx, dword [esi + 0xad4]
mov edx, dword [esi + 0x978]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x998]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0xaf8]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x9c4]
mov dword [esi + 0x58], edx
mov edx, dword [esi + 0x994]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0xd04]
mov dword [esi + 0x38], ecx
mov ecx, dword [esi + 0x9c0]
push eax
mov dword [esi + 0x2c], edx
mov edx, dword [esi]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0xad0]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x40], edx
mov dx, word [esi + 0x942]
push eax
lea ecx, [esi + 0x60]
push ecx
mov dword [esi + 0x24], 4
mov word [esi + 0x20], dx
call fcn.0043a470
movzx edx, word [esi + 0x942]
mov eax, dword [esi + 0x99c]
mov ecx, dword [esi + 0x994]
add esp, 0xc
push edx
mov edx, dword [esi + 0x998]
push eax
push ecx
push edx
push 0x5eb
push 0x4917d8
call fcn.0042de30
add esp, 0x18
push 0
push 0x458
lea eax, [esi + 8]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x42a827
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x49704c
lea ecx, [ebp - 0x1cc]
push ecx
mov dword [ebp - 0x1cc], 2
call fcn.00435ff8
push 1
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
cmp eax, 0xffffffff
jne 0x42a85d
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x49704c
lea edx, [ebp - 0x1c4]
push edx
mov dword [ebp - 0x1c4], 2
call fcn.00435ff8
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, dword [esi + 0x498]
push esi
mov dword [ebp - 0x1bc], 1
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x5fe
push str._CloudUpdate_...__d_Finish_to_send_config_to__s_
call fcn.0042de30
add esp, 0xc
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret