Function at 0x10025a80
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 0x141], 0
jne 0x10025b4c
cmp byte [esi + 0x6b8], 0
jne 0x10025b4c
push 0xf
mov edx, str.Content_Length:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x10025b4c
lea eax, [ebp - 0x14]
xor edx, edx
push eax
push 0xa
lea ecx, [edi + 0xf]
call fcn.10027a10
add esp, 8
test eax, eax
jne 0x10025b01
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], eax
xor eax, eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x88], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10025b32
mov eax, dword [esi + 0x4d8]
or eax, dword [esi + 0x4dc]
je 0x10025c6c
push str.Maximum_file_size_exceeded
push esi
call fcn.1000a7d0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.1000a7d0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xd
mov edx, str.Content_Type:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x10025ba8
mov ecx, edi
call fcn.10022570
mov edi, eax
test edi, edi
je 0x1002617c
cmp byte [edi], 0
jne 0x10025b8a
push edi
call dword [0x100939a8]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0xcec]
call dword [0x100939a8]
add esp, 4
mov dword [esi + 0xcec], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x114], 0xa
jne 0x10025bd6
cmp byte [ebx + 0x258], 0
je 0x10025bd6
push 0xa
push str.keep_alive
push 0x11
mov edx, str.Proxy_Connection:
mov ecx, edi
call fcn.100235f0
add esp, 0xc
test al, al
jne 0x10025c3e
cmp byte [ebx + 0x114], 0xb
jne 0x10025c19
cmp byte [ebx + 0x258], 0
je 0x10025c19
push 5
push str.close
push 0x11
mov edx, str.Proxy_Connection:
mov ecx, edi
call fcn.100235f0
add esp, 0xc
test al, al
je 0x10025c19
mov edx, 1
mov ecx, ebx
call fcn.1000c8e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x114], 0xa
jne 0x10025c50
push 0xa
push str.keep_alive
push 0xb
mov edx, str.Connection:
mov ecx, edi
call fcn.100235f0
add esp, 0xc
test al, al
je 0x10025c50
xor edx, edx
mov ecx, ebx
call fcn.1000c8e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push str.close
push 0xb
mov edx, str.Connection:
mov ecx, edi
call fcn.100235f0
add esp, 0xc
test al, al
je 0x10025c81
mov edx, 2
mov ecx, ebx
call fcn.1000c8e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x141]
mov byte [ebp - 5], al
test al, al
jne 0x10025d20
push 0x12
mov edx, str.Transfer_Encoding:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x10025ce4
push 1
lea edx, [edi + 0x12]
mov ecx, esi
call fcn.10015920
add esp, 4
test eax, eax
jne 0x10025b83
cmp byte [esi + 0x142], al
jne 0x10025b81
lea edx, [eax + 1]
mov ecx, ebx
call fcn.1000c8e0
mov byte [esi + 0x143], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x11
mov edx, str.Content_Encoding:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x10025d20
cmp dword [esi + 0x524], 0
je 0x10025d20
push 0
lea edx, [edi + 0x11]
mov ecx, esi
call fcn.10015920
add esp, 4
test eax, eax
je 0x10025b81
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xc
mov edx, str.Retry_After:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x10025da8
lea eax, [edi + 0xc]
xorps xmm0, xmm0
mov ecx, eax
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0xc], eax
call fcn.100282d0
mov ebx, eax
mov edi, edx
cmp ebx, 0xffffffff
jne 0x10025d85
cmp edi, eax
jne 0x10025d85
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
push 0xa
xor edx, edx
call fcn.10027a10
mov edi, dword [ebp - 0x10]
add esp, 8
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov dword [esi + 0xcf8], ebx
mov dword [esi + 0xcfc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.1005ade7
add esp, 4
sub ebx, eax
mov dword [esi + 0xcf8], ebx
sbb edi, edx
xor eax, eax
mov dword [esi + 0xcfc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 5], 0
jne 0x10025e70
push 0xe
mov edx, str.Content_Range:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x10025e70
mov dl, byte [edi + 0xe]
add edi, 0xe
test dl, dl
je 0x10025dfd
mov bl, dl
nop word [eax + eax]
movzx ecx, bl
mov dl, bl
call fcn.10028cd0
test eax, eax
jne 0x10025dfd
cmp bl, 0x2a
je 0x10025dfd
mov dl, byte [edi + 1]
inc edi
mov bl, dl
test dl, dl
jne 0x10025de0
movzx ecx, dl
call fcn.10028cd0
test eax, eax
je 0x10025e53
lea ebx, [esi + 0xe8]
xor edx, edx
push ebx
push 0xa
mov ecx, edi
call fcn.10027a10
add esp, 8
test eax, eax
jne 0x10025b81
mov eax, dword [esi + 0xbd8]
cmp eax, dword [ebx]
jne 0x10025b81
mov eax, dword [esi + 0xbdc]
cmp eax, dword [ebx + 4]
jne 0x10025b81
mov byte [esi + 0x13e], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xbd8], 0
xor eax, eax
mov dword [esi + 0xbdc], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x6d0], 0
je 0x10025f8d
cmp byte [esi + 0xcb2], 0
je 0x10025f8d
push 0xb
mov edx, str.Set_Cookie:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x10025f8d
mov ecx, dword [esi + 0xc88]
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x10025eb6
mov ecx, dword [ebx + 0x60]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 0x2a0]
test byte [eax + 0x44], 2
jne 0x10025f3f
mov edx, ecx
mov ecx, str.localhost
call fcn.10015a90
mov ebx, dword [ebp - 0xc]
test eax, eax
jne 0x10025f42
mov ecx, str.127.0.0.1
mov eax, ebx
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10025f00
test dl, dl
je 0x10025efc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10025f00
add eax, 2
add ecx, 2
test dl, dl
jne 0x10025ee0
xor eax, eax
jmp 0x10025f05
sbb eax, eax
or eax, 1
test eax, eax
je 0x10025f42
mov ecx, str._::1_
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10025f30
test dl, dl
je 0x10025f2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10025f30
add eax, 2
add ecx, 2
test dl, dl
jne 0x10025f10
xor eax, eax
jmp 0x10025f35
sbb eax, eax
or eax, 1
test eax, eax
je 0x10025f42
mov byte [ebp - 0xc], 0
jmp 0x10025f46
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 0xc], 1
push ecx
mov edx, 2
mov ecx, esi
call fcn.10015560
mov edx, dword [esi + 0x6d0]
lea eax, [edi + 0xb]
add esp, 4
mov ecx, esi
push dword [ebp - 0xc]
push dword [esi + 0xc0c]
push ebx
push eax
push 0
push 1
call fcn.1000cf10
add esp, 0x18
mov edx, 2
mov ecx, esi
call fcn.100155a0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 5], 0
jne 0x10025ff2
push 0xe
mov edx, str.Last_Modified:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x10025ff2
cmp dword [esi + 0x3d0], 0
jne 0x10025fba
cmp byte [esi + 0x6a2], 0
je 0x10025ff2
lea ecx, [edi + 0xe]
call fcn.100282d0
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
cmp byte [esi + 0x6a2], 0
je 0x10025b81
mov ecx, edx
mov dword [esi + 0xcc8], eax
mov dword [esi + 0xccc], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x11
mov edx, str.WWW_Authenticate:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x10026017
mov eax, dword [esi + 0xf0]
mov dword [ebp - 0xc], eax
cmp eax, 0x191
je 0x1002603c
push 0x13
mov edx, str.Proxy_authenticate:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x1002607f
mov eax, dword [esi + 0xf0]
mov dword [ebp - 0xc], eax
cmp eax, 0x197
jne 0x1002607f
mov ecx, edi
call fcn.10022570
mov edi, eax
test edi, edi
je 0x1002617c
cmp dword [ebp - 0xc], 0x197
mov ecx, esi
push edi
sete dl
call fcn.10022f60
add esp, 4
mov esi, eax
push edi
call dword [0x100939a8]
add esp, 4
test esi, esi
je 0x10025b81
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
mov edx, str.Persistent_Auth:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x100260e8
cmp dword [esi + 0x93c], 4
jne 0x10025b81
mov ecx, edi
call fcn.10022570
mov esi, eax
test esi, esi
je 0x1002617c
push 5
mov edx, str.false
mov ecx, esi
call fcn.10015c30
add esp, 4
mov byte [ebx + 0x3e1], 1
test eax, eax
setne al
push esi
mov byte [ebx + 0x3e0], al
call dword [0x100939a8]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xf0]
sub eax, 0x12c
cmp eax, 0x63
ja 0x10026188
push 9
mov edx, str.Location:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x10026188
cmp dword [esi + 0x124], 0
jne 0x10026188
mov ecx, edi
call fcn.10022570
test eax, eax
je 0x1002617c
cmp byte [eax], 0
jne 0x1002613d
push eax
call dword [0x100939a8]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x6aa], 0
mov dword [esi + 0x124], eax
je 0x10025b81
push eax
call dword [0x100939ac]
add esp, 4
mov dword [esi + 0x128], eax
test eax, eax
je 0x1002617c
mov edx, ebx
mov ecx, esi
call fcn.10022850
test eax, eax
je 0x10025b81
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x6d4], 0
je 0x100261d3
push 0x1a
mov edx, str.Strict_Transport_Security:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x100261d3
mov eax, dword [ebx + 0x2a0]
test byte [eax + 0x4c], 1
je 0x100261d3
mov edx, dword [esi + 0xbf8]
lea eax, [edi + 0x1a]
mov ecx, dword [esi + 0x6d4]
push eax
call fcn.10012dd0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x6d8]
test esi, esi
je 0x10026241
push 8
mov edx, str.Alt_Svc:
mov ecx, edi
call fcn.10015c30
add esp, 4
test eax, eax
je 0x10026241
mov eax, dword [ebx + 0x2a0]
test byte [eax + 0x4c], 1
je 0x10026241
mov ecx, dword [ebx + 0xc4]
xor edx, edx
cmp byte [ebx + 0x114], 0x14
sete dl
lea edx, [edx*8 + 8]
call fcn.1000afb0
movzx eax, ax
push eax
push dword [ebx + 0x60]
lea eax, [edi + 8]
push edx
push eax
mov edx, esi
call fcn.10014750
add esp, 0x10
test eax, eax
je 0x10025b81
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x2a0]
test dword [eax + 0x44], 0x40000
je 0x10025b81
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret