Function at 0x45a5a0
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 0x45f1bb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1480
call fcn.00439c50
mov eax, dword [0x483ca0]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x1468], edi
mov dword [ebp - 0x145c], esi
mov dword [ebp - 0x1460], esi
mov dword [ebp - 0x1444], eax
mov dword [ebp - 0x1448], ebx
mov dword [ebp - 0x1454], ecx
test esi, esi
je 0x45ad8c
cmp byte [esi], 0
je 0x45ad8c
push 0x1ff
lea eax, [ebp - 0x223]
mov byte [ebp - 0x224], 0
push 0
push eax
call fcn.00438b10
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x1444]
call fcn.0040eba0
add esp, 0x14
test byte [0x48e748], 0x80
push dword [edi + 8]
je 0x45a689
push ebx
mov ebx, dword [ebp + 0x14]
push ebx
push dword [ebp - 0x1444]
push dword [ebp + 0xc]
push esi
push str.sIP___s__iPort___d__sURL___s__iMaxLength___d__sKeyInReturn___s__m_iExpectedReceiveSize___d
push 0x8ee
push str.HLib.cpp
push 0
push str.HLib::GetPage
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x30
jmp 0x45a6bb
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 0xc]
push esi
push str.sIP___s__iPort___d__URL___s__m_iExpectedReceiveSize___d
push 0x8f0
push str.HLib.cpp
push 0
push str.HLib::GetPage
push dword [0x4868e8]
call fcn.0040a4c0
mov ebx, dword [ebp + 0x14]
add esp, 0x28
mov eax, dword [ebp - 0x1454]
push ebx
push 0
push eax
call fcn.00438b10
add esp, 0xc
lea ecx, [ebp - 0x143c]
push dword [ebp - 0x1444]
call fcn.00401403
mov dword [ebp - 4], 0
call fcn.0040d2e0
cmp byte [0x491755], 0
mov edx, 0x4619f4
mov ecx, dword [ebp - 0x1448]
mov dword [edi + 0x1c], ecx
mov ecx, edx
mov byte [ebp - 0x143d], al
mov eax, 0x4619f8
cmove ecx, eax
mov dword [edi + 0x18], ebx
mov ebx, dword [ebp - 0x1454]
mov eax, edx
push ecx
mov dword [edi + 0x20], ebx
mov ecx, 0x4619f8
cmp dword [0x4868ec], 0
cmovne eax, ecx
cmp byte [ebp - 0x143d], 0
push eax
cmove edx, ecx
push edx
push str.bIsSystemUser___s__g_oMyConfigure_is_NULL___s__bHTTPFailed___s
push 0x901
push str.HLib.cpp
push 0
push str.HLib::GetPage
push dword [0x4868e8]
call fcn.0040a4c0
mov ecx, dword [0x4868ec]
add esp, 0x24
test ecx, ecx
je 0x45a7c1
lea eax, [ebp - 0x24]
push eax
push str.____WHTTP_FAILED___
push str.___WHTTP_FAILED___
call fcn.004101a0
test al, al
je 0x45a7bb
mov ecx, 0x4619f4
lea eax, [ebp - 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45a7a6
test dl, dl
je 0x45a7a2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45a7a6
add eax, 2
add ecx, 2
test dl, dl
jne 0x45a786
xor eax, eax
jmp 0x45a7ab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45a7bb
mov byte [0x491755], 1
jmp 0x45ac34
mov ecx, dword [0x4868ec]
mov al, byte [ebp - 0x143d]
test al, al
je 0x45a861
test ecx, ecx
je 0x45a861
lea eax, [ebp - 0x24]
push eax
push str.____WHTTP_FAILED_IN_SERVICE___
push str.___WHTTP_FAILED_IN_SERVICE___
call fcn.004101a0
test al, al
je 0x45a855
lea eax, [ebp - 0x24]
push eax
push str.___WHTTP_FAILED_IN_SERVICE____is__s
push 0x90f
push str.HLib.cpp
push 0
push str.HLib::GetPage
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x1c
lea eax, [ebp - 0x24]
mov ecx, 0x4619f4
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45a840
test dl, dl
je 0x45a83c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45a840
add eax, 2
add ecx, 2
test dl, dl
jne 0x45a820
xor eax, eax
jmp 0x45a845
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45a855
mov byte [0x491755], 1
jmp 0x45ac34
mov ecx, dword [0x4868ec]
mov al, byte [ebp - 0x143d]
cmp byte [0x491755], 0
jne 0x45ac34
test al, al
je 0x45a886
push 0x4619f4
push str.____WHTTP_FAILED_IN_SERVICE___
push str.___WHTTP_FAILED_IN_SERVICE___
call fcn.00410360
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x143c]
push 0x460828
push 0x473cd0
cmp ecx, 0x1bb
jne 0x45a8a6
push 1
push ecx
jmp 0x45a8a9
push 0
push ecx
cmp dword [ebp - 0x1428], 0x10
mov ecx, edi
push esi
cmovae eax, dword [ebp - 0x143c]
push eax
call fcn.0045b1b0
mov ecx, edi
mov byte [ebp - 4], 1
mov bl, al
call fcn.00459450
test bl, bl
jne 0x45abee
movdqu xmm0, xmmword [str.Content_Type:_application_x_www_form_urlencoded]
mov ebx, dword [sym.imp.WININET.dll_InternetOpenA]
push 0
movdqu xmmword [ebp - 0x424], xmm0
push 0
movdqu xmm0, xmmword [0x4735b0]
push 0
push 3
movdqu xmmword [ebp - 0x414], xmm0
push str.Internet_Explorer
movdqu xmm0, xmmword [0x4735c0]
movdqu xmmword [ebp - 0x404], xmm0
call ebx
mov dword [ebp - 0x1448], eax
test eax, eax
jne 0x45a935
push eax
push eax
push eax
push eax
push str.Internet_Explorer
call ebx
mov dword [ebp - 0x1448], eax
push 1
push 0
push 3
push 0
push 0
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 1
push 0
push 0
push 0
push 0
push dword [ebp - 0x1444]
mov dword [ebp - 0x1464], eax
push 0x473cd0
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, eax
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x1458], edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45a980
push 0
push 0
sub ecx, esi
lea eax, [ebp - 0x424]
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
setne bl
test bl, bl
je 0x45ab30
mov esi, dword [edi + 0x18]
push esi
push 0
push dword [edi + 0x20]
call fcn.00438b10
mov eax, dword [edi + 0x20]
add esp, 0xc
cmp byte [edi + 1], 0
mov dword [ebp - 0x1490], 0x28
mov dword [ebp - 0x147c], eax
mov dword [ebp - 0x1478], esi
mov dword [ebp - 0x1488], 0
mov dword [ebp - 0x1484], 0
mov dword [ebp - 0x1480], 0
je 0x45aa76
mov esi, dword [edi + 8]
test esi, esi
jle 0x45aa76
mov edi, edi
mov eax, 0x3800
mov dword [ebp - 0x1450], 0
cmp esi, eax
lea ecx, [ebp - 0x1450]
push ecx
cmovl eax, esi
push eax
mov eax, dword [edi + 4]
add eax, dword [edi + 0x20]
push eax
push dword [ebp - 0x1458]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x45aa4b
mov eax, dword [ebp - 0x1450]
test eax, eax
je 0x45aa4b
add dword [edi + 4], eax
sub esi, eax
test esi, esi
jg 0x45aa00
jmp 0x45aad1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
add esp, 4
push eax
push esi
push str.IRE___error_code:__d__error:__s
push 0x960
push str.HLib.cpp
push 3
push str.HR::GetPage
jmp 0x45aaba
push 0
push 4
lea eax, [ebp - 0x1490]
push eax
push dword [ebp - 0x1458]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x45aad1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
add esp, 4
push eax
push esi
push str.IRE___failed__error_code:__d__error:__s
push 0x96c
push str.HLib.cpp
push 3
push str.HLib::GetPage
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x20
mov byte [0x491755], 1
xor bl, bl
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x45ab6e
cmp byte [eax], 0
je 0x45ab6e
push eax
push dword [edi + 0x20]
call fcn.00439380
add esp, 8
test eax, eax
jne 0x45ab6e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
add esp, 4
push eax
push esi
push str.No_keyword__error_code:__d__error:__s
push 0x976
push str.HLib.cpp
push 3
push str.HLib::GetPage
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x20
xor bl, bl
jmp 0x45ab67
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
add esp, 4
push eax
push esi
push str.HSR___failed__error_code:__d__error:__s
push 0x97e
push str.HLib.cpp
push 3
push str.HLib::GetPage
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x20
mov byte [0x491755], 1
push dword [ebp - 0x1458]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1464]
call esi
push dword [ebp - 0x1448]
call esi
mov esi, dword [ebp - 0x145c]
jmp 0x45abee
cmp byte [ebp - 0x143d], 0
mov dword [ebp - 4], 0
je 0x45ac21
cmp byte [0x491755], 0
jne 0x45ac2e
mov ecx, dword [0x4868ec]
push 0x4619f8
push str.____WHTTP_FAILED_IN_SERVICE___
push str.___WHTTP_FAILED_IN_SERVICE___
call fcn.00410360
cmp byte [0x491755], 0
je 0x45ad71
mov ebx, dword [ebp - 0x1454]
lea eax, [ebp - 0x224]
push eax
push str.HTTP_fialed._Now_try_TCP_for_URL___s
push 0x99a
push str.HLib.cpp
push 0
push str.HLib::GetPage
push dword [0x4868e8]
call fcn.0040a4c0
mov eax, dword [ebp + 0xc]
add esp, 0x1c
push dword [ebp - 0x1444]
cmp eax, 0x1bb
jne 0x45ac86
push esi
lea eax, [ebp - 0x1424]
push str.https:___s_s
push eax
call fcn.0043a459
add esp, 0x10
jmp 0x45acb8
cmp eax, 0x50
jne 0x45aca2
push esi
lea eax, [ebp - 0x1424]
push str.http:___s_s
push eax
call fcn.0043a459
add esp, 0x10
jmp 0x45acb8
push eax
push esi
lea eax, [ebp - 0x1424]
push str.http:___s:_d_s
push eax
call fcn.0043a459
add esp, 0x14
lea eax, [edi + 4]
mov byte [ebx], 0
push eax
lea eax, [ebp - 0x1448]
mov dword [ebp - 0x1450], 0
push eax
lea eax, [ebp - 0x1450]
mov dword [ebp - 0x1448], 0
push eax
movzx eax, byte [edi + 1]
push eax
push dword [edi + 8]
lea eax, [ebp - 0x1424]
push eax
call fcn.0040ed70
add esp, 0x18
test al, al
je 0x45ad6f
mov eax, dword [ebp - 0x1448]
test eax, eax
jle 0x45ad6f
mov esi, dword [ebp - 0x1450]
push eax
push esi
push ebx
call fcn.004384c0
push esi
call fcn.004167f4
mov eax, dword [edi + 0x1c]
add esp, 0x10
test eax, eax
je 0x45ad6b
cmp byte [eax], 0
je 0x45ad6b
push eax
push ebx
call fcn.00439380
add esp, 8
test eax, eax
jne 0x45ad6b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.No_keyword__error_code:__d__error:__s
push 0x9b6
push str.HLib.cpp
push 3
push str.HLib::GetPage
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x24
mov bl, 1
jmp 0x45ad71
xor bl, bl
cmp dword [ebp - 0x1428], 0x10
jb 0x45ad88
push dword [ebp - 0x143c]
call fcn.004167f4
add esp, 4
mov al, bl
jmp 0x45adb9
push dword [edi + 8]
push eax
push dword [ebp + 0xc]
push str.Empty_IP__iPort___d__URL___s__m_iExpectedReceiveSize___d
push 0x8e5
push str.HLib.cpp
push 0
push str.HLib::GetPage
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x24
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.004396df
mov esp, ebp
pop ebp
ret 0x18