Function at 0x456800
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4679e6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4e9028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
push 0x4dffc0
mov ebx, 0x28
call fcn.00459ce0
mov eax, dword [edi + 4]
push 0x4dffbc
push eax
mov edx, 0x4e0068
call fcn.00458980
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00457910
add esp, 8
mov ebx, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], ebx
jb 0x45687c
mov eax, dword [eax + 4]
jmp 0x45687f
add eax, 4
push eax
mov eax, dword [edi + 4]
push eax
mov edx, 0x4e006c
call fcn.00458980
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00457910
add esp, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], ebx
jb 0x4568b9
mov eax, dword [eax + 4]
jmp 0x4568bc
add eax, 4
push eax
mov eax, dword [edi + 4]
push eax
mov edx, 0x4e0074
call fcn.00458980
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp + 0x10]
lea esi, [ebp - 0x30]
call fcn.00457530
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], ebx
jb 0x4568f1
mov eax, dword [eax + 4]
jmp 0x4568f4
add eax, 4
mov ecx, dword [edi + 4]
push eax
push ecx
mov edx, 0x4e007c
call fcn.00458980
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.00457910
add esp, 8
mov ebx, 4
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [eax + 0x18], esi
jb 0x456937
mov eax, dword [eax + 4]
jmp 0x45693a
add eax, 4
mov ecx, dword [edi + 4]
push eax
push ecx
mov edx, 0x4e0080
call fcn.00458980
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.00457910
add esp, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], esi
jb 0x456974
mov eax, dword [eax + 4]
jmp 0x456977
add eax, 4
mov ecx, dword [edi + 4]
push eax
push ecx
mov edx, 0x4e0088
call fcn.00458980
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [ebp + 0x1c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.00457910
add esp, 8
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], esi
jb 0x4569b1
mov eax, dword [eax + 4]
jmp 0x4569b4
add eax, 4
mov ecx, dword [edi + 4]
push eax
push ecx
mov edx, 0x4e0090
call fcn.00458980
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov esi, dword [edi + 4]
lea edx, [ebp + 0xc]
push edx
call fcn.00458ae0
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 8]
test eax, eax
je 0x456a28
push 0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x20000013
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [ebp - 0x14], 0xc8
jne 0x456a28
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18