Function at 0x4723f0
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478460
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x16dc
call fcn.00444200
mov eax, dword [0x4a6c44]
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
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, str.127.0.0.1
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x16b4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x16a4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1698], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x169c], eax
mov eax, edx
mov dword [ebp - 0x16b8], edx
mov dword [ebp - 4], 0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x472486
test dl, dl
je 0x472482
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x472486
add eax, 2
add ecx, 2
test dl, dl
jne 0x472466
xor eax, eax
jmp 0x47248b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4724d2
push str.Skip_127.0.0.1
push 0x143
push str.c:_rhub2codehlibhlib.cpp
push eax
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x18
xor al, al
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.004440d2
mov esp, ebp
pop ebp
ret 0x24
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0x16b4]
call fcn.00415480
add esp, 8
mov dword [ebp - 0x16b0], 0xa
lea eax, [ebp - 0x16b0]
push 4
push eax
push 0x49
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp - 0x16b0]
push eax
push 0x4a
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0x1698]
movsx eax, byte [ebp + 0x1c]
push esi
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x16b8]
push str.Begin_HR::DoRequest____sIP___s__iPort___d__cPType_c__sByPass_s__sPAddress_s__URL_s
push 0x150
push str.c:_rhub2codehlibhlib.cpp
push 0
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
mov ah, byte [ebp + 0x1c]
add esp, 0x30
mov byte [0x4a7664], ah
test esi, esi
je 0x47257d
mov edx, 0x4b0c00
mov ecx, esi
sub edx, esi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x472570
mov ecx, dword [ebp - 0x1698]
test ecx, ecx
je 0x4725a3
mov edx, 0x4b1c00
sub edx, ecx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x472590
mov ecx, dword [ebp - 0x1698]
push 0
cmp ah, 0x44
jne 0x4725b2
push 0
push 0
push 1
jmp 0x4725c3
cmp ah, 0x4c
jne 0x4725bf
push 0
push 0
push 0
jmp 0x4725c3
push esi
push ecx
push 3
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [edi + 0x14], eax
test eax, eax
je 0x472d11
push 4
lea ecx, [ebp - 0x1698]
mov dword [ebp - 0x1698], 0x15f90
push ecx
push 2
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x472636
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470ed0
add esp, 4
push eax
push esi
push dword [ebp - 0x1698]
push str.Conn_lTimeout_d__error_code:__d__error:__s
push 0x169
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x24
push 4
lea eax, [ebp - 0x1698]
push eax
push 6
push dword [edi + 0x14]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x47268b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470ed0
add esp, 4
push eax
push esi
push dword [ebp - 0x1698]
push str.Recv_lTimeout_d__error_code:__d__error:__s
push 0x16f
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x24
push 4
lea eax, [ebp - 0x1698]
push eax
push 5
push dword [edi + 0x14]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x4726e0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470ed0
add esp, 4
push eax
push esi
push dword [ebp - 0x1698]
push str.Send_lTimeout_d__error_code:__d__error:__s
push 0x175
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x24
push dword [ebp - 0x1698]
push str.after_ISO_lTimeout___d
push 0x178
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x1c
lea eax, [ebp - 0x16c0]
push eax
call fcn.00454c2c
mov esi, dword [ebp - 0x16b4]
push 0x3f
push esi
call fcn.00447950
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x1694]
push dword [ebp - 0x16bc]
push dword [ebp - 0x16c0]
push esi
je 0x472745
push str._srdm_ld
jmp 0x47274a
push str._s_rdm_ld
push eax
call fcn.00407cd0
add esp, 0x14
push 0
push 0
push 3
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x16b8]
push dword [edi + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x4727b2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470ed0
add esp, 4
push eax
push esi
push str.failed_to_connect._error_code:__d__error:__s
push 0x189
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x20
jmp 0x4724b2
push str.after_IC
push 0x18d
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x18
lea eax, [ebp - 0x1694]
cmp byte [ebp + 0x14], 0
push 0
je 0x4727eb
push 0x4c00000
jmp 0x4727ed
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x16a4]
push dword [edi + 0xc]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x47282c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470ed0
add esp, 4
push eax
push esi
push str.failed_to_open_r:_error_code:__d__error:__s
push 0x1a7
jmp 0x472793
push str.after_HR
push 0x1ab
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x18
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
nop word [eax + eax]
lea eax, [ebp - 0x16c4]
mov dword [ebp - 0x16c4], 4
push eax
lea eax, [ebp - 0x16a0]
push eax
push 0x1f
push dword [edi + 0x10]
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [ebp - 0x16a0], 0x3380
lea eax, [ebp - 0x16a0]
push 4
push eax
push 0x1f
push dword [edi + 0x10]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
movups xmm0, xmmword [str.Content_Type:_application_x_www_form_urlencoded]
mov eax, dword [ebp - 0x16a4]
mov ecx, str.POST
movups xmmword [ebp - 0x94], xmm0
movups xmm0, xmmword [0x4953a8]
movups xmmword [ebp - 0x84], xmm0
movups xmm0, xmmword [0x4953b8]
movups xmmword [ebp - 0x74], xmm0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4728f3
test dl, dl
je 0x4728ef
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4728f3
add eax, 2
add ecx, 2
test dl, dl
jne 0x4728d3
xor eax, eax
jmp 0x4728f8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x472940
mov ecx, dword [ebp - 0x169c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x472905
sub ecx, edx
lea edx, [ebp - 0x94]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x472917
push ecx
push dword [ebp - 0x169c]
sub edx, esi
lea eax, [ebp - 0x94]
push edx
push eax
push dword [edi + 0x10]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x472951
push 0
push 0
push 0
push 0
push dword [edi + 0x10]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x472977
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470ed0
add esp, 4
push eax
push esi
push str.HSR_failed._error_code:__d__error:__s
push 0x1d7
jmp 0x472793
push str.after_HSR
push 0x1db
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x18
mov dword [ebp - 0x16a8], 4
lea eax, [ebp - 0x16a8]
push 0
push eax
lea eax, [ebp - 0x16ac]
push eax
push 0x20000013
push dword [edi + 0x10]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x4729e9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470ed0
add esp, 4
push eax
push esi
push str.HQ___failed_error_code:__d__error:__s
push 0x1e3
jmp 0x472793
push str.after_HQI
push 0x1e7
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
mov eax, dword [ebp - 0x16ac]
add esp, 0x18
cmp eax, 0x191
je 0x472a25
cmp eax, 0x197
jne 0x472aee
push eax
push str.after_HQI_troubled_dwCode___d
push 0x1eb
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x1c
nop word [eax + eax]
lea eax, [ebp - 0x16a8]
push eax
push 0x32
lea eax, [ebp - 0x694]
push eax
push dword [edi + 0x10]
call esi
cmp dword [ebp - 0x16a8], 0
jne 0x472a50
push str.after_IRF
push 0x1f6
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x18
push 0
push 7
push 0x2eee
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
jne 0x472aee
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470ed0
add esp, 4
push eax
push esi
push str.HSR_resend____ERROR_INTERNET_FORCE_RETRY_failed_error_code:__d__error:__s
push 0x203
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x20
jmp 0x472850
cmp byte [edi + 1], 0
mov ecx, 0x47ca94
mov eax, 0x47ca90
cmove eax, ecx
push eax
push dword [edi + 8]
push str.HR::DoRequest_succeeded__m_iExpectedReceiveSize___d__m_bUseMinReadBuffer___s
push 0x210
push str.c:_rhub2codehlibhlib.cpp
push 0
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x20
cmp dword [edi + 0x1c], 0
je 0x472d0a
mov esi, dword [edi + 0x18]
push esi
push 0
push dword [edi + 0x20]
call fcn.00447100
mov eax, dword [edi + 0x20]
add esp, 0xc
cmp byte [edi + 1], 0
mov dword [ebp - 0x16d4], esi
mov esi, dword [edi + 8]
mov dword [ebp - 0x16ec], 0x28
mov dword [ebp - 0x16d8], eax
mov byte [ebp - 4], 1
je 0x472c27
test esi, esi
jle 0x472c27
test esi, esi
jle 0x472c1b
mov eax, 0x3800
mov dword [ebp - 0x169c], 0
cmp esi, eax
lea ecx, [ebp - 0x169c]
push ecx
cmovl eax, esi
push eax
mov dword [ebp - 0x16ac], eax
mov eax, dword [edi + 4]
add eax, dword [edi + 0x20]
push eax
push dword [edi + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x472bf9
mov eax, dword [ebp - 0x169c]
test eax, eax
je 0x472bf9
add dword [edi + 4], eax
sub esi, eax
test byte [0x4b0bf8], 0x80
je 0x472b74
push dword [ebp - 0x16ac]
push str.InternetReadFile___iSizeToRead___d
push 0x22f
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x1c
jmp 0x472b74
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470ed0
add esp, 4
push eax
push esi
push str.IRE___error_code:__d__error:__s
push 0x234
jmp 0x472793
push str.HR::DoRequest_succeeded__Read1_Completed_
push 0x239
jmp 0x472c6b
push 0
push 4
lea eax, [ebp - 0x16ec]
push eax
push dword [edi + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x472c61
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470ed0
add esp, 4
push eax
push esi
push str.IRE___error_code:__d__error:__s
push 0x241
jmp 0x472793
push str.HR::DoRequest_succeeded__Read2_Completed_
push 0x245
push str.c:_rhub2codehlibhlib.cpp
push 0
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
mov eax, dword [edi + 0x1c]
add esp, 0x18
cmp byte [eax], 0
je 0x472d0a
push eax
push dword [edi + 0x20]
call fcn.00447260
add esp, 8
test eax, eax
jne 0x472d0a
push dword [edi + 0x20]
push str.Invalid_page_returned:__s
push 0x24a
push str.c:_rhub2codehlibhlib.cpp
push eax
push str.HR::DoRequest
push dword [0x4a9068]
call fcn.0040ee70
add esp, 0x1c
jmp 0x4724b2
mov al, 1
jmp 0x4724b4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470ed0
add esp, 4
push eax
push esi
push str.I_Open_failed_error_code:__d__error:__s
push 0x20c
jmp 0x472793