Function at 0x472e40
Capabilities:
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 0x478516
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1288
call fcn.00444260
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 + 0x10]
mov edx, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 0x1250], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1254], eax
mov eax, dword [ebp + 0x1c]
lea esi, [ecx + 1]
mov dword [ebp - 0x1260], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1270], edi
mov dword [ebp - 0x124c], edx
mov dword [ebp - 0x1268], eax
mov dword [ebp - 0x1234], 0
mov dword [ebp - 0x1230], 0xf
mov byte [ebp - 0x1244], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x472ed0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1244]
call fcn.00401d51
mov eax, dword [ebp - 0x1268]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1264], esi
mov dword [eax], esi
mov eax, dword [ebp - 0x124c]
test eax, eax
je 0x47360e
cmp byte [eax], 0
je 0x47360e
push dword [ebp - 0x1250]
call fcn.00410230
push 0x200
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00447160
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x1250]
call fcn.004154f0
add esp, 0x18
test byte [0x4b0bf8], 0x80
push dword [edi + 8]
je 0x472f91
push dword [ebp - 0x1254]
mov ecx, dword [ebp + 0x14]
push ecx
push dword [ebp - 0x1250]
push esi
push dword [ebp - 0x124c]
push str.sIP___s__iPort___d__sURL___s__iMaxLength___d__sKeyInReturn___s__m_iExpectedReceiveSize___d
push 0x90d
push str.c:_rhub2codehlibhlib.cpp
push 0
push str.HLib::GetPage
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x30
jmp 0x472fc3
lea eax, [ebp - 0x214]
push eax
push esi
push dword [ebp - 0x124c]
push str.sIP___s__iPort___d__URL___s__m_iExpectedReceiveSize___d
push 0x90f
push str.c:_rhub2codehlibhlib.cpp
push 0
push str.HLib::GetPage
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x28
push dword [ebp + 0x14]
push 0
push dword [ebp - 0x1260]
call fcn.00447160
mov edx, dword [ebp - 0x1250]
add esp, 0xc
mov ecx, edx
mov byte [ebp - 0x1246], 0
mov dword [ebp - 0x121c], 0
mov dword [ebp - 0x1218], 0xf
mov byte [ebp - 0x122c], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x125c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x473010
sub ecx, dword [ebp - 0x125c]
push ecx
push edx
lea ecx, [ebp - 0x122c]
call fcn.00401d51
mov byte [ebp - 4], 1
call fcn.00413c70
mov ecx, dword [ebp + 0x14]
mov edx, 0x47ca90
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp - 0x1254]
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebp - 0x1260]
mov dword [edi + 0x20], ecx
mov ecx, edx
cmp dword [0x4a906c], 0
push 0x47ca94
mov dword [ebp - 0x1254], 0x47ca94
cmovne ecx, dword [ebp - 0x1254]
test al, al
push ecx
cmove edx, dword [ebp - 0x1254]
push edx
push str.bIsSystemUser___s__g_oMyConfigure_is_NULL___s__bHTTPFailed___s
push 0x920
push str.c:_rhub2codehlibhlib.cpp
push 0
push str.HLib::GetPage
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x24
lea eax, [ebp - 0x122c]
mov ecx, edi
push 0x47b918
push 0x495ad4
cmp esi, 0x1bb
jne 0x4730bd
push 1
push esi
jmp 0x4730c0
push 0
push esi
cmp dword [ebp - 0x1218], 0x10
push dword [ebp - 0x124c]
cmovae eax, dword [ebp - 0x122c]
push eax
call fcn.00473a90
mov byte [ebp - 0x1245], al
mov eax, dword [edi + 0xc]
mov byte [ebp - 4], 2
test eax, eax
je 0x4730f2
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x473100
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x47310e
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [ebp - 0x1245], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
jne 0x4733ce
movups xmm0, xmmword [str.Content_Type:_application_x_www_form_urlencoded]
push 0
push 0
movups xmmword [ebp - 0x414], xmm0
push 0
movups xmm0, xmmword [0x4953d8]
push 3
push str.Internet_Explorer
movups xmmword [ebp - 0x404], xmm0
movups xmm0, xmmword [0x4953e8]
movups xmmword [ebp - 0x3f4], xmm0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x125c], eax
test eax, eax
jne 0x47318c
push eax
push eax
push eax
push eax
push str.Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x125c], eax
push 1
push 0
push 3
push 0
push 0
push esi
push dword [ebp - 0x124c]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 1
push 0
push 0
push 0
push 0
push dword [ebp - 0x1250]
mov dword [ebp - 0x126c], eax
push 0x495ad4
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, eax
lea ecx, [ebp - 0x414]
lea eax, [ecx + 1]
mov dword [ebp - 0x1254], edx
mov dword [ebp - 0x1258], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4731e0
sub ecx, dword [ebp - 0x1258]
lea eax, [ebp - 0x414]
push 0
push 0
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
setne byte [ebp - 0x1245]
test eax, eax
je 0x473451
mov esi, dword [edi + 0x18]
push esi
push 0
push dword [edi + 0x20]
call fcn.00447160
mov eax, dword [edi + 0x20]
add esp, 0xc
cmp byte [edi + 1], 0
mov dword [ebp - 0x1298], 0x28
mov dword [ebp - 0x1284], eax
mov dword [ebp - 0x1280], esi
mov dword [ebp - 0x1290], 0
mov dword [ebp - 0x128c], 0
mov dword [ebp - 0x1288], 0
je 0x4732e6
mov esi, dword [edi + 8]
test esi, esi
jle 0x4732e6
nop word [eax + eax]
mov eax, 0x3800
mov dword [ebp - 0x1258], 0
cmp esi, eax
lea ecx, [ebp - 0x1258]
push ecx
cmovl eax, esi
push eax
mov eax, dword [edi + 0x20]
add eax, dword [edi + 4]
push eax
push dword [ebp - 0x1254]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4732bb
mov eax, dword [ebp - 0x1258]
test eax, eax
je 0x4732bb
add dword [edi + 4], eax
sub esi, eax
test esi, esi
jg 0x473270
jmp 0x473346
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
add esp, 4
push eax
push esi
push str.IRE___error_code:__d__error:__s
push 0x980
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HR::GetPage
jmp 0x47332a
push 0
push 4
lea eax, [ebp - 0x1298]
push eax
push dword [ebp - 0x1254]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x473346
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
add esp, 4
push eax
push esi
push str.IRE___failed__error_code:__d__error:__s
push 0x98c
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HLib::GetPage
push dword [0x4a9068]
call fcn.0040eee0
mov byte [ebp - 0x1245], 0
add esp, 0x20
mov byte [ebp - 0x1246], 1
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4733a7
cmp byte [eax], 0
je 0x4733a7
push eax
push dword [edi + 0x20]
call fcn.004472c0
add esp, 8
test eax, eax
jne 0x4733a7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
add esp, 4
push eax
push esi
push str.No_keyword__error_code:__d__error:__s
push 0x996
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HLib::GetPage
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x20
mov byte [ebp - 0x1246], 1
mov byte [ebp - 0x1245], 0
mov esi, dword [ebp + 0xc]
push dword [ebp - 0x1254]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x126c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x125c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 4], 1
cmp byte [ebp - 0x1246], 0
je 0x4735e2
lea eax, [ebp - 0x214]
push eax
push str.HTTP_fialed._Now_try_TCP_for_URL___s
push 0x9ba
push str.c:_rhub2codehlibhlib.cpp
push 0
push str.HLib::GetPage
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x1c
mov eax, 0x50
cmp esi, 0x1bb
cmovne eax, esi
push dword [ebp - 0x1250]
mov esi, eax
lea eax, [ebp - 0x1214]
mov dword [ebp - 0x1264], esi
cmp esi, 0x50
jne 0x4734ec
push dword [ebp - 0x124c]
push str.http:___s_s
push eax
call fcn.00407cd0
add esp, 0x10
jmp 0x473501
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov dword [ebp - 0x1258], eax
call fcn.00470f20
add esp, 4
push eax
push dword [ebp - 0x1258]
push str.HSR___failed__error_code:__d__error:__s
push 0x99e
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HLib::GetPage
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x20
mov byte [ebp - 0x1246], 1
jmp 0x4733aa
push esi
push dword [ebp - 0x124c]
push str.http:___s:_d_s
push eax
call fcn.00407cd0
add esp, 0x14
mov eax, dword [ebp - 0x1260]
mov dword [ebp - 0x1258], 0
mov dword [ebp - 0x125c], 0
mov byte [eax], 0
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x125c]
push eax
lea eax, [ebp - 0x1258]
push eax
movzx eax, byte [edi + 1]
push eax
push dword [edi + 8]
lea eax, [ebp - 0x1214]
push eax
call fcn.004158e0
add esp, 0x18
test al, al
je 0x4735d5
mov eax, dword [ebp - 0x125c]
test eax, eax
jle 0x4735db
mov esi, dword [ebp - 0x1258]
push eax
push esi
push dword [ebp - 0x1260]
call fcn.00446660
push esi
call fcn.0041d9ba
mov eax, dword [edi + 0x1c]
add esp, 0x10
test eax, eax
je 0x4735cc
cmp byte [eax], 0
je 0x4735cc
push eax
push dword [ebp - 0x1260]
call fcn.004472c0
add esp, 8
test eax, eax
jne 0x4735cc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.00470f20
push eax
push esi
push str.No_keyword__error_code:__d__error:__s
push 0x9d5
push str.c:_rhub2codehlibhlib.cpp
push 3
push str.HLib::GetPage
push dword [0x4a9068]
call fcn.0040eee0
add esp, 0x24
mov byte [ebp - 0x1245], 1
jmp 0x4735e2
mov dword [ebp - 0x1264], esi
mov byte [ebp - 0x1245], 0
mov ecx, dword [ebp - 0x1268]
mov eax, dword [ebp - 0x1264]
mov dword [ecx], eax
lea ecx, [ebp - 0x122c]
call fcn.004014f2
lea ecx, [ebp - 0x1244]
call fcn.004014f2
mov al, byte [ebp - 0x1245]
jmp 0x473674
push dword [edi + 8]
push dword [ebp - 0x1250]
push esi
push str.Empty_IP__iPort___d__URL___s__m_iExpectedReceiveSize___d
push 0x900
push str.c:_rhub2codehlibhlib.cpp
push 0
push str.HLib::GetPage
push dword [0x4a9068]
call fcn.0040eee0
mov edx, dword [ebp - 0x1230]
add esp, 0x24
cmp edx, 0x10
jb 0x473672
mov ecx, dword [ebp - 0x1244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x473668
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473692
push edx
push ecx
call fcn.00443caf
add esp, 8
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.00444138
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0044a823
int3