Function at 0x429f2d
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Initialize winsock library
Receive data
Receive data on socket
Reference http user-agent string
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4673f4
mov eax, dword fs:[0]
push eax
mov eax, 0x19378
call fcn.00438820
mov eax, dword [0x483e68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x192e4], ecx
push 2
pop eax
push 1
push eax
lea ecx, [ebp - 0x19384]
mov dword [ebp - 4], eax
call fcn.00421fe9
mov edi, 0x46bb7c
push edi
lea ecx, [ebp - 0x19048]
mov byte [ebp - 4], 3
call fcn.00402446
lea eax, [ebp - 0x19384]
push str.GET__userRpm_SysRebootRpm.htm_Reboot_D6_D8_C6_F4_C2_B7_D3_C9_C6_F7_HTTP_1.1_r_n
xor ebx, ebx
push eax
mov byte [ebp - 4], 4
mov byte [ebp - 0x19010], bl
call fcn.0042173b
lea eax, [ebp - 0x19384]
push str.Accept:_text_html__application_xhtmlxml____r_n
push eax
call fcn.0042173b
add esp, 0x10
push str._userRpm_SysRebootRpm.htm_r_n
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x19384]
push str.Referer:_http:__
push eax
call fcn.0042173b
pop ecx
pop ecx
push eax
call fcn.004022a9
pop ecx
pop ecx
push eax
call fcn.0042173b
lea eax, [ebp - 0x19384]
push str.Accept_Language:_zh_CN_r_n
push eax
call fcn.0042173b
lea eax, [ebp - 0x19384]
push str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_n
push eax
call fcn.0042173b
lea eax, [ebp - 0x19384]
push str.Accept_Encoding:_gzip__deflate_r_n
push eax
call fcn.0042173b
lea eax, [ebp - 0x19384]
push str.Connection:_Keep_Alive_r_n
push eax
call fcn.0042173b
lea eax, [ebp - 0x19384]
push str.DNT:_1_r_n
push eax
call fcn.0042173b
add esp, 0x30
mov esi, 0x46b8cc
push esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x19384]
push str.Host:
push eax
call fcn.0042173b
pop ecx
pop ecx
push eax
call fcn.004022a9
pop ecx
pop ecx
push eax
call fcn.0042173b
pop ecx
pop ecx
push esi
sub esp, 0x1c
lea eax, [ebp + 0x40]
mov ecx, esp
mov dword [ebp - 0x192e0], esp
push eax
call fcn.00421ba7
sub esp, 0x1c
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x192e8], esp
push eax
mov byte [ebp - 4], 5
call fcn.00421ba7
mov ecx, dword [ebp - 0x192e4]
lea eax, [ebp - 0x1902c]
push eax
mov byte [ebp - 4], 4
call fcn.004262c2
push eax
lea eax, [ebp - 0x19384]
push str.Authorization:_Basic
push eax
mov byte [ebp - 4], 6
call fcn.0042173b
pop ecx
pop ecx
push eax
call fcn.004022a9
pop ecx
pop ecx
push eax
call fcn.0042173b
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1902c]
mov byte [ebp - 4], 4
call fcn.00401713
lea eax, [ebp - 0x1902c]
push eax
lea ecx, [ebp - 0x19384]
call fcn.0042952e
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x19048]
mov byte [ebp - 4], 7
call fcn.00402179
push ebx
push 1
lea ecx, [ebp - 0x1902c]
mov byte [ebp - 4], 4
call fcn.00401713
mov eax, dword [ebp - 0x19384]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0x19384]
mov eax, dword [ecx + 0x38]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push ebx
push eax
call fcn.00401462
push edi
lea ecx, [ebp - 0x1902c]
call fcn.00402446
lea eax, [ebp - 0x1902c]
push eax
lea ecx, [ebp - 0x19380]
mov byte [ebp - 4], 8
call fcn.0042019c
push ebx
push 1
lea ecx, [ebp - 0x1902c]
mov byte [ebp - 4], 4
call fcn.00401713
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x19048]
call fcn.00402475
push 0x19000
lea eax, [ebp - 0x19010]
push ebx
push eax
call fcn.004374f0
mov edi, dword [ebp - 0x19038]
mov eax, dword [ebp - 0x19048]
add esp, 0xc
cmp dword [ebp - 0x19034], 0x10
jae 0x42a1be
lea eax, [ebp - 0x19048]
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x192e4], eax
mov eax, dword [ebp + 8]
jae 0x42a1d0
lea eax, [ebp + 8]
mov dword [ebp - 0x192e0], eax
lea eax, [ebp - 0x192dc]
push eax
mov esi, 0x101
push esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x42a349
cmp word [ebp - 0x192dc], si
jne 0x42a343
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x42a349
push dword [ebp - 0x192e0]
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x42a33c
push 2
pop ecx
mov word [ebp - 0x19020], cx
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
push 8
mov dword [ebp - 0x1901c], eax
lea eax, [ebp - 0x19018]
push ebx
push eax
call fcn.004374f0
add esp, 0xc
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1901e], ax
push 0x10
lea eax, [ebp - 0x19020]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x42a33c
push ebx
push edi
push dword [ebp - 0x192e4]
push esi
call dword [sym.imp.WS2_32.dll_send]
lea eax, [ebp - 0x19010]
test eax, eax
je 0x42a33c
lea eax, [ebp - 0x192e8]
test eax, eax
je 0x42a33c
lea edi, [ebp - 0x19010]
mov dword [ebp - 0x192e0], 0x18fff
lea eax, [ebp - 0x192ec]
push eax
push ebx
push ebx
lea eax, [ebp - 0x1914c]
push eax
push esi
mov dword [ebp - 0x19148], esi
mov dword [ebp - 0x1914c], 1
mov dword [ebp - 0x192ec], 0xa
mov dword [ebp - 0x192e8], 0x3e8
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebx
jle 0x42a324
lea eax, [ebp - 0x1914c]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x42a2b5
push ebx
push dword [ebp - 0x192e0]
push edi
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jle 0x42a32a
add edi, eax
sub dword [ebp - 0x192e0], eax
jne 0x42a2b5
jmp 0x42a32a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov eax, 0x18fff
sub eax, dword [ebp - 0x192e0]
mov byte [ebp + eax - 0x19010], bl
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x19048]
call fcn.00401713
lea ecx, [ebp - 0x19384]
mov byte [ebp - 4], 2
call fcn.00420607
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.00401713
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.00401713
push ebx
push esi
lea ecx, [ebp + 0x40]
call fcn.00401713
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00435805
leave
ret 0x54