Function at 0x1007cfb4
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [ebp + 8]
add eax, 0x80
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xc1]
test eax, eax
jne 0x1007d0ac
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x6b8]
test eax, eax
jne 0x1007d0ac
push 0xf
push 0x100b3fbc
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d0ac
lea eax, [ebp - 0x6c]
push eax
push 0xa
push 0
xor eax, eax
inc eax
imul eax, eax, 0xf
add eax, dword [ebp + 0x10]
push eax
call fcn.1008b238
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1007d047
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
jmp 0x1007d0a7
cmp dword [ebp - 0x20], 1
jne 0x1007d090
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0x4d8]
or eax, dword [ecx + 0x4dc]
je 0x1007d07e
push str.Maximum_file_size_exceeded
push dword [ebp + 8]
call fcn.10057a8e
pop ecx
pop ecx
push 0x3f
pop eax
jmp 0x1007d8ae
push 2
push dword [ebp + 0xc]
call fcn.1005aaf8
pop ecx
pop ecx
xor eax, eax
jne 0x1007d08a
jmp 0x1007d0a7
push str.Invalid_Content_Length:_value
push dword [ebp + 8]
call fcn.10057a8e
pop ecx
pop ecx
push 8
pop eax
jmp 0x1007d8ae
jmp 0x1007d8ac
push 0xd
push 0x100b3f70
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d121
push dword [ebp + 0x10]
call fcn.1008274a
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1007d0dc
push 0x1b
pop eax
jmp 0x1007d8ae
mov eax, dword [ebp - 0x10]
movsx eax, byte [eax]
test eax, eax
jne 0x1007d0f2
push dword [ebp - 0x10]
call dword [0x100b09b8]
pop ecx
jmp 0x1007d11c
mov eax, dword [ebp + 8]
push dword [eax + 0xce4]
call dword [0x100b09b8]
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0xce4], 0
xor eax, eax
jne 0x1007d0f2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xce4], ecx
jmp 0x1007d8ac
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x114]
cmp eax, 0xa
jne 0x1007d173
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x258]
test eax, eax
je 0x1007d173
push 0xa
push str.keep_alive
push 0x11
push str.Proxy_Connection:
push dword [ebp + 0x10]
call fcn.10082c34
add esp, 0x14
movzx eax, al
test eax, eax
je 0x1007d173
push 0
push dword [ebp + 0xc]
call fcn.1005aaf8
pop ecx
pop ecx
xor eax, eax
jne 0x1007d16a
jmp 0x1007d8ac
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x114]
cmp eax, 0xb
jne 0x1007d1c5
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x258]
test eax, eax
je 0x1007d1c5
push 5
push str.close
push 0x11
push 0x100b3f34
push dword [ebp + 0x10]
call fcn.10082c34
add esp, 0x14
movzx eax, al
test eax, eax
je 0x1007d1c5
push 1
push dword [ebp + 0xc]
call fcn.1005aaf8
pop ecx
pop ecx
xor eax, eax
jne 0x1007d1bc
jmp 0x1007d8ac
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x114]
cmp eax, 0xa
jne 0x1007d209
push 0xa
push 0x100b3f28
push 0xb
push 0x100b3f1c
push dword [ebp + 0x10]
call fcn.10082c34
add esp, 0x14
movzx eax, al
test eax, eax
je 0x1007d209
push 0
push dword [ebp + 0xc]
call fcn.1005aaf8
pop ecx
pop ecx
xor eax, eax
jne 0x1007d200
jmp 0x1007d8ac
push 5
push 0x100b3f14
push 0xb
push 0x100b3f08
push dword [ebp + 0x10]
call fcn.10082c34
add esp, 0x14
movzx eax, al
test eax, eax
je 0x1007d23a
push 2
push dword [ebp + 0xc]
call fcn.1005aaf8
pop ecx
pop ecx
jmp 0x1007d8ac
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xc1]
test eax, eax
jne 0x1007d2af
push 0x12
push 0x100b3ef4
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d2af
push 1
xor eax, eax
inc eax
imul eax, eax, 0x12
add eax, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1006629a
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007d286
mov eax, dword [ebp - 8]
jmp 0x1007d8ae
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xc2]
test eax, eax
jne 0x1007d2aa
push 1
push dword [ebp + 0xc]
call fcn.1005aaf8
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0xc3], 1
jmp 0x1007d8ac
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xc1]
test eax, eax
jne 0x1007d313
push 0x11
push str.Content_Encoding:
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d313
push 4
pop eax
imul eax, eax, 9
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x500], 0
je 0x1007d313
push 0
xor eax, eax
inc eax
imul eax, eax, 0x11
add eax, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1006629a
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007d30e
mov eax, dword [ebp - 8]
jmp 0x1007d8ae
jmp 0x1007d8ac
push 0xc
push str.Retry_After:
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d3a1
xorps xmm0, xmm0
movlpd qword [ebp - 0x64], xmm0
xor eax, eax
inc eax
imul eax, eax, 0xc
add eax, dword [ebp + 0x10]
push eax
call fcn.1008bdc7
pop ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x1007d36f
cmp dword [ebp - 0x58], 0xffffffff
jne 0x1007d36f
lea eax, [ebp - 0x64]
push eax
push 0xa
push 0
xor eax, eax
inc eax
imul eax, eax, 0xc
add eax, dword [ebp + 0x10]
push eax
call fcn.1008b238
add esp, 0x10
jmp 0x1007d387
push 0
call fcn.1002c493
pop ecx
mov ecx, dword [ebp - 0x5c]
sub ecx, eax
mov eax, dword [ebp - 0x58]
sbb eax, edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov dword [eax + 0xcf0], ecx
mov dword [eax + 0xcf4], edx
jmp 0x1007d8ac
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xc1]
test eax, eax
jne 0x1007d485
push 0xe
push str.Content_Range:
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d485
xor eax, eax
inc eax
imul eax, eax, 0xe
add eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movsx eax, byte [eax]
test eax, eax
je 0x1007d408
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
push eax
call fcn.1008535d
pop ecx
test eax, eax
jne 0x1007d408
mov eax, dword [ebp - 0xc]
movsx eax, byte [eax]
cmp eax, 0x2a
je 0x1007d408
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
jmp 0x1007d3d9
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
push eax
call fcn.1008535d
pop ecx
test eax, eax
je 0x1007d46d
mov eax, dword [ebp - 4]
add eax, 0x68
push eax
push 0xa
push 0
push dword [ebp - 0xc]
call fcn.1008b238
add esp, 0x10
test eax, eax
jne 0x1007d46b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0xbd0]
cmp eax, dword [ecx + 0x68]
jne 0x1007d46b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0xbd4]
cmp eax, dword [ecx + 0x6c]
jne 0x1007d46b
mov eax, dword [ebp - 4]
mov byte [eax + 0xbe], 1
jmp 0x1007d480
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
mov dword [eax + 0xbd0], ecx
mov dword [eax + 0xbd4], edx
jmp 0x1007d8ac
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xc1]
test eax, eax
jne 0x1007d517
push 0xe
push str.Last_Modified:
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d517
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3d0], 0
jne 0x1007d4c7
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x6a2]
test eax, eax
je 0x1007d517
xor eax, eax
inc eax
imul eax, eax, 0xe
add eax, dword [ebp + 0x10]
push eax
call fcn.1008bdc7
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x98], eax
mov dword [ecx + 0x9c], edx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x6a2]
test eax, eax
je 0x1007d512
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x98]
mov ecx, dword [ecx + 0x9c]
mov dword [eax + 0xcc0], edx
mov dword [eax + 0xcc4], ecx
jmp 0x1007d8ac
push 0x11
push str.WWW_Authenticate:
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d539
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0x191
je 0x1007d55f
push 0x13
push str.Proxy_authenticate:
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d5dc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0x197
jne 0x1007d5dc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0x197
jne 0x1007d574
mov dword [ebp - 0x30], 1
jmp 0x1007d578
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
jne 0x1007d584
and dword [ebp - 0x34], 0
jmp 0x1007d58b
mov dword [ebp - 0x34], 1
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x48], al
push dword [ebp + 0x10]
call fcn.1008274a
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1007d5ab
push 0x1b
pop eax
jmp 0x1007d8ae
push dword [ebp - 0x18]
push dword [ebp - 0x48]
push dword [ebp + 8]
call fcn.100821d0
add esp, 0xc
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call dword [0x100b09b8]
pop ecx
cmp dword [ebp - 8], 0
je 0x1007d5d7
mov eax, dword [ebp - 8]
jmp 0x1007d8ae
jmp 0x1007d8ac
push 0x10
push str.Persistent_Auth:
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d688
mov eax, dword [ebp + 0xc]
add eax, 0x3a0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
add eax, 0x930
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 4], 4
jne 0x1007d683
push dword [ebp + 0x10]
call fcn.1008274a
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1007d62f
push 0x1b
pop eax
jmp 0x1007d8ae
push 5
push str.false
push dword [ebp - 0x1c]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d64e
mov dword [ebp - 0x38], 1
jmp 0x1007d652
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0
jne 0x1007d65e
and dword [ebp - 0x3c], 0
jmp 0x1007d665
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x40]
mov cl, byte [ebp - 0x3c]
mov byte [eax + 0x40], cl
mov eax, dword [ebp - 0x40]
mov byte [eax + 0x41], 1
xor eax, eax
jne 0x1007d675
push dword [ebp - 0x1c]
call dword [0x100b09b8]
pop ecx
jmp 0x1007d8ac
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0x12c
jl 0x1007d770
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0x190
jge 0x1007d770
push 9
push str.Location:
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d770
mov eax, dword [ebp + 8]
cmp dword [eax + 0x124], 0
jne 0x1007d770
push dword [ebp + 0x10]
call fcn.1008274a
pop ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1007d6ec
push 0x1b
pop eax
jmp 0x1007d8ae
mov eax, dword [ebp - 0x14]
movsx eax, byte [eax]
test eax, eax
jne 0x1007d702
push dword [ebp - 0x14]
call dword [0x100b09b8]
pop ecx
jmp 0x1007d76b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x124], ecx
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x6aa]
test eax, eax
je 0x1007d76b
xor eax, eax
jne 0x1007d71c
mov eax, dword [ebp + 8]
push dword [eax + 0x124]
call dword [0x100b09bc]
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x128], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x128], 0
jne 0x1007d74d
push 0x1b
pop eax
jmp 0x1007d8ae
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1008061a
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007d76b
mov eax, dword [ebp - 8]
jmp 0x1007d8ae
jmp 0x1007d8ac
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6d0], 0
je 0x1007d7d9
push 0x1a
push str.Strict_Transport_Security:
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d7d9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x2a0]
mov eax, dword [eax + 0x4c]
and eax, 1
je 0x1007d7d9
xor eax, eax
inc eax
imul eax, eax, 0x1a
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0xbf0]
mov eax, dword [ebp + 8]
push dword [eax + 0x6d0]
call fcn.10061aaf
add esp, 0xc
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x1007d7d4
xor eax, eax
jne 0x1007d7d0
jmp 0x1007d8ac
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6d4], 0
je 0x1007d887
push 8
push str.Alt_Svc:
push dword [ebp + 0x10]
call fcn.10066bf2
add esp, 0xc
test eax, eax
je 0x1007d887
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x2a0]
mov eax, dword [eax + 0x4c]
and eax, 1
jne 0x1007d818
xor eax, eax
je 0x1007d887
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x114]
cmp eax, 0x14
jne 0x1007d830
mov dword [ebp - 0x44], 0x10
jmp 0x1007d837
mov dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc4]
call fcn.10057c07
pop ecx
movzx eax, ax
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x60]
push dword [ebp - 0x54]
xor eax, eax
inc eax
shl eax, 3
add eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x6d4]
push dword [ebp + 8]
call fcn.100645fd
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007d885
mov eax, dword [ebp - 8]
jmp 0x1007d8ae
jmp 0x1007d8ac
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x2a0]
mov eax, dword [eax + 0x44]
and eax, 0x40000
je 0x1007d8ac
mov dword [ebp - 8], 4
cmp dword [ebp - 8], 0
je 0x1007d8ac
mov eax, dword [ebp - 8]
jmp 0x1007d8ae
xor eax, eax
leave
ret