Function at 0x4277f0
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 0x4278db
cmp byte [esi + 0x713], 0
jne 0x4278db
push 0xf
push edi
push str.Content_Length:
call fcn.0042d680
add esp, 0xc
test eax, eax
je 0x4278db
lea eax, [esp + 0xc]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.00435100
add esp, 0x10
test eax, eax
jne 0x427872
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 0x4278c1
mov eax, dword [esi + 0x500]
or eax, dword [esi + 0x504]
je 0x42789f
push str.Maximum_file_size_exceeded
push esi
call fcn.0041de10
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
add esp, 8
ret
push 2
push dword [esp + 0x20]
call fcn.0041e7e0
push str.Overflow_Content_Length:_value_
push esi
call fcn.0041dee0
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.0041de10
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.0042d680
add esp, 0xc
test eax, eax
je 0x427940
push edi
call fcn.00426a50
mov edi, eax
add esp, 4
test edi, edi
jne 0x42790a
pop edi
pop esi
mov eax, 0x1b
pop ebx
add esp, 8
ret
cmp byte [edi], 0
jne 0x427922
push edi
call dword [0x479004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push dword [esi + 0xd34]
call dword [0x479004]
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 0x42798c
cmp byte [ebx + 0x258], 0
je 0x42798c
push str.keep_alive
push str.Proxy_Connection:
push edi
call fcn.00426980
add esp, 0xc
test al, al
je 0x42798c
push 0
push ebx
call fcn.0041e7e0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive_
push esi
call fcn.0041dee0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xb
jne 0x4279d4
cmp byte [ebx + 0x258], 0
je 0x4279d4
push str.close
push str.Proxy_Connection:
push edi
call fcn.00426980
add esp, 0xc
test al, al
je 0x4279d4
push 1
push ebx
call fcn.0041e7e0
push str.HTTP_1.1_proxy_connection_set_close_
push esi
call fcn.0041dee0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xa
jne 0x427a13
push str.keep_alive
push str.Connection:
push edi
call fcn.00426980
add esp, 0xc
test al, al
je 0x427a13
push 0
push ebx
call fcn.0041e7e0
push str.HTTP_1.0_connection_set_to_keep_alive_
push esi
call fcn.0041dee0
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.00426980
add esp, 0xc
test al, al
je 0x427a3e
push 2
push ebx
call fcn.0041e7e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x427ad9
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.0042d680
add esp, 0xc
test eax, eax
je 0x427a95
push 1
lea eax, [edi + 0x12]
push eax
push esi
call fcn.00421130
add esp, 0xc
test eax, eax
jne 0x427a37
cmp byte [esi + 0x13d], al
jne 0x427a35
push 1
push ebx
call fcn.0041e7e0
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 0x427ad9
push 0x11
push edi
push str.Content_Encoding:
call fcn.0042d680
add esp, 0xc
test eax, eax
je 0x427ad9
cmp dword [esi + 0x548], 0
je 0x427ad9
push 0
lea eax, [edi + 0x11]
push eax
push esi
call fcn.00421130
add esp, 0xc
test eax, eax
je 0x427a35
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0xc
push edi
push str.Retry_After:
call fcn.0042d680
add esp, 0xc
test eax, eax
je 0x427b64
push ebp
xorps xmm0, xmm0
lea ebp, [edi + 0xc]
push ebp
movlpd qword [esp + 0x14], xmm0
call fcn.004037b0
mov ebx, eax
add esp, 4
mov edi, edx
cmp ebx, 0xffffffff
jne 0x427b40
cmp edi, eax
jne 0x427b40
lea eax, [esp + 0x10]
push eax
push 0xa
push 0
push ebp
call fcn.00435100
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.00446db3
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 0x427c91
push 0xe
push edi
push str.Content_Range:
call fcn.0042d680
add esp, 0xc
test eax, eax
je 0x427c26
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x427bb0
movzx eax, al
push eax
call fcn.00434ff0
add esp, 4
test eax, eax
jne 0x427bb0
cmp byte [edi], 0x2a
je 0x427bb0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x427b93
movzx eax, byte [edi]
push eax
call fcn.00434ff0
add esp, 4
test eax, eax
je 0x427c09
lea ebx, [esi + 0xe8]
push ebx
push 0xa
push 0
push edi
call fcn.00435100
add esp, 0x10
test eax, eax
jne 0x427a35
mov eax, dword [esi + 0xc28]
cmp eax, dword [ebx]
jne 0x427a35
mov eax, dword [esi + 0xc2c]
cmp eax, dword [ebx + 4]
jne 0x427a35
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 0x427c91
push 0xe
push edi
push str.Last_Modified:
call fcn.0042d680
add esp, 0xc
test eax, eax
je 0x427c91
cmp dword [esi + 0x3ec], 0
jne 0x427c55
cmp byte [esi + 0x6fd], 0
je 0x427c91
lea eax, [edi + 0xe]
push eax
call fcn.004037b0
add esp, 4
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
cmp byte [esi + 0x6fd], 0
je 0x427a35
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.0042d680
add esp, 0xc
test eax, eax
je 0x427cb2
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
je 0x427cd3
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.0042d680
add esp, 0xc
test eax, eax
je 0x427d18
mov eax, dword [esi + 0xf0]
cmp eax, 0x197
jne 0x427d18
cmp eax, 0x197
push edi
sete byte [esp + 0x1c]
call fcn.00426a50
mov edi, eax
add esp, 4
test edi, edi
je 0x4278fe
push edi
push dword [esp + 0x1c]
push esi
call fcn.00427fe0
push edi
mov esi, eax
call dword [0x479004]
add esp, 0x10
test esi, esi
je 0x427a35
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xf0]
cmp eax, 0x12c
jl 0x427dbe
cmp eax, 0x190
jge 0x427dbe
push 9
push edi
push str.Location:
call fcn.0042d680
add esp, 0xc
test eax, eax
je 0x427dbe
cmp dword [esi + 0x124], 0
jne 0x427dbe
push edi
call fcn.00426a50
add esp, 4
test eax, eax
je 0x4278fe
cmp byte [eax], 0
jne 0x427d7a
push eax
call dword [0x479004]
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 0x427a35
push eax
call dword [0x47900c]
add esp, 4
mov dword [esi + 0x128], eax
test eax, eax
je 0x4278fe
push ebx
push esi
call fcn.00429380
add esp, 8
test eax, eax
je 0x427a35
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp dword [esi + 0x734], 0
je 0x427e1e
push 0x1a
push edi
push str.Strict_Transport_Security:
call fcn.0042d680
add esp, 0xc
test eax, eax
je 0x427e1e
mov eax, dword [ebx + 0x298]
test byte [eax + 0x4c], 1
je 0x427e1e
lea eax, [edi + 0x1a]
push eax
push dword [esi + 0xc64]
push dword [esi + 0x734]
call fcn.004205d0
add esp, 0xc
test eax, eax
je 0x427a35
push str.Illegal_STS_header_skipped
push esi
call fcn.0041dee0
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 0x427a35
pop edi
pop esi
mov eax, 4
pop ebx
add esp, 8
ret