Function at 0x45a580
Capabilities:
Check http status code

Disassembly:
mov eax, 0x1050
call fcn.004b0f20
mov eax, dword [0x4e51e0]
xor eax, esp
mov dword [esp + 0x104c], eax
mov eax, dword [esp + 0x1054]
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp dword [esi], ebp
push edi
mov edi, edx
mov dword [esp + 0x18], eax
je 0x45a817
mov ecx, dword [esi + 0xc]
mov ebx, dword [0x4c3368]
push ecx
call ebx
mov edx, dword [esi + 0x10]
push edx
call ebx
mov eax, dword [esi + 0x14]
push eax
call ebx
push 0x3c
lea ecx, [esp + 0x20]
push ebp
push ecx
call fcn.0048ffc0
mov eax, 1
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], eax
jb 0x45a5fd
mov edi, dword [edi + 4]
jmp 0x45a600
add edi, 4
lea edx, [esp + 0x1c]
push edx
push ebp
push ebp
push edi
call dword [0x4c3660]
test eax, eax
je 0x45a817
mov edi, dword [esp + 0x30]
cmp edi, 0x400
jae 0x45a817
cmp dword [esp + 0x4c], 0x400
jae 0x45a817
cmp dword [esi], ebp
je 0x45a817
push 0x7fe
lea eax, [esp + 0x5e]
push ebp
push eax
mov word [esp + 0x64], bp
call fcn.0048ffc0
mov ecx, dword [esp + 0x38]
add esp, 0xc
push edi
push ecx
lea edx, [esp + 0x60]
push 0x400
push edx
call fcn.0048b7e0
mov eax, dword [esp + 0x40]
push 0x7fe
lea ecx, [esp + 0x86e]
push ebp
push ecx
mov word [esp + eax*2 + 0x74], bp
mov word [esp + 0x874], bp
call fcn.0048ffc0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add esp, 0x1c
push edx
push eax
lea ecx, [esp + 0x860]
push 0x400
push ecx
call fcn.0048b7e0
mov edx, dword [esp + 0x5c]
mov ebx, dword [0x4c3414]
add esp, 0x10
push ebp
lea edi, [esi + 8]
push edi
mov word [esp + edx*2 + 0x860], bp
call ebx
mov ecx, dword [esi]
push esi
push ebp
push 3
push ebp
push ebp
push ebp
lea eax, [esp + 0x70]
push eax
push ecx
call dword [0x4c3664]
cmp eax, ebp
jne 0x45a701
call dword [0x4c3340]
cmp eax, 0x3e5
jne 0x45a812
call fcn.0045a530
test eax, eax
jne 0x45a812
jmp 0x45a705
push eax
push edi
call ebx
mov eax, dword [edi]
push esi
push 0x4000000
push ebp
push ebp
push str.HTTP_1.0
lea edx, [esp + 0x86c]
push edx
push 0x4d1648
push eax
call dword [0x4c3668]
mov edi, eax
cmp edi, ebp
jne 0x45a74e
call dword [0x4c3340]
cmp eax, 0x3e5
jne 0x45a812
call fcn.0045a530
test eax, eax
jne 0x45a812
jmp 0x45a755
push edi
lea ecx, [esi + 4]
push ecx
call ebx
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x45a771
cmp word [eax], bp
je 0x45a771
push 0xa0000000
push 0xffffffffffffffff
push eax
push edi
call dword [0x4c366c]
mov edx, dword [esi + 0xc]
push edx
call dword [0x4c3368]
mov eax, dword [esi + 4]
push ebp
push ebp
push ebp
push ebp
push eax
call dword [0x4c3670]
test eax, eax
jne 0x45a7a3
call dword [0x4c3340]
cmp eax, 0x3e5
jne 0x45a812
call fcn.0045a530
test eax, eax
jne 0x45a812
mov eax, dword [esi + 4]
push ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x20000013
push eax
mov dword [esp + 0x28], 4
mov dword [esp + 0x24], ebp
call dword [0x4c367c]
test eax, eax
je 0x45a812
mov ecx, dword [esp + 0x10]
push ecx
push str.HttpQueryInfo__return_StatusCode_d
push 0xca
push str..HttpHttpWinet.cpp
call fcn.004180a0
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 0xc8
je 0x45a834
cmp eax, 0xce
je 0x45a834
push str.DownloadFile_error4
push 0xca
push str..HttpHttpWinet.cpp
call fcn.004180a0
add esp, 0xc
call fcn.0045acb0
xor eax, eax
mov ecx, dword [esp + 0x105c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048a8fe
add esp, 0x1050
ret 4
mov eax, 1
jmp 0x45a819