Function at 0x415f80
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 0x4497bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x12ec
call fcn.004213b0
mov eax, dword [0x4668f4]
push ebx
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x12d0], ebx
mov dword [ebp - 0x12b8], esi
mov dword [ebp - 0x12c4], edi
mov dword [ebp - 0x12bc], eax
mov dword [ebp - 0x12c8], ecx
je 0x41663a
cmp byte [esi], 0
je 0x41663a
lea edx, [ebp - 0x294]
push edx
push edi
call fcn.00405ec0
mov al, byte [0x46f5a4]
add esp, 8
test al, al
jns 0x416045
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x12bc]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [0x467980]
push edx
push edi
push eax
push esi
push str.sIP___s__iPort___d__sURL___s__iMaxLength___d__sKeyInReturn___s__m_iExpectedReceiveSize___d
push 0x6c6
push str..HLib.cpp
push 0
push str.HLib::GetPage
push ecx
call fcn.0040ebc0
add esp, 0x30
jmp 0x41607a
mov edx, dword [ebx + 8]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [0x467980]
lea eax, [ebp - 0x294]
push eax
push ecx
push esi
push str.sIP___s__iPort___d__URL___s__m_iExpectedReceiveSize___d
push 0x6c8
push str..HLib.cpp
push 0
push str.HLib::GetPage
push edx
call fcn.0040ebc0
add esp, 0x28
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp - 0x12c8]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x12c4]
mov eax, ecx
mov byte [ebp - 0x12b2], 0
mov dword [ebp - 0x1298], 0xf
mov dword [ebp - 0x129c], 0
mov byte [ebp - 0x12ac], 0
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4160c0
sub eax, edi
push eax
push ecx
lea ecx, [ebp - 0x12b0]
call fcn.004014a5
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
cmp edi, 0x1bb
mov ecx, dword [ebp - 0x12bc]
mov edx, dword [ebp - 0x12c8]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x1298]
mov dword [ebp - 4], 0
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edx
jne 0x41612a
cmp eax, 0x10
mov eax, dword [ebp - 0x12ac]
jae 0x416117
lea eax, [ebp - 0x12ac]
push 0x44c409
push 0x44f418
push 1
push 0x1bb
jmp 0x416148
cmp eax, 0x10
mov eax, dword [ebp - 0x12ac]
jae 0x41613b
lea eax, [ebp - 0x12ac]
push 0x44c409
push 0x44f418
push 0
push edi
push esi
mov ecx, ebx
push eax
call fcn.00415410
test al, al
mov byte [ebp - 0x12b1], al
mov byte [ebp - 4], 1
mov ecx, ebx
jne 0x41647b
call fcn.00413730
push 0
push 0
push 0
mov ecx, 0xc
mov esi, str.Content_Type:_application_x_www_form_urlencoded
lea edi, [ebp - 0x94]
push 3
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.WININET.dll_InternetOpenA]
push str.Internet_Explorer
call edi
mov esi, eax
test esi, esi
mov dword [ebp - 0x12cc], esi
jne 0x4161b0
push eax
push eax
push eax
push eax
push str.Internet_Explorer
call edi
mov esi, eax
mov dword [ebp - 0x12cc], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x12b8]
push 1
push 0
push 3
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [ebp - 0x12c4]
push 1
push 0
push 0
push 0
push 0
push edx
push 0x44f418
push eax
mov dword [ebp - 0x12d4], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x12bc], edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416200
push 0
push 0
sub eax, edi
push eax
lea eax, [ebp - 0x94]
push eax
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
setne al
test al, al
mov byte [ebp - 0x12b1], al
je 0x4163f1
mov edx, dword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
mov ecx, edx
mov esi, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0x20]
xor eax, eax
mov dword [ebp - 0x12e8], ecx
mov cl, byte [ebx + 1]
test cl, cl
mov dword [ebp - 0x12fc], 0x28
mov dword [ebp - 0x12e4], edx
mov dword [ebp - 0x12f4], eax
mov dword [ebp - 0x12f0], eax
mov dword [ebp - 0x12ec], eax
je 0x416307
mov edi, dword [ebx + 8]
cmp edi, eax
jle 0x416307
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
test edi, edi
jle 0x416368
mov eax, 0x3800
cmp edi, eax
mov dword [ebp - 0x12c0], 0
jge 0x4162ad
mov eax, edi
mov ecx, dword [ebp - 0x12bc]
lea edx, [ebp - 0x12c0]
push edx
mov edx, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0x20]
add eax, edx
push eax
push ecx
call esi
test eax, eax
je 0x4162dc
mov eax, dword [ebp - 0x12c0]
test eax, eax
je 0x4162dc
add dword [ebx + 4], eax
sub edi, eax
jmp 0x416290
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
push edi
call fcn.0040f290
add esp, 4
push eax
push edi
push str.IRE___error_code:__d__error:__s
push 0x728
push str..HLib.cpp
push 3
push str.HR::GetPage
jmp 0x416352
mov ecx, dword [ebp - 0x12bc]
push eax
push 4
lea eax, [ebp - 0x12fc]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x416368
mov byte [ebp - 0x12b2], 1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
push edi
call fcn.0040f290
add esp, 4
push eax
push edi
push str.IRE___failed__error_code:__d__error:__s
push 0x734
push str..HLib.cpp
push 3
push str.HLib::GetPage
mov edx, dword [0x467980]
push edx
call fcn.0040ebc0
add esp, 0x20
mov byte [ebp - 0x12b1], 0
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4163cb
cmp byte [eax], 0
je 0x4163cb
push eax
mov eax, dword [ebx + 0x20]
push eax
call fcn.00422370
add esp, 8
test eax, eax
jne 0x4163cb
mov byte [ebp - 0x12b2], 1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
push edi
call fcn.0040f290
mov ecx, dword [0x467980]
add esp, 4
push eax
push edi
push str.No_keyword__error_code:__d__error:__s
push 0x73e
push str..HLib.cpp
push 3
push str.HLib::GetPage
push ecx
call fcn.0040ebc0
add esp, 0x20
mov byte [ebp - 0x12b1], 0
mov esi, dword [ebp - 0x12cc]
mov eax, dword [ebp - 0x12bc]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call edi
mov ecx, dword [ebp - 0x12d4]
push ecx
call edi
push esi
call edi
jmp 0x416488
mov byte [ebp - 0x12b2], 1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
push edi
call fcn.0040f290
mov edx, dword [0x467980]
add esp, 4
push eax
push edi
push str.HSR___failed__error_code:__d__error:__s
push 0x747
push str..HLib.cpp
push 3
push str.HLib::GetPage
push edx
call fcn.0040ebc0
add esp, 0x20
jmp 0x4163d1
call fcn.00413730
jmp 0x416491
mov esi, dword [ebp - 0x12b8]
mov edi, dword [ebp + 0xc]
mov al, byte [ebp - 0x12b2]
test al, al
mov dword [ebp - 4], 0
je 0x41661a
mov ecx, dword [0x467980]
lea eax, [ebp - 0x294]
push eax
push str.HTTP_fialed._Now_try_TCP_for_URL___s
push 0x765
push str..HLib.cpp
push 0
push str.HLib::GetPage
push ecx
call fcn.0040ebc0
add esp, 0x1c
cmp edi, 0x1bb
jne 0x4164f8
mov edx, dword [ebp - 0x12c4]
push edx
push esi
lea eax, [ebp - 0x1294]
push str.https:___s_s
push eax
call fcn.004217f1
add esp, 0x10
jmp 0x416538
cmp edi, 0x50
jne 0x41651b
mov ecx, dword [ebp - 0x12c4]
push ecx
push esi
lea edx, [ebp - 0x1294]
push str.http:___s_s
push edx
call fcn.004217f1
add esp, 0x10
jmp 0x416538
mov eax, dword [ebp - 0x12c4]
push eax
push edi
push esi
lea ecx, [ebp - 0x1294]
push str.http:___s:_d_s
push ecx
call fcn.004217f1
add esp, 0x14
mov edx, dword [ebp - 0x12c8]
mov byte [edx], 0
lea eax, [ebx + 4]
push eax
xor eax, eax
mov al, byte [ebx + 1]
lea ecx, [ebp - 0x12c0]
push ecx
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0x12b8]
push edx
lea edx, [ebp - 0x1294]
push eax
push ecx
xor esi, esi
push edx
mov dword [ebp - 0x12b8], esi
mov dword [ebp - 0x12c0], esi
call fcn.0040aca0
add esp, 0x18
test al, al
je 0x416613
mov ecx, dword [ebp - 0x12c0]
cmp ecx, esi
jle 0x416613
mov eax, dword [ebp - 0x12b8]
mov edi, dword [ebp - 0x12c8]
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0043beef
mov ebx, dword [ebx + 0x1c]
add esp, 4
test ebx, ebx
je 0x41660a
cmp byte [ebx], 0
je 0x41660a
mov eax, dword [ebp - 0x12c8]
push ebx
push eax
call fcn.00422370
add esp, 8
test eax, eax
jne 0x41660a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.0040f290
mov ecx, dword [0x467980]
push eax
push esi
push str.No_keyword__error_code:__d__error:__s
push 0x781
push str..HLib.cpp
push 3
push str.HLib::GetPage
push ecx
call fcn.0040ebc0
add esp, 0x24
mov byte [ebp - 0x12b1], 1
jmp 0x41661a
mov byte [ebp - 0x12b1], 0
cmp dword [ebp - 0x1298], 0x10
jb 0x416632
mov edx, dword [ebp - 0x12ac]
push edx
call fcn.0043beef
add esp, 4
mov al, byte [ebp - 0x12b1]
jmp 0x41666a
mov eax, dword [ebx + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x467980]
push eax
push edi
push ecx
push str.Empty_IP__iPort___d__URL___s__m_iExpectedReceiveSize___d
push 0x6bd
push str..HLib.cpp
push 0
push str.HLib::GetPage
push edx
call fcn.0040ebc0
add esp, 0x24
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004205fd
mov esp, ebp
pop ebp
ret 0x18