Function at 0x5c295c
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x10
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 8], eax
cmp byte [ebx + 0x140], 0
jne 0x5c2992
cmp byte [ebx + 0x6e7], 0
je 0x5c2a30
push 0xd
push esi
push str.Content_Type:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c29e5
push esi
call fcn.005bfded
add esp, 4
test eax, eax
je 0x5c2ebc
mov edi, eax
cmp byte [eax], 0
mov ecx, dword [fcn.00474d80]
je 0x5c2ac0
mov esi, dword [ebx + 0xd0c]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov dword [ebx + 0xd0c], edi
jmp 0x5c2b68
mov al, byte [edi + 0x114]
cmp al, 0xa
jne 0x5c2ad7
cmp byte [edi + 0x240], 0
je 0x5c2b17
push str.keep_alive
push str.Proxy_Connection:
push esi
call fcn.005c0e40
add esp, 0xc
test al, al
je 0x5c2ad1
push 0
push edi
call fcn.005b5f67
add esp, 8
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
jmp 0x5c2b3e
push 0xf
push esi
push str.Content_Length:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2992
xor eax, eax
dec eax
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], eax
add esi, 0xf
push ecx
push 0xa
push 0
push esi
call fcn.006379c4
add esp, 0x10
cmp eax, 1
je 0x5c2bfd
test eax, eax
jne 0x5c2c1d
mov esi, dword [ebx + 0x4e0]
mov edx, dword [ebx + 0x4e4]
mov eax, esi
or eax, edx
mov eax, dword [esp]
mov ecx, dword [esp + 4]
je 0x5c2a97
cmp esi, eax
sbb edx, ecx
jl 0x5c2c0f
movd xmm0, eax
movd xmm1, ecx
punpckldq xmm0, xmm1
pshufd xmm0, xmm0, 0x44
movdqu xmmword [ebx + 0x80], xmm0
push ecx
push eax
push ebx
call fcn.005b9168
add esp, 0xc
jmp 0x5c2b68
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x5c2b68
mov al, byte [edi + 0x114]
cmp al, 0xb
jne 0x5c2b13
cmp byte [edi + 0x240], 0
je 0x5c2b46
push str.close
push str.Proxy_Connection:
push esi
call fcn.005c0e40
add esp, 0xc
test al, al
je 0x5c2b0d
push 1
push edi
call fcn.005b5f67
add esp, 8
push str.HTTP_1.1_proxy_connection_set_close__n
jmp 0x5c2b3e
mov al, byte [edi + 0x114]
cmp al, 0xa
jne 0x5c2b46
push str.keep_alive
push str.Connection:
push esi
call fcn.005c0e40
add esp, 0xc
test al, al
je 0x5c2b46
push 0
push edi
call fcn.005b5f67
add esp, 8
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
call fcn.005ae893
jmp 0x5c2b65
push str.close
push str.Connection:
push esi
call fcn.005c0e40
add esp, 0xc
test al, al
je 0x5c2b6f
push 2
push edi
call fcn.005b5f67
add esp, 8
xor ebx, ebx
jmp 0x5c2ec1
cmp byte [ebx + 0x140], 0
je 0x5c2bc7
push 0xc
push esi
push str.Retry_After:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2c38
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
add esi, 0xc
push esi
call fcn.006377ac
add esp, 4
mov edi, eax
and eax, edx
cmp eax, 0xffffffff
je 0x5c2ccf
mov ebx, edx
push 0
call fcn.006e1d8c
add esp, 4
sub edi, eax
sbb ebx, edx
jmp 0x5c2ce4
push 0x12
push esi
push str.Transfer_Encoding:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2d34
add esi, 0x12
push 1
push esi
push ebx
call fcn.00621f53
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x5c2ec1
jmp 0x5c2b68
mov eax, dword [ebx + 0x4e0]
or eax, dword [ebx + 0x4e4]
je 0x5c2d70
mov ecx, ebx
mov ebx, 0x3f
mov eax, str.Maximum_file_size_exceeded
jmp 0x5c2c29
mov ecx, ebx
mov ebx, 8
mov eax, str.Invalid_Content_Length:_value
push eax
push ecx
call fcn.005ae9f9
add esp, 8
jmp 0x5c2ec1
cmp byte [ebx + 0x140], 0
je 0x5c2d85
cmp dword [ebx + 0x708], 0
je 0x5c2cf8
cmp byte [ebx + 0xccb], 0
je 0x5c2cf8
push 0xb
push esi
push str.Set_Cookie:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2cf8
mov eax, 2
push eax
push eax
push ebx
call fcn.005b804c
add esp, 0xc
mov eax, dword [edi + 0x288]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebx + 0xc50]
mov edx, dword [ebx + 0xca0]
test edx, edx
jne 0x5c2ca3
mov edx, dword [edi + 0x64]
and ecx, 2
shr ecx, 1
add esi, 0xb
push ecx
push eax
push edx
push esi
push 0
push 1
push dword [ebx + 0x708]
push ebx
call fcn.005b24df
add esp, 0x20
push 2
push ebx
call fcn.005b809b
jmp 0x5c2b65
mov ebx, esp
push ebx
push 0xa
push 0
push esi
call fcn.006379c4
add esp, 0x10
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0xd18], edi
mov dword [eax + 0xd1c], ebx
jmp 0x5c2b68
cmp byte [ebx + 0x140], 0
je 0x5c2ed6
push 0x11
push esi
push str.WWW_Authenticate:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2dd3
cmp dword [ebx + 0xf0], 0x191
jne 0x5c2dd3
xor ebx, ebx
jmp 0x5c2df8
cmp byte [ebx + 0x140], 0
jne 0x5c2b78
push 0x11
push esi
push str.Content_Encoding:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2b78
cmp dword [ebx + 0x52c], 0
je 0x5c2b78
add esi, 0x11
push 0
jmp 0x5c2be4
push 2
push edi
call fcn.005b5f67
add esp, 8
push str.Overflow_Content_Length:_value__n
jmp 0x5c2b3e
push 0xe
push esi
push str.Content_Range:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2c45
mov al, byte [esi + 0xe]
add esi, 0xe
xor edi, edi
test al, al
je 0x5c2fbe
movzx eax, al
push eax
call fcn.006216c9
add esp, 4
movzx ecx, byte [esi]
test eax, eax
jne 0x5c2fb5
cmp cl, 0x2a
je 0x5c2fb9
mov al, byte [esi + 1]
inc esi
jmp 0x5c2da5
push 0x13
push esi
push str.Proxy_authenticate:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2e3c
mov bl, 1
mov eax, dword [ebp + 8]
cmp dword [eax + 0xf0], 0x197
jne 0x5c2e3c
push esi
call fcn.005bfded
add esp, 4
test eax, eax
je 0x5c2ebc
mov edi, eax
movzx eax, bl
push edi
push eax
push dword [ebp + 8]
call fcn.005c0855
add esp, 0xc
mov ebx, eax
mov ecx, dword [fcn.00474d80]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test ebx, ebx
jne 0x5c2ec1
jmp 0x5c2b68
push 0xf
push esi
push str.Persistent_Auth
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2f3a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x964], 4
jne 0x5c2b68
push esi
call fcn.005bfded
add esp, 4
test eax, eax
je 0x5c2ebc
mov ebx, eax
push 5
push eax
push 0x6facc9
call fcn.00621987
add esp, 0xc
xor ecx, ecx
test eax, eax
setne cl
setne byte [edi + 0x3c8]
mov byte [edi + 0x3c9], 1
push ebx
push ecx
push str.Negotiate:_noauthpersist_____d__header_part:__s
push dword [ebp + 8]
call fcn.005ae893
add esp, 0x10
mov ecx, dword [fcn.00474d80]
call dword [section..00cfg]
push ebx
jmp 0x5c2ac7
mov ebx, 0x1b
mov ecx, dword [esp + 8]
xor ecx, ebp
call fcn.006c9121
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xe
push esi
push str.Last_Modified:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2d05
cmp dword [ebx + 0x3d4], 0
jne 0x5c2f04
cmp byte [ebx + 0x6d1], 0
je 0x5c2d05
add esi, 0xe
push esi
call fcn.006377ac
add esp, 4
mov dword [ebx + 0x11c], edx
mov dword [ebx + 0x118], eax
cmp byte [ebx + 0x6d1], 0
je 0x5c2b68
mov dword [ebx + 0xce8], eax
mov dword [ebx + 0xcec], edx
jmp 0x5c2b68
mov eax, 0xfffffed4
mov ebx, dword [ebp + 8]
add eax, dword [ebx + 0xf0]
cmp eax, 0x63
ja 0x5c2f6e
push 9
push esi
push str.Location:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2f6e
cmp dword [ebx + 0x124], 0
je 0x5c306a
cmp dword [ebx + 0x70c], 0
je 0x5c2f9b
push 8
push esi
push str.Alt_Svc:
call fcn.00621987
add esp, 0xc
test eax, eax
je 0x5c2f9b
mov eax, dword [edi + 0x288]
test byte [eax + 0x48], 1
jne 0x5c3026
mov eax, dword [edi + 0x288]
mov ebx, 4
test byte [eax + 0x42], 4
je 0x5c2b68
jmp 0x5c2ec1
mov edi, ecx
jmp 0x5c2fbe
mov edi, 0x2a
push edi
call fcn.006216c9
add esp, 4
test eax, eax
je 0x5c3013
lea eax, [ebx + 0xe8]
push eax
push 0xa
push 0
push esi
call fcn.006379c4
add esp, 0x10
test eax, eax
jne 0x5c2b68
mov eax, dword [ebx + 0xc04]
xor eax, dword [ebx + 0xec]
mov ecx, dword [ebx + 0xc00]
xor ecx, dword [ebx + 0xe8]
or ecx, eax
jne 0x5c2b68
mov byte [ebx + 0x13d], 1
jmp 0x5c2b68
xor eax, eax
mov dword [ebx + 0xc04], eax
mov dword [ebx + 0xc00], eax
jmp 0x5c2b68
xor eax, eax
cmp byte [edi + 0x114], 0x14
sete al
lea ebx, [eax*8 + 8]
push dword [edi + 0xc8]
call fcn.005b114c
add esp, 4
add esi, 8
movzx eax, ax
push eax
push dword [edi + 0x64]
push ebx
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x70c]
push eax
call fcn.005b1a80
add esp, 0x18
jmp 0x5c2bee
push esi
call fcn.005bfded
add esp, 4
mov ebx, 0x1b
test eax, eax
je 0x5c2ec1
cmp byte [eax], 0
je 0x5c30cc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x124], eax
cmp byte [ecx + 0x6d9], 0
je 0x5c2b68
mov esi, eax
mov ecx, dword [fcn.006dfcc0]
call dword [section..00cfg]
push esi
call ecx
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ecx + 0x128], eax
test eax, eax
je 0x5c2ec1
mov edx, edi
call fcn.005c0162
jmp 0x5c2bee
mov ecx, dword [fcn.00474d80]
mov esi, eax
call dword [section..00cfg]
push esi
jmp 0x5c2ac7