Function at 0xa47ac0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x154], 0
mov edi, dword [ebp + 0x10]
jne 0xa47ba8
cmp dword [esi + 0x7a4], 0
jne 0xa47ba8
push 0xf
push str.Content_Length:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa47ba8
lea eax, [ebp - 8]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.00a4f8a0
add esp, 0x10
test eax, eax
jne 0xa47b40
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x88], ecx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0xa47b8e
mov eax, dword [esi + 0x530]
or eax, dword [esi + 0x534]
je 0xa47b6d
push str.Maximum_file_size_exceeded
push esi
call fcn.00a3da50
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push dword [ebp + 0xc]
call fcn.00a3e720
push str.Overflow_Content_Length:_value
push esi
call fcn.00a3db10
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.00a3da50
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xd
push str.Content_Type:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa47c0d
push edi
call fcn.00a469c0
mov edi, eax
add esp, 4
test edi, edi
jne 0xa47bd7
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0
jne 0xa47bef
push edi
call dword [0xac87ac]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0xf04]
call dword [0xac87ac]
add esp, 4
mov dword [esi + 0xf04], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
cmp byte [ebx + 0x4f5], 0xa
jne 0xa47c5c
cmp dword [ebx + 0x1d8], 0
je 0xa47c5c
push 0xa
push str.keep_alive
push 0x11
push str.Proxy_Connection:
push edi
call fcn.00a46910
add esp, 0x14
test eax, eax
je 0xa47c5c
push 0
push ebx
call fcn.00a3e720
push str.HTTP_1.0_proxy_connection_set_to_keep_alive
push esi
call fcn.00a3db10
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x4f5], 0xb
jne 0xa47ca8
cmp dword [ebx + 0x1d8], 0
je 0xa47ca8
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push edi
call fcn.00a46910
add esp, 0x14
test eax, eax
je 0xa47ca8
push 1
push ebx
call fcn.00a3e720
push str.HTTP_1.1_proxy_connection_set_close
push esi
call fcn.00a3db10
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x4f5], 0xa
jne 0xa47ceb
push 0xa
push str.keep_alive
push 0xb
push str.Connection:
push edi
call fcn.00a46910
add esp, 0x14
test eax, eax
je 0xa47ceb
push 0
push ebx
call fcn.00a3e720
push str.HTTP_1.0_connection_set_to_keep_alive
push esi
call fcn.00a3db10
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push str.close
push 0xb
push str.Connection:
push edi
call fcn.00a46910
add esp, 0x14
test eax, eax
je 0xa47d1a
push 2
push ebx
call fcn.00a3e720
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x154], 0
jne 0xa47dcc
push 0x12
push str.Transfer_Encoding:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa47d88
push 1
lea eax, [edi + 0x12]
push eax
push esi
call fcn.00a41900
add esp, 0xc
test eax, eax
jne 0xa48348
cmp dword [esi + 0x158], eax
jne 0xa48346
cmp dword [esi + 0x774], eax
je 0xa48346
push 1
push ebx
call fcn.00a3e720
add esp, 8
mov dword [esi + 0x15c], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x154], 0
jne 0xa47dcc
push 0x11
push str.Content_Encoding:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa47dcc
cmp dword [esi + 0x578], 0
je 0xa47dcc
push 0
lea eax, [edi + 0x11]
push eax
push esi
call fcn.00a41900
add esp, 0xc
test eax, eax
je 0xa48346
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xc
push str.Retry_After:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa47e65
lea ecx, [ebp - 8]
push ecx
push 0xa
lea eax, [edi + 0xc]
xorps xmm0, xmm0
push 0
push eax
movlpd qword [ebp - 8], xmm0
mov dword [ebp + 8], eax
call fcn.00a4f8a0
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov eax, ebx
add esp, 0x10
or eax, edi
jne 0xa47e50
push dword [ebp + 8]
call fcn.00a4fa30
mov ebx, eax
add esp, 4
mov edi, edx
cmp ebx, 0xffffffff
jne 0xa47e42
cmp edi, eax
jne 0xa47e42
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov dword [esi + 0xf14], edi
pop edi
mov dword [esi + 0xf10], ebx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00a02bf3
add esp, 4
sub ebx, eax
sbb edi, edx
mov dword [esi + 0xf14], edi
pop edi
mov dword [esi + 0xf10], ebx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x154], 0
jne 0xa47f1b
push 0xe
push str.Content_Range:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa47f1b
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0xa47ea8
cmp al, 0x30
jl 0xa47e9c
cmp al, 0x39
jle 0xa47ea8
cmp al, 0x2a
je 0xa47ea8
mov al, byte [edi + 1]
inc edi
test al, al
jne 0xa47e94
mov al, byte [edi]
cmp al, 0x30
jl 0xa47efe
cmp al, 0x39
jg 0xa47efe
lea ebx, [esi + 0xd8]
push ebx
push 0xa
push 0
push edi
call fcn.00a4f8a0
add esp, 0x10
test eax, eax
jne 0xa48346
mov eax, dword [esi + 0xd60]
cmp eax, dword [ebx]
jne 0xa48346
mov eax, dword [esi + 0xd64]
cmp eax, dword [ebx + 4]
jne 0xa48346
pop edi
mov dword [esi + 0x148], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xd60], 0
mov dword [esi + 0xd64], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x7f8], 0
je 0xa48030
cmp dword [esi + 0xea4], 0
je 0xa48030
push 0xb
push str.Set_Cookie:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa48030
mov ecx, dword [esi + 0xe50]
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0xa47f60
mov ecx, dword [ebx + 0x4c]
mov dword [ebp + 8], ecx
mov eax, dword [ebx + 0x254]
test byte [eax + 0x44], 2
jne 0xa47fea
push ecx
push str.localhost
call fcn.00a41620
mov ebx, dword [ebp + 8]
add esp, 8
test eax, eax
jne 0xa47fed
mov ecx, str.127.0.0.1
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa47fa8
test dl, dl
je 0xa47fa4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa47fa8
add eax, 2
add ecx, 2
test dl, dl
jne 0xa47f88
xor eax, eax
jmp 0xa47fad
sbb eax, eax
or eax, 1
test eax, eax
je 0xa47fed
mov ecx, 0xaad188
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0xa47fd8
test dl, dl
je 0xa47fd4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0xa47fd8
add eax, 2
add ecx, 2
test dl, dl
jne 0xa47fb8
xor eax, eax
jmp 0xa47fdd
sbb eax, eax
or eax, 1
test eax, eax
je 0xa47fed
mov dword [ebp + 8], 0
jmp 0xa47ff4
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], 1
push 2
push 2
push esi
call fcn.00a41bd0
push dword [ebp + 8]
lea eax, [edi + 0xb]
push dword [esi + 0xdc4]
push ebx
push eax
push 0
push 1
push dword [esi + 0x7f8]
push esi
call fcn.00a31b30
push 2
push esi
call fcn.00a41c10
add esp, 0x34
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x154], 0
jne 0xa4809b
push 0xe
push str.Last_Modified:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa4809b
cmp byte [esi + 0x3e8], 0
jne 0xa4805f
cmp dword [esi + 0x738], 0
je 0xa4809b
lea eax, [edi + 0xe]
push eax
call fcn.00a4fa30
add esp, 4
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], edx
cmp dword [esi + 0x738], 0
je 0xa48346
mov dword [esi + 0xee0], eax
mov eax, edx
pop edi
mov dword [esi + 0xee4], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x11
push str.WWW_Authenticate:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa480bc
mov eax, dword [esi + 0xe0]
cmp eax, 0x191
je 0xa480dd
push 0x13
push str.Proxy_authenticate:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa4811f
mov eax, dword [esi + 0xe0]
cmp eax, 0x197
jne 0xa4811f
xor ebx, ebx
cmp eax, 0x197
push edi
sete bl
call fcn.00a469c0
mov edi, eax
add esp, 4
test edi, edi
je 0xa47bcb
push edi
push ebx
push esi
call fcn.00a48580
push edi
mov esi, eax
call dword [0xac87ac]
add esp, 0x10
test esi, esi
je 0xa48346
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push str.Persistent_Auth:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa48196
cmp dword [esi + 0xa70], 4
jne 0xa48346
push edi
call fcn.00a469c0
mov edi, eax
add esp, 4
test edi, edi
je 0xa47bcb
push 5
push str.false
push edi
call fcn.00a41650
neg eax
sbb eax, eax
neg eax
push edi
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
mov dword [ebx + 0x398], eax
mov dword [ebx + 0x39c], 1
call fcn.00a3db10
push edi
call dword [0xac87ac]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xe0]
cmp eax, 0x12c
jl 0xa4824a
cmp eax, 0x190
jge 0xa4824a
push 9
push str.Location:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa4824a
cmp dword [esi + 0x114], 0
jne 0xa4824a
push edi
call fcn.00a469c0
add esp, 4
test eax, eax
je 0xa47bcb
cmp byte [eax], 0
jne 0xa481fc
push eax
call dword [0xac87ac]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x770], 0
mov dword [esi + 0x114], eax
je 0xa48346
push eax
call dword [0xac87b4]
add esp, 4
mov dword [esi + 0x118], eax
test eax, eax
je 0xa47bcb
push ebx
push esi
call fcn.00a4a030
add esp, 8
test eax, eax
jne 0xa48348
pop edi
mov dword [esi + 0xe74], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x7fc], 0
je 0xa482a7
push 0x1a
push str.Strict_Transport_Security:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa482a7
mov eax, dword [ebx + 0x254]
test byte [eax + 0x4c], 1
je 0xa482a7
lea eax, [edi + 0x1a]
push eax
push dword [ebx + 0x4c]
push dword [esi + 0x7fc]
call fcn.00a40b20
add esp, 0xc
test eax, eax
je 0xa48346
push str.Illegal_STS_header_skipped
push esi
call fcn.00a3db10
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x800], 0
je 0xa48329
push 8
push str.Alt_Svc:
push edi
call fcn.00a41650
add esp, 0xc
test eax, eax
je 0xa48329
mov eax, dword [ebx + 0x254]
test byte [eax + 0x4c], 1
je 0xa48329
mov cl, byte [ebx + 0x4f5]
cmp cl, 0x1e
jne 0xa482e4
mov dword [ebp + 8], 0x20
jmp 0xa482f6
xor eax, eax
cmp cl, 0x14
sete al
lea eax, [eax*8 + 8]
mov dword [ebp + 8], eax
push dword [ebx + 0x4e4]
call fcn.00a3f6a0
movzx eax, ax
push eax
push dword [ebx + 0x4c]
lea eax, [edi + 8]
push dword [ebp + 8]
push eax
push dword [esi + 0x800]
push esi
call fcn.00a3fd10
add esp, 0x1c
test eax, eax
je 0xa48346
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x254]
test dword [eax + 0x44], 0x40000
je 0xa48346
push edi
push esi
call fcn.00a54e20
add esp, 8
test eax, eax
jne 0xa48348
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret