Function at 0x42684d
Capabilities:
Connect 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 0x466ecf
mov eax, dword fs:[0]
push eax
mov eax, 0x19370
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 - 0x1937c], ecx
push 0x46bb7c
lea ecx, [ebp - 0x1902c]
mov dword [ebp - 4], 3
call fcn.00402446
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x19064]
push str.GET__userRpm_ChangeLoginPwdRpm.htm_oldnameadminoldpassword
xor ebx, ebx
push eax
mov byte [ebp - 4], 4
mov byte [ebp - 0x19010], bl
call fcn.00424e0a
push str.newnameadminnewpassword
push eax
lea eax, [ebp - 0x19048]
push eax
mov byte [ebp - 4], 5
call fcn.00424e74
lea ecx, [ebp + 0x5c]
push ecx
push eax
lea eax, [ebp - 0x1909c]
push eax
mov byte [ebp - 4], 6
call fcn.00424de5
push str.newpassword2
push eax
lea eax, [ebp - 0x190d4]
push eax
mov byte [ebp - 4], 7
call fcn.00424e74
lea ecx, [ebp + 0x5c]
push ecx
push eax
lea eax, [ebp - 0x190b8]
push eax
mov byte [ebp - 4], 8
call fcn.00424de5
push str.Save_B1_A3_B4_E6_HTTP_1.1_r_n
push eax
lea eax, [ebp - 0x19080]
push eax
mov byte [ebp - 4], 9
call fcn.00424e74
add esp, 0x48
push eax
lea ecx, [ebp - 0x1902c]
mov byte [ebp - 4], 0xa
call fcn.00422411
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x19080]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x190b8]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x190d4]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x1909c]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x19048]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x19064]
mov byte [ebp - 4], 4
call fcn.00401713
mov esi, str.Accept:_text_html__application_xhtmlxml___
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x19048]
push str.Referer:_http:__
push eax
call fcn.00424e0a
push str._userRpm_ChangeLoginPwdRpm.htm_r_n
push eax
lea eax, [ebp - 0x19064]
push eax
mov byte [ebp - 4], 0xb
call fcn.00424e74
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x1902c]
mov byte [ebp - 4], 0xc
call fcn.00402179
push ebx
push edi
lea ecx, [ebp - 0x19064]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x19048]
mov byte [ebp - 4], 4
call fcn.00401713
mov esi, str.Accept_Language:_zh_CN_r_n
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
mov esi, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_n
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
mov esi, str.Accept_Encoding:_gzip__deflate_r_n
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
mov esi, str.Connection:_Keep_Alive_r_n
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
mov esi, str.DNT:_1_r_n
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x19048]
push str.Host:
push eax
call fcn.00424e0a
mov esi, 0x46b8cc
push esi
push eax
lea eax, [ebp - 0x19064]
push eax
mov byte [ebp - 4], 0xd
call fcn.00424e74
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x1902c]
mov byte [ebp - 4], 0xe
call fcn.00402179
push ebx
push edi
lea ecx, [ebp - 0x19064]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x19048]
mov byte [ebp - 4], 4
call fcn.00401713
push esi
sub esp, 0x1c
lea eax, [ebp + 0x40]
mov ecx, esp
mov dword [ebp - 0x19374], esp
push eax
call fcn.00421ba7
sub esp, 0x1c
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x19370], esp
push eax
mov byte [ebp - 4], 0xf
call fcn.00421ba7
mov ecx, dword [ebp - 0x1937c]
lea eax, [ebp - 0x1909c]
push eax
mov byte [ebp - 4], 4
call fcn.004262c2
push eax
lea eax, [ebp - 0x19048]
push str.Authorization:_Basic
push eax
mov byte [ebp - 4], 0x10
call fcn.00424e9f
add esp, 0xc
push eax
lea eax, [ebp - 0x19064]
push eax
mov byte [ebp - 4], 0x11
call fcn.00424e74
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x1902c]
mov byte [ebp - 4], 0x12
call fcn.00402179
push ebx
push edi
lea ecx, [ebp - 0x19064]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x19048]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x1909c]
mov byte [ebp - 4], 4
call fcn.00401713
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
cmp dword [ebp - 0x19018], 0x10
mov esi, dword [ebp - 0x1901c]
mov eax, dword [ebp - 0x1902c]
jae 0x426bc3
lea eax, [ebp - 0x1902c]
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x19374], eax
mov eax, dword [ebp + 8]
jae 0x426bd5
lea eax, [ebp + 8]
mov dword [ebp - 0x19370], eax
lea eax, [ebp - 0x19368]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x426d6e
mov eax, 0x101
cmp word [ebp - 0x19368], ax
jne 0x426d68
push 6
push edi
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1936c], eax
cmp eax, 0xffffffff
je 0x426d6e
push dword [ebp - 0x19370]
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x426c3c
push dword [ebp - 0x1936c]
jmp 0x426d62
push 2
pop ecx
mov word [ebp - 0x19074], cx
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
push 8
mov dword [ebp - 0x19070], eax
lea eax, [ebp - 0x1906c]
push ebx
push eax
call fcn.004374f0
add esp, 0xc
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x19072], ax
push 0x10
lea eax, [ebp - 0x19074]
push eax
push dword [ebp - 0x1936c]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x426c31
push ebx
push esi
push dword [ebp - 0x19374]
mov esi, dword [ebp - 0x1936c]
push esi
call dword [sym.imp.WS2_32.dll_send]
lea eax, [ebp - 0x19010]
test eax, eax
je 0x426d61
lea eax, [ebp - 0x19374]
test eax, eax
je 0x426d61
lea eax, [ebp - 0x19010]
mov dword [ebp - 0x19370], eax
mov dword [ebp - 0x1936c], 0x18fff
lea eax, [ebp - 0x19378]
push eax
push ebx
push ebx
lea eax, [ebp - 0x191d8]
push eax
push esi
mov dword [ebp - 0x191d4], esi
mov dword [ebp - 0x191d8], edi
mov dword [ebp - 0x19378], 0xa
mov dword [ebp - 0x19374], 0x3e8
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebx
jle 0x426d49
lea eax, [ebp - 0x191d8]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x426cd5
push ebx
push dword [ebp - 0x1936c]
push dword [ebp - 0x19370]
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jle 0x426d4f
add dword [ebp - 0x19370], eax
sub dword [ebp - 0x1936c], eax
jne 0x426cd5
jmp 0x426d4f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov eax, 0x18fff
sub eax, dword [ebp - 0x1936c]
mov byte [ebp + eax - 0x19010], bl
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [ebp - 0x19010]
push str.HTTP_1.1_200_OK
push eax
call fcn.0043a3f0
pop ecx
pop ecx
test eax, eax
je 0x426e35
sub esp, 0x1c
lea eax, [ebp + 0x5c]
mov ecx, esp
mov dword [ebp - 0x19374], esp
push eax
call fcn.00421ba7
sub esp, 0x1c
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x19370], esp
push eax
mov byte [ebp - 4], 0x13
call fcn.00421ba7
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1936c], esp
push eax
mov byte [ebp - 4], 0x14
call fcn.00421ba7
mov ecx, dword [ebp - 0x1937c]
mov byte [ebp - 4], 4
call fcn.004263f7
cmp eax, ebx
je 0x426e35
mov esi, edi
push ebx
push edi
lea ecx, [ebp - 0x1902c]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp + 8]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp + 0x24]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp + 0x40]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp + 0x5c]
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 0x70
xor esi, esi
jmp 0x426de2