Function at 0x458ce0
Capabilities:
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4e362c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [edi + 0x18]
push 0x2000
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x58], 0
call fcn.004360b0
xor ecx, ecx
mov dword [ebp - 0x48], eax
add esp, 4
mov esi, 0x2000000f
test ebx, ebx
cmovne esi, ecx
test eax, eax
jne 0x458d39
lea esi, [eax + 8]
jmp 0x458eb8
test ebx, ebx
je 0x458df5
push 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], ecx
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 4
push eax
push 0
push 0x20000013
push dword [edi + 0x18]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x458d81
push dword [ebp - 0x4c]
mov ecx, edi
call fcn.004578a0
mov esi, eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x28], eax
test esi, esi
jne 0x458df2
jmp 0x458d94
push str.Could_not_query_the_status_code_for_the_request
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.00458350
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00470010
add esp, 0xc
mov dword [ebp - 0x50], 0x40
lea eax, [ebp - 0x50]
push 0
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 5
push dword [edi + 0x18]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x458ddd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, edi
push str.Retrieving_content_length_information_associated_with_an_HTTP_request
push esi
call fcn.00458350
jmp 0x458df2
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x44]
push eax
call fcn.00478a09
add esp, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
xor ebx, ebx
test esi, esi
jne 0x458eb0
jmp 0x458e04
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push ecx
push 0x2000
push eax
push dword [edi + 0x18]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x458e32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, edi
push str.Reading_data_from_http_s__handle
push esi
call fcn.00458350
jmp 0x458e80
mov ecx, dword [ebp - 0x60]
add ebx, ecx
test ecx, ecx
je 0x458eb0
mov eax, dword [ebp - 0x54]
push 0
push ecx
push dword [ebp - 0x48]
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4b24e4]
mov ecx, dword [ebp - 0x54]
call esi
mov esi, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x458e80
push dword [ebp - 0x64]
mov ecx, eax
push dword [ebp - 0x58]
push ebx
call dword [0x4b24e4]
mov eax, dword [ebp - 0x5c]
call eax
add esp, 0xc
test eax, eax
mov eax, 0x20000047
cmove esi, eax
push 4
lea eax, [edi + 0x5c]
push eax
push 6
push dword [edi + 0x18]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x458ea8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Failed_to_reset_the_receive_timeout
push eax
mov ecx, edi
call fcn.00458350
test esi, esi
je 0x458e01
cmp esi, 0x20000137
je 0x458ebf
mov ecx, edi
call fcn.004576c0
push dword [ebp - 0x48]
call fcn.004361e0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046d700
mov esp, ebp
pop ebp
ret 0xc