Function at 0x447ca0
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x150], 0
push edi
mov edi, dword [esp + 0x24]
jne 0x447d91
cmp dword [esi + 0x7b8], 0
jne 0x447d91
push 0xf
push str.Content_Length:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x447d91
lea eax, [esp + 0x10]
push eax
push 0xa
push 0
add edi, 0xf
push edi
call fcn.00453690
add esp, 0x10
test eax, eax
jne 0x447d24
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x80], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], ecx
mov dword [esi + 0x8c], ecx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp eax, 1
jne 0x447d76
mov ecx, dword [esi + 0x538]
or ecx, dword [esi + 0x53c]
je 0x447d52
push str.Maximum_file_size_exceeded
push esi
call fcn.0042cb90
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x20]
push 2
push edx
call fcn.0042f300
push str.Overflow_Content_Length:_value
push esi
call fcn.0042cb10
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.0042cb90
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 8
ret
push 0xd
push str.Content_Type:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x447dfa
push edi
call fcn.004447e0
mov edi, eax
add esp, 4
test edi, edi
jne 0x447dc1
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 8
ret
cmp byte [edi], 0
jne 0x447dda
push edi
call dword [0x7d0024]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xf14]
push eax
call dword [0x7d0024]
add esp, 4
mov dword [esi + 0xf14], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov ebp, dword [esp + 0x20]
mov ebx, 0xa
cmp byte [ebp + 0x477], bl
jne 0x447e4e
cmp dword [ebp + 0x264], 0
je 0x447e4e
push ebx
push str.keep_alive
push 0x11
push str.Proxy_Connection:
push edi
call fcn.004455b0
add esp, 0x14
test eax, eax
je 0x447e4e
push 0
push ebp
call fcn.0042f300
push str.HTTP_1.0_proxy_connection_set_to_keep_alive
push esi
call fcn.0042cb10
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp byte [ebp + 0x477], 0xb
jne 0x447e9b
cmp dword [ebp + 0x264], 0
je 0x447e9b
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push edi
call fcn.004455b0
add esp, 0x14
test eax, eax
je 0x447e9b
push 1
push ebp
call fcn.0042f300
push str.HTTP_1.1_proxy_connection_set_close
push esi
call fcn.0042cb10
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp byte [ebp + 0x477], bl
jne 0x447edd
push ebx
push str.keep_alive
push 0xb
push str.Connection:
push edi
call fcn.004455b0
add esp, 0x14
test eax, eax
je 0x447edd
push 0
push ebp
call fcn.0042f300
push str.HTTP_1.0_connection_set_to_keep_alive
push esi
call fcn.0042cb10
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 5
push str.close
push 0xb
push str.Connection:
push edi
call fcn.004455b0
add esp, 0x14
test eax, eax
je 0x447f0d
push 2
push ebp
call fcn.0042f300
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x150], 0
jne 0x447fb5
push 0x12
push str.Transfer_Encoding:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x447f70
push 1
add edi, 0x12
push edi
push esi
call fcn.00427330
add esp, 0xc
test eax, eax
jne 0x448499
cmp dword [esi + 0x154], eax
jne 0x448497
push 1
push ebp
call fcn.0042f300
add esp, 8
pop edi
mov dword [esi + 0x158], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x150], 0
jne 0x447fb5
push 0x11
push str.Content_Encoding:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x447fb5
cmp dword [esi + 0x58c], 0
je 0x447fb5
push 0
add edi, 0x11
push edi
push esi
call fcn.00427330
add esp, 0xc
test eax, eax
je 0x448497
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0xc
push str.Retry_After:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x448052
lea ecx, [esp + 0x10]
push ecx
xor eax, eax
push ebx
push eax
add edi, 0xc
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00453690
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, eax
add esp, 0x10
or edx, ebp
jne 0x44803c
push edi
call fcn.00453200
mov edi, eax
add esp, 4
mov ebp, edx
cmp edi, 0xffffffff
jne 0x44800e
cmp ebp, eax
je 0x448034
push 0
call fcn.004d58c6
add esp, 4
sub edi, eax
sbb ebp, edx
mov eax, edi
pop edi
mov dword [esi + 0xf20], eax
mov dword [esi + 0xf24], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
pop edi
mov dword [esi + 0xf20], eax
mov dword [esi + 0xf24], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x150], 0
jne 0x448101
push 0xe
push str.Content_Range:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x448101
mov al, byte [edi + 0xe]
lea ecx, [edi + 0xe]
test al, al
je 0x448095
cmp al, 0x30
jl 0x448089
cmp al, 0x39
jle 0x448095
cmp al, 0x2a
je 0x448095
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x448081
mov al, byte [ecx]
cmp al, 0x30
jl 0x4480eb
cmp al, 0x39
jg 0x4480eb
lea edi, [esi + 0xe8]
push edi
push ebx
push 0
push ecx
call fcn.00453690
add esp, 0x10
test eax, eax
jne 0x448497
mov eax, dword [esi + 0xd88]
cmp eax, dword [edi]
jne 0x448497
mov ecx, dword [esi + 0xd8c]
cmp ecx, dword [edi + 4]
jne 0x448497
pop edi
mov dword [esi + 0x144], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
xor eax, eax
pop edi
mov dword [esi + 0xd88], eax
mov dword [esi + 0xd8c], eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp dword [esi + 0x810], 0
je 0x448206
cmp dword [esi + 0xe9c], 0
je 0x448206
push 0xb
push str.Set_Cookie:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x448206
mov eax, dword [esi + 0xe48]
mov ebx, eax
test eax, eax
jne 0x448142
mov ebx, dword [ebp + 0x5c]
mov edx, dword [ebp + 0x308]
test byte [edx + 0x44], 2
jne 0x4481c4
push ebx
push str.localhost
call fcn.0041e730
add esp, 8
test eax, eax
jne 0x4481c4
mov ecx, str.127.0.0.1
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x448187
test dl, dl
je 0x448183
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x448187
add eax, 2
add ecx, 2
test dl, dl
jne 0x448167
xor eax, eax
jmp 0x44818c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4481c4
mov ecx, str._::1_
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4481b7
test dl, dl
je 0x4481b3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4481b7
add eax, 2
add ecx, 2
test dl, dl
jne 0x448197
xor eax, eax
jmp 0x4481bc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4481c4
xor ebp, ebp
jmp 0x4481c9
mov ebp, 1
push 2
push 2
push esi
call fcn.00426bc0
mov eax, dword [esi + 0xdcc]
mov ecx, dword [esi + 0x810]
push ebp
push eax
push ebx
add edi, 0xb
push edi
push 0
push 1
push ecx
push esi
call fcn.00425390
push 2
push esi
call fcn.00426c00
add esp, 0x34
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x150], 0
jne 0x448278
push 0xe
push str.Last_Modified:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x448278
cmp byte [esi + 0x400], 0
jne 0x448235
cmp dword [esi + 0x748], 0
je 0x448278
add edi, 0xe
push edi
call fcn.00453200
add esp, 4
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
cmp dword [esi + 0x748], 0
je 0x448497
mov edx, eax
mov dword [esi + 0xef0], edx
mov eax, dword [esi + 0x11c]
pop edi
mov dword [esi + 0xef4], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0x11
push str.WWW_Authenticate:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x448299
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
je 0x4482ba
push 0x13
push str.Proxy_authenticate:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x4482ff
mov eax, dword [esi + 0xf0]
cmp eax, 0x197
jne 0x4482ff
xor ecx, ecx
cmp eax, 0x197
sete cl
push edi
mov ebp, ecx
call fcn.004447e0
mov edi, eax
add esp, 4
test edi, edi
je 0x447db4
push edi
push ebp
push esi
call fcn.00444f50
push edi
mov esi, eax
call dword [0x7d0024]
add esp, 0x10
test esi, esi
je 0x448497
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xf0]
cmp eax, 0x12c
jl 0x4483a6
cmp eax, 0x190
jge 0x4483a6
push 9
push str.Location:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x4483a6
cmp dword [esi + 0x124], 0
jne 0x4483a6
push edi
call fcn.004447e0
add esp, 4
test eax, eax
je 0x447db4
cmp byte [eax], 0
jne 0x448362
push eax
call dword [0x7d0024]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x780], 0
mov dword [esi + 0x124], eax
je 0x448497
push eax
call dword [0x7d002c]
add esp, 4
mov dword [esi + 0x128], eax
test eax, eax
je 0x447db4
push ebp
call fcn.00444ac0
add esp, 4
test eax, eax
je 0x448497
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp dword [esi + 0x814], 0
je 0x448409
push 0x1a
push str.Strict_Transport_Security:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x448409
mov edx, dword [ebp + 0x308]
test byte [edx + 0x4c], 1
je 0x448409
mov eax, dword [esi + 0xdb8]
mov ecx, dword [esi + 0x814]
add edi, 0x1a
push edi
push eax
push ecx
call fcn.00420190
add esp, 0xc
test eax, eax
je 0x448497
push str.Illegal_STS_header_skipped
push esi
call fcn.0042cb10
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x818], 0
je 0x44847a
push 8
push str.Alt_Svc:
push edi
call fcn.0041e970
add esp, 0xc
test eax, eax
je 0x44847a
mov edx, dword [ebp + 0x308]
test byte [edx + 0x4c], 1
je 0x44847a
mov eax, dword [ebp + 0x464]
xor ebx, ebx
cmp byte [ebp + 0x477], 0x14
push eax
sete bl
lea ebx, [ebx*8 + 8]
call fcn.00427a40
mov edx, dword [ebp + 0x5c]
movzx ecx, ax
mov eax, dword [esi + 0x818]
push ecx
push edx
push ebx
add edi, 8
push edi
push eax
push esi
call fcn.0041f1d0
add esp, 0x1c
test eax, eax
je 0x448497
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [ebp + 0x308]
test dword [ecx + 0x44], 0x40000
je 0x448497
push edi
push esi
call fcn.00434010
add esp, 8
test eax, eax
jne 0x448499
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret