Function at 0x45c5d0
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x20]
cmp byte [esi + 0x13c], 0
jne 0x45c6bb
cmp byte [esi + 0x713], 0
jne 0x45c6bb
push 0xf
push edi
push str.Content_Length:
call fcn.00461040
add esp, 0xc
test eax, eax
je 0x45c6bb
lea eax, [esp + 0xc]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.00467b10
add esp, 0x10
test eax, eax
jne 0x45c652
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], eax
xor eax, eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x88], ecx
pop esi
pop ebx
add esp, 8
ret
cmp eax, 1
jne 0x45c6a1
mov eax, dword [esi + 0x500]
or eax, dword [esi + 0x504]
je 0x45c67f
push str.Maximum_file_size_exceeded
push esi
call fcn.00451700
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
add esp, 8
ret
push 2
push dword [esp + 0x20]
call fcn.004520c0
push str.Overflow_Content_Length:_value_
push esi
call fcn.004517d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.00451700
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0xd
push edi
push str.Content_Type:
call fcn.00461040
add esp, 0xc
test eax, eax
je 0x45c720
push edi
call fcn.0045b830
mov edi, eax
add esp, 4
test edi, edi
jne 0x45c6ea
pop edi
pop esi
mov eax, 0x1b
pop ebx
add esp, 8
ret
cmp byte [edi], 0
jne 0x45c702
push edi
call dword [0x4cb004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push dword [esi + 0xd34]
call dword [0x4cb004]
add esp, 4
mov dword [esi + 0xd34], edi
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x1c]
cmp byte [ebx + 0x114], 0xa
jne 0x45c76c
cmp byte [ebx + 0x258], 0
je 0x45c76c
push str.keep_alive
push str.Proxy_Connection:
push edi
call fcn.0045b760
add esp, 0xc
test al, al
je 0x45c76c
push 0
push ebx
call fcn.004520c0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive_
push esi
call fcn.004517d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xb
jne 0x45c7b4
cmp byte [ebx + 0x258], 0
je 0x45c7b4
push str.close
push str.Proxy_Connection:
push edi
call fcn.0045b760
add esp, 0xc
test al, al
je 0x45c7b4
push 1
push ebx
call fcn.004520c0
push str.HTTP_1.1_proxy_connection_set_close_
push esi
call fcn.004517d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xa
jne 0x45c7f3
push str.keep_alive
push str.Connection:
push edi
call fcn.0045b760
add esp, 0xc
test al, al
je 0x45c7f3
push 0
push ebx
call fcn.004520c0
push str.HTTP_1.0_connection_set_to_keep_alive_
push esi
call fcn.004517d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push str.close
push str.Connection:
push edi
call fcn.0045b760
add esp, 0xc
test al, al
je 0x45c81e
push 2
push ebx
call fcn.004520c0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x45c8b9
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.00461040
add esp, 0xc
test eax, eax
je 0x45c875
push 1
lea eax, [edi + 0x12]
push eax
push esi
call fcn.00454af0
add esp, 0xc
test eax, eax
jne 0x45c817
cmp byte [esi + 0x13d], al
jne 0x45c815
push 1
push ebx
call fcn.004520c0
add esp, 8
mov byte [esi + 0x13e], 1
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x45c8b9
push 0x11
push edi
push str.Content_Encoding:
call fcn.00461040
add esp, 0xc
test eax, eax
je 0x45c8b9
cmp dword [esi + 0x548], 0
je 0x45c8b9
push 0
lea eax, [edi + 0x11]
push eax
push esi
call fcn.00454af0
add esp, 0xc
test eax, eax
je 0x45c815
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0xc
push edi
push str.Retry_After:
call fcn.00461040
add esp, 0xc
test eax, eax
je 0x45c944
push ebp
xorps xmm0, xmm0
lea ebp, [edi + 0xc]
push ebp
movlpd qword [esp + 0x14], xmm0
call fcn.00418970
mov ebx, eax
add esp, 4
mov edi, edx
cmp ebx, 0xffffffff
jne 0x45c920
cmp edi, eax
jne 0x45c920
lea eax, [esp + 0x10]
push eax
push 0xa
push 0
push ebp
call fcn.00467b10
mov edi, dword [esp + 0x24]
add esp, 0x10
mov ebx, dword [esp + 0x10]
xor eax, eax
mov dword [esi + 0xd44], edi
mov dword [esi + 0xd40], ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0
call fcn.004796f7
add esp, 4
sub ebx, eax
mov dword [esi + 0xd40], ebx
sbb edi, edx
xor eax, eax
mov dword [esi + 0xd44], edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x45ca71
push 0xe
push edi
push str.Content_Range:
call fcn.00461040
add esp, 0xc
test eax, eax
je 0x45ca06
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x45c990
movzx eax, al
push eax
call fcn.00467a00
add esp, 4
test eax, eax
jne 0x45c990
cmp byte [edi], 0x2a
je 0x45c990
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x45c973
movzx eax, byte [edi]
push eax
call fcn.00467a00
add esp, 4
test eax, eax
je 0x45c9e9
lea ebx, [esi + 0xe8]
push ebx
push 0xa
push 0
push edi
call fcn.00467b10
add esp, 0x10
test eax, eax
jne 0x45c815
mov eax, dword [esi + 0xc28]
cmp eax, dword [ebx]
jne 0x45c815
mov eax, dword [esi + 0xc2c]
cmp eax, dword [ebx + 4]
jne 0x45c815
pop edi
mov byte [esi + 0x139], 1
xor eax, eax
pop esi
pop ebx
add esp, 8
ret
pop edi
mov dword [esi + 0xc28], 0
xor eax, eax
mov dword [esi + 0xc2c], 0
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x45ca71
push 0xe
push edi
push str.Last_Modified:
call fcn.00461040
add esp, 0xc
test eax, eax
je 0x45ca71
cmp dword [esi + 0x3ec], 0
jne 0x45ca35
cmp byte [esi + 0x6fd], 0
je 0x45ca71
lea eax, [edi + 0xe]
push eax
call fcn.00418970
add esp, 4
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
cmp byte [esi + 0x6fd], 0
je 0x45c815
mov dword [esi + 0xd10], eax
mov eax, edx
pop edi
mov dword [esi + 0xd14], eax
xor eax, eax
pop esi
pop ebx
add esp, 8
ret
push 0x11
push edi
push str.WWW_Authenticate:
call fcn.00461040
add esp, 0xc
test eax, eax
je 0x45ca92
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
je 0x45cab3
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.00461040
add esp, 0xc
test eax, eax
je 0x45caf8
mov eax, dword [esi + 0xf0]
cmp eax, 0x197
jne 0x45caf8
cmp eax, 0x197
push edi
sete byte [esp + 0x1c]
call fcn.0045b830
mov edi, eax
add esp, 4
test edi, edi
je 0x45c6de
push edi
push dword [esp + 0x1c]
push esi
call fcn.0045cdc0
push edi
mov esi, eax
call dword [0x4cb004]
add esp, 0x10
test esi, esi
je 0x45c815
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xf0]
cmp eax, 0x12c
jl 0x45cb9e
cmp eax, 0x190
jge 0x45cb9e
push 9
push edi
push str.Location:
call fcn.00461040
add esp, 0xc
test eax, eax
je 0x45cb9e
cmp dword [esi + 0x124], 0
jne 0x45cb9e
push edi
call fcn.0045b830
add esp, 4
test eax, eax
je 0x45c6de
cmp byte [eax], 0
jne 0x45cb5a
push eax
call dword [0x4cb004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x705], 0
mov dword [esi + 0x124], eax
je 0x45c815
push eax
call dword [0x4cb00c]
add esp, 4
mov dword [esi + 0x128], eax
test eax, eax
je 0x45c6de
push ebx
push esi
call fcn.0045e160
add esp, 8
test eax, eax
je 0x45c815
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp dword [esi + 0x734], 0
je 0x45cbfe
push 0x1a
push edi
push str.Strict_Transport_Security:
call fcn.00461040
add esp, 0xc
test eax, eax
je 0x45cbfe
mov eax, dword [ebx + 0x298]
test byte [eax + 0x4c], 1
je 0x45cbfe
lea eax, [edi + 0x1a]
push eax
push dword [esi + 0xc64]
push dword [esi + 0x734]
call fcn.00453f90
add esp, 0xc
test eax, eax
je 0x45c815
push str.Illegal_STS_header_skipped
push esi
call fcn.004517d0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [ebx + 0x298]
test dword [eax + 0x44], 0x40000
je 0x45c815
pop edi
pop esi
mov eax, 4
pop ebx
add esp, 8
ret