Function at 0x446e40
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x24]
cmp dword [esi + 0x14c], ebx
jne 0x446f57
cmp dword [esi + 0x7e4], ebx
jne 0x446f57
push 0xf
push edi
push str.Content_Length:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x446f57
lea eax, [esp + 0x10]
push eax
push 0xa
push ebx
add edi, 0xf
push edi
call fcn.00451360
add esp, 0x10
cmp eax, ebx
jne 0x446f05
mov ecx, dword [esi + 0x558]
mov eax, dword [esi + 0x55c]
mov edi, dword [esp + 0x10]
mov edx, ecx
or edx, eax
mov edx, dword [esp + 0x14]
je 0x446ed8
cmp edx, eax
jl 0x446ed8
jg 0x446ebd
cmp edi, ecx
jbe 0x446ed8
push str.Maximum_file_size_exceeded
push esi
call fcn.0042c1c0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 8
ret
push edx
push edi
push esi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edx
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edx
call fcn.0044d3e0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp eax, 1
jne 0x446f3c
mov eax, dword [esi + 0x558]
or eax, dword [esi + 0x55c]
jne 0x446ebd
mov ecx, dword [esp + 0x20]
push 2
push ecx
call fcn.0042e720
push str.Overflow_Content_Length:_value_
push esi
call fcn.0042c140
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.0042c1c0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 8
ret
push 0xd
push edi
push str.Content_Type:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x446fbf
push edi
call fcn.00443ad0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x446f87
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 8
ret
cmp byte [edi], bl
jne 0x446f9f
push edi
call dword [0x7c6024]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov edx, dword [esi + 0xefc]
push edx
call dword [0x7c6024]
add esp, 4
mov dword [esi + 0xefc], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov ebp, dword [esp + 0x20]
cmp byte [ebp + 0x114], 0xa
jne 0x44700a
cmp dword [ebp + 0x27c], ebx
je 0x44700a
push str.keep_alive
push str.Proxy_Connection:
push edi
call fcn.00444890
add esp, 0xc
test eax, eax
je 0x44700a
push ebx
push ebp
call fcn.0042e720
push str.HTTP_1.0_proxy_connection_set_to_keep_alive_
push esi
call fcn.0042c140
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp byte [ebp + 0x114], 0xb
jne 0x447052
cmp dword [ebp + 0x27c], ebx
je 0x447052
push str.close
push str.Proxy_Connection:
push edi
call fcn.00444890
add esp, 0xc
test eax, eax
je 0x447052
push 1
push ebp
call fcn.0042e720
push str.HTTP_1.1_proxy_connection_set_close_
push esi
call fcn.0042c140
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp byte [ebp + 0x114], 0xa
jne 0x447091
push str.keep_alive
push str.Connection:
push edi
call fcn.00444890
add esp, 0xc
test eax, eax
je 0x447091
push ebx
push ebp
call fcn.0042e720
push str.HTTP_1.0_connection_set_to_keep_alive_
push esi
call fcn.0042c140
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push str.close
push str.Connection:
push edi
call fcn.00444890
add esp, 0xc
test eax, eax
je 0x4470bd
push 2
push ebp
call fcn.0042e720
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x14c], ebx
jne 0x447122
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x4470f8
push 1
add edi, 0x12
push edi
push esi
call fcn.00426ca0
add esp, 0xc
cmp eax, ebx
je 0x447574
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp dword [esi + 0x14c], ebx
jne 0x447122
push 0x11
push edi
push str.Content_Encoding:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x447122
cmp dword [esi + 0x5b0], ebx
je 0x447122
push ebx
add edi, 0x11
jmp 0x4470de
push 0xc
push edi
push str.Retry_After:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x4471ab
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
lea ebx, [edi + 0xc]
push ebx
call fcn.00450d90
mov edi, eax
add esp, 4
mov ebp, edx
cmp edi, 0xffffffff
jne 0x447187
cmp ebp, eax
jne 0x447187
lea eax, [esp + 0x10]
push eax
push 0xa
push 0
push ebx
call fcn.00451360
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
add esp, 0x10
mov dword [esi + 0xf08], edi
pop edi
mov dword [esi + 0xf0c], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0
call fcn.004d1fe6
add esp, 4
sub edi, eax
sbb ebp, edx
mov dword [esi + 0xf08], edi
pop edi
mov dword [esi + 0xf0c], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x14c], ebx
jne 0x447270
push 0xe
push edi
push str.Content_Range:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x447270
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x4471fd
lea esp, [esp]
movzx ecx, al
push ecx
call fcn.0044b410
add esp, 4
test eax, eax
jne 0x4471fd
cmp byte [edi], 0x2a
je 0x4471fd
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4471e0
movzx edx, byte [edi]
push edx
call fcn.0044b410
add esp, 4
test eax, eax
je 0x44725a
lea ebp, [esi + 0xe8]
push ebp
push 0xa
push ebx
push edi
call fcn.00451360
add esp, 0x10
test eax, eax
jne 0x447574
mov eax, dword [esi + 0xd90]
cmp eax, dword [ebp]
jne 0x447574
mov ecx, dword [esi + 0xd94]
cmp ecx, dword [ebp + 4]
jne 0x447574
pop edi
mov dword [esi + 0x140], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
pop edi
mov dword [esi + 0xd90], ebx
mov dword [esi + 0xd94], ebx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x850], ebx
je 0x4472ee
cmp dword [esi + 0xe88], ebx
je 0x4472ee
push 0xb
push edi
push 0x725770
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x4472ee
push 2
push 2
push esi
call fcn.00426530
mov eax, dword [esi + 0xe30]
add esp, 0xc
cmp eax, ebx
jne 0x4472ae
mov eax, dword [ebp + 0x64]
mov edx, dword [ebp + 0x330]
mov ecx, dword [edx + 0x44]
mov edx, dword [esi + 0xde0]
shr ecx, 1
and ecx, 1
push ecx
push edx
push eax
mov eax, dword [esi + 0x850]
add edi, 0xb
push edi
push ebx
push 1
push eax
push esi
call fcn.00424c60
push 2
push esi
call fcn.00426570
add esp, 0x28
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x14c], ebx
jne 0x44735c
push 0xe
push edi
push str.Last_Modified:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x44735c
cmp dword [esi + 0x3fc], ebx
jne 0x44731a
cmp dword [esi + 0x778], ebx
je 0x44735c
add edi, 0xe
push edi
call fcn.00450d90
add esp, 4
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
cmp dword [esi + 0x778], ebx
je 0x447574
mov ecx, eax
mov dword [esi + 0xed8], ecx
mov edx, dword [esi + 0x11c]
pop edi
mov dword [esi + 0xedc], edx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0x11
push edi
push str.WWW_Authenticate:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x44737d
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
je 0x44739e
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x4473e3
mov eax, dword [esi + 0xf0]
cmp eax, 0x197
jne 0x4473e3
xor ecx, ecx
cmp eax, 0x197
sete cl
push edi
mov ebp, ecx
call fcn.00443ad0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x446f7a
push edi
push ebp
push esi
call fcn.00444230
push edi
mov esi, eax
call dword [0x7c6024]
add esp, 0x10
cmp esi, ebx
je 0x447574
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xf0]
cmp eax, 0x12c
jl 0x447485
cmp eax, 0x190
jge 0x447485
push 9
push edi
push str.Location:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x447485
cmp dword [esi + 0x124], ebx
jne 0x447485
push edi
call fcn.00443ad0
add esp, 4
cmp eax, ebx
je 0x446f7a
cmp byte [eax], bl
jne 0x447444
push eax
call dword [0x7c6024]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov dword [esi + 0x124], eax
cmp dword [esi + 0x7ac], ebx
je 0x447574
push eax
call dword [0x7c602c]
add esp, 4
mov dword [esi + 0x128], eax
cmp eax, ebx
je 0x446f7a
mov ebx, ebp
call fcn.00443da0
test eax, eax
je 0x447574
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp dword [esi + 0x854], ebx
je 0x4474e7
push 0x1a
push edi
push str.Strict_Transport_Security:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x4474e7
mov edx, dword [ebp + 0x330]
test byte [edx + 0x4c], 1
je 0x4474e7
mov eax, dword [esi + 0xdcc]
mov ecx, dword [esi + 0x854]
add edi, 0x1a
push edi
push eax
push ecx
call fcn.0041fb50
add esp, 0xc
test eax, eax
je 0x447574
push str.Illegal_STS_header_skipped
push esi
call fcn.0042c140
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esi + 0x858], ebx
je 0x447557
push 8
push edi
push str.Alt_Svc:
call fcn.00426250
add esp, 0xc
test eax, eax
je 0x447557
mov edx, dword [ebp + 0x330]
test byte [edx + 0x4c], 1
je 0x447557
mov eax, dword [ebp + 0xc8]
xor ebx, ebx
cmp byte [ebp + 0x114], 0x14
push eax
sete bl
lea ebx, [ebx*8 + 8]
call fcn.00427380
mov edx, dword [ebp + 0x64]
movzx ecx, ax
mov eax, dword [esi + 0x858]
push ecx
push edx
push ebx
add edi, 8
push edi
push eax
push esi
call fcn.0041ed40
add esp, 0x1c
test eax, eax
je 0x447574
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [ebp + 0x330]
test dword [ecx + 0x44], 0x40000
je 0x447574
push edi
push esi
call fcn.00433400
add esp, 8
cmp eax, ebx
jne 0x447576
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret