Function at 0x1006aef0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [ebp + 8]
add eax, 0x88
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0xc0]
test edx, edx
jne 0x1006b070
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x708]
test ecx, ecx
jne 0x1006b070
push 0xf
mov edx, dword [ebp + 0x10]
push edx
push 0x100d3640
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b070
lea eax, [ebp - 0x7c]
push eax
push 0xa
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0xf
push ecx
call fcn.10091040
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1006aff4
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 0x4f0]
or edx, dword [ecx + 0x4f4]
je 0x1006afbd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x78]
cmp edx, dword [ecx + 0x4f4]
jl 0x1006afbd
jg 0x1006afa2
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [eax + 0x4f0]
jbe 0x1006afbd
push 0x100d3650
mov edx, dword [ebp + 8]
push edx
call fcn.10058cd0
add esp, 8
mov eax, 0x3f
jmp 0x1006b983
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x78]
mov dword [eax + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edx]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10064d50
add esp, 0xc
jmp 0x1006b06b
cmp dword [ebp - 0x30], 1
jne 0x1006b050
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx + 0x4f0]
or eax, dword [edx + 0x4f4]
je 0x1006b02f
push 0x100d366c
mov ecx, dword [ebp + 8]
push ecx
call fcn.10058cd0
add esp, 8
mov eax, 0x3f
jmp 0x1006b983
push 2
mov edx, dword [ebp + 0xc]
push edx
call fcn.10054a90
add esp, 8
push str.Overflow_Content_Length:_value__n
mov eax, dword [ebp + 8]
push eax
call fcn.100588f0
add esp, 8
jmp 0x1006b06b
push str.Invalid_Content_Length:_value
mov ecx, dword [ebp + 8]
push ecx
call fcn.10058cd0
add esp, 8
mov eax, 8
jmp 0x1006b983
jmp 0x1006b981
push 0xd
mov edx, dword [ebp + 0x10]
push edx
push str.Content_Type:
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b0f4
mov eax, dword [ebp + 0x10]
push eax
call fcn.100707d0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1006b0a6
mov eax, 0x1b
jmp 0x1006b983
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
jne 0x1006b0bf
mov eax, dword [ebp - 0x14]
push eax
call dword [0x100d05f8]
add esp, 4
jmp 0x1006b0ef
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd34]
push edx
call dword [0x100d05f8]
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0xd34], 0
xor ecx, ecx
jne 0x1006b0bf
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0xd34], eax
jmp 0x1006b981
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x11c], 0xa
jne 0x1006b14f
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x250]
test eax, eax
je 0x1006b14f
push 0x100d36dc
push 0x100d36e8
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1006ef10
add esp, 0xc
movzx edx, al
test edx, edx
je 0x1006b14f
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.10054a90
add esp, 8
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
mov ecx, dword [ebp + 8]
push ecx
call fcn.100588f0
add esp, 8
jmp 0x1006b981
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x11c], 0xb
jne 0x1006b1aa
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x250]
test ecx, ecx
je 0x1006b1aa
push 0x100d372c
push 0x100d3734
mov edx, dword [ebp + 0x10]
push edx
call fcn.1006ef10
add esp, 0xc
movzx eax, al
test eax, eax
je 0x1006b1aa
push 1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10054a90
add esp, 8
push str.HTTP_1.1_proxy_connection_set_close__n
mov edx, dword [ebp + 8]
push edx
call fcn.100588f0
add esp, 8
jmp 0x1006b981
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x11c], 0xa
jne 0x1006b1f7
push str.keep_alive
push 0x100d377c
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1006ef10
add esp, 0xc
movzx edx, al
test edx, edx
je 0x1006b1f7
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.10054a90
add esp, 8
push str.HTTP_1.0_connection_set_to_keep_alive__n
mov ecx, dword [ebp + 8]
push ecx
call fcn.100588f0
add esp, 8
jmp 0x1006b981
push 0x100d37b0
push 0x100d37b8
mov edx, dword [ebp + 0x10]
push edx
call fcn.1006ef10
add esp, 0xc
movzx eax, al
test eax, eax
je 0x1006b227
push 2
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10054a90
add esp, 8
jmp 0x1006b981
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0xc0]
test eax, eax
jne 0x1006b277
push 0x12
mov ecx, dword [ebp + 0x10]
push ecx
push 0x100d37c4
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b277
push 1
mov edx, dword [ebp + 0x10]
add edx, 0x12
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10049820
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1006b272
mov eax, dword [ebp - 0xc]
jmp 0x1006b983
jmp 0x1006b981
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0xc0]
test edx, edx
jne 0x1006b2dc
push 0x11
mov eax, dword [ebp + 0x10]
push eax
push str.Content_Encoding:
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b2dc
mov ecx, 4
imul edx, ecx, 9
mov eax, dword [ebp + 8]
cmp dword [eax + edx + 0x524], 0
je 0x1006b2dc
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x11
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10049820
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1006b2d7
mov eax, dword [ebp - 0xc]
jmp 0x1006b983
jmp 0x1006b981
push 0xc
mov eax, dword [ebp + 0x10]
push eax
push str.Retry_After:
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b378
xorpd xmm0, xmm0
movlpd qword [ebp - 0x74], xmm0
mov ecx, 1
imul edx, ecx, 0xc
add edx, dword [ebp + 0x10]
push edx
call fcn.100906b0
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x6c], 0xffffffff
jne 0x1006b344
cmp dword [ebp - 0x68], 0xffffffff
jne 0x1006b344
lea eax, [ebp - 0x74]
push eax
push 0xa
push 0
mov ecx, 1
imul edx, ecx, 0xc
add edx, dword [ebp + 0x10]
push edx
call fcn.10091040
add esp, 0x10
jmp 0x1006b35e
push 0
call fcn.1001f3eb
add esp, 4
mov ecx, dword [ebp - 0x6c]
sub ecx, eax
mov eax, dword [ebp - 0x68]
sbb eax, edx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x74]
mov dword [ecx + 0xd40], edx
mov eax, dword [ebp - 0x70]
mov dword [ecx + 0xd44], eax
jmp 0x1006b981
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0xc0]
test edx, edx
jne 0x1006b465
push 0xe
mov eax, dword [ebp + 0x10]
push eax
push str.Content_Range:
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b465
mov ecx, dword [ebp + 0x10]
add ecx, 0xe
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx]
test eax, eax
je 0x1006b3e1
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
push edx
call fcn.1008f9a0
add esp, 4
test eax, eax
jne 0x1006b3e1
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
cmp ecx, 0x2a
je 0x1006b3e1
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x1006b3ae
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
push ecx
call fcn.1008f9a0
add esp, 4
test eax, eax
je 0x1006b449
mov edx, dword [ebp - 8]
add edx, 0x68
push edx
push 0xa
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.10091040
add esp, 0x10
test eax, eax
jne 0x1006b447
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [eax + 0xc28]
cmp edx, dword [ecx + 0x68]
jne 0x1006b447
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [eax + 0xc2c]
cmp edx, dword [ecx + 0x6c]
jne 0x1006b447
mov eax, dword [ebp - 8]
mov byte [eax + 0xbd], 1
jmp 0x1006b460
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc28], 0
mov dword [ecx + 0xc2c], 0
jmp 0x1006b981
mov edx, dword [ebp + 8]
cmp dword [edx + 0x734], 0
je 0x1006b553
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xcd3]
test ecx, ecx
je 0x1006b553
push 0xb
mov edx, dword [ebp + 0x10]
push edx
push str.Set_Cookie:
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b553
push 2
push 2
mov eax, dword [ebp + 8]
push eax
call fcn.100495d0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x298]
mov eax, dword [edx + 0x40]
and eax, 2
je 0x1006b4cc
mov dword [ebp - 0x40], 1
jmp 0x1006b4d3
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
jne 0x1006b4e2
mov dword [ebp - 0x44], 0
jmp 0x1006b4e9
mov dword [ebp - 0x44], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xcb8], 0
je 0x1006b503
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xcb8]
mov dword [ebp - 0x48], eax
jmp 0x1006b50c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x6c]
mov dword [ebp - 0x48], edx
movzx eax, byte [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc78]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0xb
push ecx
push 0
push 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x734]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10045450
add esp, 0x20
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.10049630
add esp, 8
jmp 0x1006b981
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0xc0]
test ecx, ecx
jne 0x1006b5ea
push 0xe
mov edx, dword [ebp + 0x10]
push edx
push str.Last_Modified:
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b5ea
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3e4], 0
jne 0x1006b596
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x6ed]
test edx, edx
je 0x1006b5ea
mov eax, 1
imul ecx, eax, 0xe
add ecx, dword [ebp + 0x10]
push ecx
call fcn.100906b0
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x98], eax
mov dword [ecx + 0x9c], edx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x6ed]
test eax, eax
je 0x1006b5e5
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x98]
mov dword [ecx + 0xd10], eax
mov edx, dword [edx + 0x9c]
mov dword [ecx + 0xd14], edx
jmp 0x1006b981
push 0x11
mov eax, dword [ebp + 0x10]
push eax
push 0x100d3828
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b60d
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x70], 0x191
je 0x1006b638
push 0x13
mov edx, dword [ebp + 0x10]
push edx
push 0x100d383c
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b6c7
mov eax, dword [ebp - 8]
cmp dword [eax + 0x70], 0x197
jne 0x1006b6c7
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x70], 0x197
jne 0x1006b64d
mov dword [ebp - 0x4c], 1
jmp 0x1006b654
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
jne 0x1006b663
mov dword [ebp - 0x50], 0
jmp 0x1006b66a
mov dword [ebp - 0x50], 1
mov dl, byte [ebp - 0x50]
mov byte [ebp - 1], dl
mov eax, dword [ebp + 0x10]
push eax
call fcn.100707d0
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1006b68f
mov eax, 0x1b
jmp 0x1006b983
mov ecx, dword [ebp - 0x20]
push ecx
movzx edx, byte [ebp - 1]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1006f5f0
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x100d05f8]
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x1006b6c2
mov eax, dword [ebp - 0xc]
jmp 0x1006b983
jmp 0x1006b981
push 0xf
mov edx, dword [ebp + 0x10]
push edx
push str.Persistent_Auth
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b7a1
mov eax, dword [ebp + 0xc]
add eax, 0x398
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
add ecx, 0x988
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
cmp dword [edx + 4], 4
jne 0x1006b79c
mov eax, dword [ebp + 0x10]
push eax
call fcn.100707d0
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1006b725
mov eax, 0x1b
jmp 0x1006b983
push 5
mov ecx, dword [ebp - 0x18]
push ecx
push str.false
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b745
mov dword [ebp - 0x54], 1
jmp 0x1006b74c
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0
jne 0x1006b75b
mov dword [ebp - 0x58], 0
jmp 0x1006b762
mov dword [ebp - 0x58], 1
mov edx, dword [ebp - 0x24]
mov al, byte [ebp - 0x58]
mov byte [edx + 0x40], al
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x41], 1
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 0x40]
push ecx
push str.Negotiate:_noauthpersist_____d__header_part:__s
mov edx, dword [ebp + 8]
push edx
call fcn.100588f0
add esp, 0x10
mov eax, dword [ebp - 0x18]
push eax
call dword [0x100d05f8]
add esp, 4
jmp 0x1006b981
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x70], 0x12c
jl 0x1006b89a
mov edx, dword [ebp - 8]
cmp dword [edx + 0x70], 0x190
jge 0x1006b89a
push 9
mov eax, dword [ebp + 0x10]
push eax
push str.Location:
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b89a
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x12c], 0
jne 0x1006b89a
mov edx, dword [ebp + 0x10]
push edx
call fcn.100707d0
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1006b80b
mov eax, 0x1b
jmp 0x1006b983
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x1006b824
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x100d05f8]
add esp, 4
jmp 0x1006b895
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x12c], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x6fa]
test eax, eax
je 0x1006b895
xor ecx, ecx
jne 0x1006b83e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x12c]
push eax
call dword [0x100d05f4]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x130], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x130], 0
jne 0x1006b874
mov eax, 0x1b
jmp 0x1006b983
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100701f0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1006b895
mov eax, dword [ebp - 0xc]
jmp 0x1006b983
jmp 0x1006b981
mov edx, dword [ebp + 8]
cmp dword [edx + 0x738], 0
je 0x1006b94f
push 8
mov eax, dword [ebp + 0x10]
push eax
push str.Alt_Svc:
call fcn.10042d20
add esp, 0xc
test eax, eax
je 0x1006b94f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x298]
mov eax, dword [edx + 0x48]
and eax, 1
jne 0x1006b8da
xor ecx, ecx
je 0x1006b94f
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x11c], 0x14
jne 0x1006b8ef
mov dword [ebp - 0x5c], 0x10
jmp 0x1006b8f6
mov dword [ebp - 0x5c], 8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xd0]
push edx
call fcn.100496f0
add esp, 4
movzx eax, ax
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x6c]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, 1
shl ecx, 3
add ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x738]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10042de0
add esp, 0x18
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1006b94d
mov eax, dword [ebp - 0xc]
jmp 0x1006b983
jmp 0x1006b981
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x298]
mov ecx, dword [eax + 0x40]
and ecx, 0x40000
je 0x1006b981
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100720f0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1006b981
mov eax, dword [ebp - 0xc]
jmp 0x1006b983
xor eax, eax
mov esp, ebp
pop ebp
ret